Versions Compared

Key

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

...

If static content returning is enabled, browser will display the HLS player page by URL https://host:8445/hls-player.html. If this feature is disabled, server will return 404 Not found error by such URL.

Known issues

1. Non-recoverable freeze of HLS stream played in iOS Safari through a CDN

Symptoms: one minute after publishing start image stops, sound continues to play

Solution:

b) enable transcoding on server using the following option in flashphoner.properties file

Code Block
languagebash
themeRDark
disable_streaming_proxy=true

b) if transcoding is undesirable, set the following option in flashphoner.properties file

Code Block
languagebash
themeRDark
hls_discontinuity_enabled=true

In this case, clicks are possible in audio, but video will not stop.

2. HLS segments writing stops when playing stream published in Firefox browser.

Symptoms: a few minutes after playback start HLS segments stop writing, in that case the stream directory in hls directory is not deleted, and messages in server log continue to appear

Code Block
languagebash
themeRDark
INFO HLSStreamManager - HLSStreamProviderKeepaliveThread-80 Remove hls channel

Publisher must publish stream again to recover.

Solution: use another browser to publish the stream which supposed to be played via HLS.

Debug logs for HLS session

For an error report, debug logging can be enabled for HLS sessions using CLI

Code Block
languagebash
themeRDark
update node-setting --value true hls_enable_session_debug

...

Debug logs for HLS session

For an error report, debug logging can be enabled for HLS sessions using CLI

Code Block
languagebash
themeRDark
update node-setting --value true hls_enable_session_debug

Note that config flashphoner.properties will be overwritten after the command.

Known issues

1. Non-recoverable freeze of HLS stream played in iOS Safari through a CDN

Symptoms: one minute after publishing start image stops, sound continues to play

Solution:

b) enable transcoding on server using the following option in flashphoner.properties file

Code Block
languagebash
themeRDark
disable_streaming_proxy=true

b) if transcoding is undesirable, set the following option in flashphoner.properties file

Code Block
languagebash
themeRDark
hls_discontinuity_enabled=true

In this case, clicks are possible in audio, but video will not stop.

2. HLS segments writing stops when playing stream published in Firefox browser.

Symptoms: a few minutes after playback start HLS segments stop writing, in that case the stream directory in hls directory is not deleted, and messages in server log continue to appear

Code Block
languagebash
themeRDark
INFO HLSStreamManager - HLSStreamProviderKeepaliveThread-80 Remove hls channel

Publisher must publish stream again to recover.

Solution: use another browser to publish the stream which supposed to be played via HLS.

3. No video for the first subscriber when playing HLS in Safari on iOS 12.4

Symptoms: no video for the first subscriber when playing a stream as HLS in Safari on iOS 12.4, however video is played normally if there are other HLS-subscribers to the stream

Solution: set the minimum HLS playlist segments count not less than 2

Code Block
themeRDark
hls_min_list_size=2

4. No video for any subscriber when playing RTMP stream as HLS in Safari on iOS 12.4 if the following parameter is set to

Code Block
themeRDark
hls_auto_start=true

Symptoms: no video for any subscriber when playing RTMP stream as HLS in Safari on iOS 12.4

Soluition: use mono sound when a file with stereo sound track is published, for example, set the followint command line options for ffmpeg

Code Block
themeRDark
-acodec aac -ac 1