mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Reverted disconnect based on pong timer.
This commit is contained in:
parent
bf3e8867c3
commit
ec12a06b88
1 changed files with 2 additions and 2 deletions
|
@ -404,7 +404,7 @@ class FCastCastingDevice : CastingDevice {
|
|||
}
|
||||
}
|
||||
|
||||
if (_lastPongTime != -1L && System.currentTimeMillis() - _lastPongTime > 6000) {
|
||||
/*if (_lastPongTime != -1L && System.currentTimeMillis() - _lastPongTime > 6000) {
|
||||
Logger.w(TAG, "Closing socket due to last pong time being larger than 6 seconds.")
|
||||
|
||||
try {
|
||||
|
@ -412,7 +412,7 @@ class FCastCastingDevice : CastingDevice {
|
|||
} catch (e: Throwable) {
|
||||
Log.w(TAG, "Failed to close socket.", e)
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
Thread.sleep(2000)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue