Flussonic Media Server documentation

Timeshift to another time zone

Many TV channels broadcasts are intended for only one time zone, and if we speak about Russia, it is often only the Moscow time zone.

If you want to distribute the same channel to users in Germany or in the USA, you will face a problem: people have an early morning, but they are already watching evening broadcasts.

Flussonic can delay stream playback for a few hours, so that people in a different time zone watch the "Good morning" broadcast in the morning, and not late at night.

There are several technical ways to organize this in Flussonic, based on the frequency of addressing various channels in different time zones. The difference between these methods is the number of times that the archive is read for delayed playback of the channel. You can start playing the delayed stream, and the archive will be read once, regardless of the number of people willing to watch it, or you can provide personalized URLs to the users, and the archive will be read for each user individually.

If about 250 channels are written, and you wish to broadcast to 3 locations, you will get a total of 250 channels to write, and 750 to read. It makes sense to leave some channels constantly running, and start some channels only at the request of users.

Delayed stream Anchor Anchor x2

Suppose we have a configured channel:

stream ort {
  url udp://239.1.2.3:1234;
  dvr /storage 1d;
}

It is important that it has a configured archive. Now we can create a second stream:

stream ort-1h {
  url timeshift://ort/3600;
}

This thread will read from the archive and playback with a one-hour (3,600 seconds) delay.

You can create as many streams as you wish.

Personal access to the archive Anchor Anchor x2

If you have a configured stream:

stream ort {
  url udp://239.1.2.3:1234;
  dvr /storage 1d;
}

it can be assigned URL http://flussonic/ort/timeshift_rel/3600 for playback over HTTP MPEG-TS, http://flussonic/ort/timeshift_rel-3600.m3u8 for playback over HLS, and multilingual channels can be assigned http://flussonic/ort/timeshift_rel_mono-3600.m3u8 for set-top boxes.

In this case, each client will individually read the archive. This method should be used for rarely used combinations of channels and time zones.

Skipping gaps in timeshift playlist Anchor Anchor x2

If you have gaps in your archive (e.g. your source was down for couple of minutes), then reaching that gap flussonic will return empty playlist while playing HLS timeshift.

If it's acceptable to break the time shift and skip this gap, you may specify playlist url with ignore_gaps=true param:

http://your-flussonic-server-domain/your-stream/timeshift_abs-123123123.m3u8?ignore_gaps=true