Test for blocked ports when a stream fails

This commit is contained in:
Cameron Gutman
2020-08-08 17:59:26 -07:00
parent 288eca7849
commit ec17623400
4 changed files with 42 additions and 6 deletions
+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()