...
REST hook /playHLS must be implemented on backend server in defaultApp application. WCS server will send query to backend with token received from client
...
HLS authentication setting can be changed without server restart. In this case hls_auth_enabled
affects existing subscribers and hls_auth_token_cache
affects new subscribers only.
Ci=ustom backend application usage for HLS playback authentication
Since build 5.2.1008 it is possible to set backend application key in HLS URL, for example
Code Block | ||
---|---|---|
| ||
httpы://wcs:8445/streamName/streamName.m3u8?appKey=customAppKey&aclAuth=1254789 |
In this case REST hook /playHLS will be sent to backend application with defined key (customAppKey in the example above).
Unauthorized access to HLS segments prevention
...
Code Block | ||
---|---|---|
| ||
video_transcoder_preserve_aspect_ratio=true |
6. If the source stream contains B-fames, the picture can twitch in some players
Symptoms: a strong picture twitching while playing a stream via HLS, this may lokk like low FPS
Solution: update WCS to build 5.2.863, where the problem is solved