...
2. Stream recording, snapshots, mixing, stream capturing from another server and other captured stream management functions will not work.
HLS ABR on a single node
In most cases, it's more convenient to use CDND to play HLS ABR, because this is more scalable solution at server performance point. However, Однако, since build 5.2.1582 it is possible to transcode a stream to a certain HLS ABR qualities on a single server
Code Block | ||
---|---|---|
| ||
hls_abr_enabled=true
hls_abr_with_cdn=false |
In this case, HLS preloader and default transcoding must be disabled because a stream will be transcoded by defined profiles
Code Block | ||
---|---|---|
| ||
hls_preloader_enabled=false
hls_player_width=0
hls_player_height=0 |
FPS equalizing should also be enabled
Code Block | ||
---|---|---|
| ||
transcoder_align_encoders=true
video_filter_enable_fps=true
video_filter_fps=30
video_filter_fps_gop_synchronization=60 |
HLS ABR transcoding quality profiles should be set in /usr/local/FlashphonerWebCallServer/conf/hls_abr_profiles.yml
file
Code Block | ||||
---|---|---|---|---|
| ||||
profiles:
-180p:
audio:
codec : opus
rate : 48000
video:
height : 180
bitrate : 300
codec : h264
codecImpl : OPENH264
gop : 60
fps : 30
-240p:
audio:
codec : opus
rate : 48000
video:
height : 240
bitrate : 500
codec : h264
codecImpl : OPENH264
gop : 60
fps : 30
-480p:
audio:
codec : opus
rate : 48000
video:
height : 480
bitrate : 1000
codec : h264
codecImpl : OPENH264
gop : 60
fps : 30
-720p:
audio:
codec : opus
rate : 48000
video:
height : 720
bitrate : 1500
codec : h264
codecImpl : OPENH264
gop : 60
fps : 30 |
Low Latency HLS is also supported for HLS ABR
Code Block | ||
---|---|---|
| ||
hls_ll_enabled=true
hls_new_http_stack=true |
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. |
HLS segments storage
Using disk
...
Solution: do not send HTTP requests from Chrome to the same site HLS via HTTPS is playing from
9. Second and next subscribers may play LL HLS ABR stream with a big delay in iOS Safari.
Symptoms: first iOS Safari subscriber plays a LL HLS ABR stream normally but next subscribers play it with a big delay from published stream
Solution: не использовать LL HLS ABR in iOS Safari