Terminate the connection if video isn't received for 10 seconds
This commit is contained in:
parent
413ea9bc8e
commit
b46e06fcf1
3 changed files with 24 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ static void controlReceiveThreadFunc(void* context) {
|
|||
// SERVER_TERMINATED_INTENDED
|
||||
if (terminationReason == 0x0100) {
|
||||
// Pass error code 0 to notify the client that this was not an error
|
||||
terminationErrorCode = 0;
|
||||
terminationErrorCode = ML_ERROR_GRACEFUL_TERMINATION;
|
||||
}
|
||||
else {
|
||||
// Otherwise pass the reason unmodified
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue