Internet stream drops after 5 seconds, then reconnects and works ok
Posted: 14 Nov 2016 07:24
Hello Bernd,
We would like to simulcast another station, after receiving a TCP command. We tried the following:
After the TCP command is received, execute OVERLAY_CREATE [PLAYLIST]|soft|500
Where [PLAYLIST] is a single entry file, containing the URL.
The overlay creates, but after 5 seconds, the stream drops and the playlist keeps going.
After checking KeepStreamLoading and KeepStreamAlive, the problem is 95% solved. In the overlay player, it behaves the same. However, if it's appended to the current playlist, it plays for 5 seconds, hiccups for ~1 second, and then plays perfectly fine.
In theory, the flow we're going for is this: Receive TCP command -> wait for the current track to finish (overlay's soft option with 500 secs works perfectly) -> play URL -> wait for next TCP command to *Play Next*
Is there a better option instead of OVERLAY_CREATE, or APPENDing to the playlist? (since it appends at the bottom instead of PREpending, I must use extra logic in the script). Or if it's not, and the overlay is ok, could we work around the stream dropping?
Best wishes, and a great day ahead!
Andrei
We would like to simulcast another station, after receiving a TCP command. We tried the following:
After the TCP command is received, execute OVERLAY_CREATE [PLAYLIST]|soft|500
Where [PLAYLIST] is a single entry file, containing the URL.
The overlay creates, but after 5 seconds, the stream drops and the playlist keeps going.
After checking KeepStreamLoading and KeepStreamAlive, the problem is 95% solved. In the overlay player, it behaves the same. However, if it's appended to the current playlist, it plays for 5 seconds, hiccups for ~1 second, and then plays perfectly fine.
In theory, the flow we're going for is this: Receive TCP command -> wait for the current track to finish (overlay's soft option with 500 secs works perfectly) -> play URL -> wait for next TCP command to *Play Next*
Is there a better option instead of OVERLAY_CREATE, or APPENDing to the playlist? (since it appends at the bottom instead of PREpending, I must use extra logic in the script). Or if it's not, and the overlay is ok, could we work around the stream dropping?
Best wishes, and a great day ahead!
Andrei