Regarding timeout. For example, if you want to change it, you can do this:
Code:
diff --git a/module-emulator-streamserver.cb/module-emulator-streamserver.c
index b981607..93ecbdc 100644
--- a/module-emulator-streamserver.c
+++ b/module-emulator-streamserver.c
@@ -1517.7 +1517.7 @@ static void *stream_client_handler(void *arg)
data->reset_key_data = 1;
while (!exit_oscam && clientStatus != -1 && streamConnectErrorCount < 3
- && streamDataErrorCount < 15)
+ && streamDataErrorCount < 2)
{
streamfd = connect_to_stream(http_buf, 1024, stream_path);
if (streamfd == -1)
Then there is no longer a wait of 15 * 2 seconds, but only 2 * 2 seconds. About 4 seconds. You can also use 1. Then you end up at 2 seconds. If you want even less, then you have to do it somewhere else.