Merge pull request #123 from cgutman/longer_ping_timeout
Increase default ping timeout to 10 seconds
This commit is contained in:
@@ -78,7 +78,7 @@
|
|||||||
# ]
|
# ]
|
||||||
|
|
||||||
# How long to wait in milliseconds for data from moonlight before shutting down the stream
|
# How long to wait in milliseconds for data from moonlight before shutting down the stream
|
||||||
# ping_timeout = 2000
|
# ping_timeout = 10000
|
||||||
|
|
||||||
# The file where configuration for the different applications that Sunshine can run during a stream
|
# The file where configuration for the different applications that Sunshine can run during a stream
|
||||||
# file_apps = apps.json
|
# file_apps = apps.json
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
<!--Ping Timeout-->
|
<!--Ping Timeout-->
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="ping_timeout" class="form-label">Ping Timeout</label>
|
<label for="ping_timeout" class="form-label">Ping Timeout</label>
|
||||||
<input type="text" class="form-control" id="ping_timeout" placeholder="2000"
|
<input type="text" class="form-control" id="ping_timeout" placeholder="10000"
|
||||||
v-model="config.ping_timeout">
|
v-model="config.ping_timeout">
|
||||||
<div class="form-text">How long to wait in milliseconds for data from moonlight before shutting down the
|
<div class="form-text">How long to wait in milliseconds for data from moonlight before shutting down the
|
||||||
stream</div>
|
stream</div>
|
||||||
|
|||||||
+1
-1
@@ -176,7 +176,7 @@ video_t video {
|
|||||||
audio_t audio {};
|
audio_t audio {};
|
||||||
|
|
||||||
stream_t stream {
|
stream_t stream {
|
||||||
2s, // ping_timeout
|
10s, // ping_timeout
|
||||||
|
|
||||||
APPS_JSON_PATH,
|
APPS_JSON_PATH,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user