reduce http timeout to 4s and make it configurable

Origin commit data
------------------
Branch: master
Commit: 4a56ebd0b3
Author: skyjet18 <57456827+skyjet18@users.noreply.github.com>
Date: 2023-01-24 (Tue, 24 Jan 2023)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
skyjet18
2023-01-24 20:57:12 +01:00
committed by vanhofen
parent 4fb62f13e6
commit 8a1cb9883f
5 changed files with 20 additions and 11 deletions

View File

@@ -478,6 +478,7 @@ static int32_t PlaybackTerminate(Context_t *context)
}
ret = context->container->selectedContainer->Command(context, CONTAINER_STOP, NULL);
if (context && context->playback)
{
context->playback->isPaused = 0;
@@ -487,6 +488,7 @@ static int32_t PlaybackTerminate(Context_t *context)
context->playback->SlowMotion = 0;
context->playback->Speed = 0;
}
if (context && context->output)
context->output->Command(context, OUTPUT_STOP, NULL);
}
@@ -1014,5 +1016,7 @@ PlaybackHandler_t PlaybackHandler =
0, //size
0, //noprobe
0, //isLoopMode
0 //isTSLiveMode
0, //isTSLiveMode
4000, //httpTimeout
NULL //stamp
};