reduce http timeout to 4s and make it configurable

This commit is contained in:
skyjet18
2023-01-24 20:57:12 +01:00
committed by Thilo Graf
parent 66363cc76b
commit e4d1d85a6e
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
};