Project

General

Profile

Possible to set up a "delayed" live stream?

Added by Yuna Choi over 1 year ago

Is there a way to cache and delay a stream with tvheadend?

Current setup:

Tvheadend server -> Internet -> Tvheadend "Client", recording streams on client with the playlist generated from the server (tuner to tvh).

My question is, is there a way to delay the start of streams for x amount of time (e.g. the record task starts, but actual record starts 15 seconds later. Once the recording task starts, the server starts the channel, cache the first 15 seconds, then sends it to the client) meaning that the client would receive everything 15 seconds later than real time.

My goal is to make a like a live stream record, but actually delayed for 15 seconds and cached on server before sending over to the client, acting more like a file download.

The reason why I want to do this is for some reason, some records would have non-stop data errors from beginning to end, restarting the record would fix it, so I want the file to be cached on server (recording on server directly has no issues) before it being sent over to client.

It is very hard to explain so if you have in questions, please reply below.

Thanks!