Test for blocked ports when a stream fails

This commit is contained in:
Cameron Gutman committed 2020-08-08 17:59:26 -07:00
1 parent 288eca7849
commit ec17623400
4 files changed
+42 -6

No files matched your search

+5 -1
View File
@@ -62,8 +62,12 @@ Item {
window.visible = true
}
function sessionFinished()
function sessionFinished(portTestResult)
{
if (portTestResult !== 0 && streamSegueErrorDialog.text) {
streamSegueErrorDialog.text += "\n\nThis PC's Internet connection is blocking Moonlight. Streaming over the Internet may not work while connected to this network."
}
// Enable GUI gamepad usage now
SdlGamepadKeyNavigation.enable()