Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since build 5.2.1008 it is possible to set backend application key in HLS URL, for example

Code Block
themeRDark
httpыhttps://wcs:8445/streamName/streamName.m3u8?appKey=customAppKey&aclAuth=1254789

...

Warning

When using HLS ABR on a single server, any published stream will be transcoded to a number of qualities. This requires a lot of server CPU cores and RAM.

Maximum playlist size

Maximum playlist size in segments is defined by the following parameter

Code Block
themeRDark
hls_list_size=8

By default, HLS playlist size is 8 segments. Note that HLS cut is just started, a segments quantity in the first playlists will be less than value set.

HLS segments storage

Using disk

By default, HLS segments are written to server hard drive to the /usr/local/FlashphonerWebCallServer/hls folder. Starting from build 5.2.687, the folder for saving segments can be changed using the following parameter

...

The number of stored segments corresponds to the specified playlist size, 10 by default

Code Block
themeRDark
hls_list_size=10

. The less segments number, the less playback latency. However subscribers with poor channel could request HLS segments which are already gone from playlist and disk if playlist is short. To fix it, since build 5.2.581 the certain number of segments can be stored on disk after they gone from playlist. This feature can be enabled by the following parameter

...

and restart WCS to apply the changes.

Maximum LL HLS playlist size

Maximum LL HLS playlist size in segments is defined by the following parameter

Code Block
themeRDark
ll_hls_list_size=12

By default, LL HLS playlist size is 12 full segments. Note that LL HLS cut is just started, a full segments quantity in the first playlists will be less than value set.

LL HLS preloader

A special preloader can be used for LL HLS s like as for usual HLS. LL HLS preloader segments are placed by default to the folder

...