An example of stream convertion to HLS and playing it in browser using HLS.js
The player shows how to convert stream published on WCS server to HLS and play it in browser. HLS stream cut starts automatically when strea is requested by HLS URL, for example https://demo.flashphoner.com:8445/test/test.m3u8 on the screenshot below
The code of the example
The source code can be accessed on server by the following path:
...
Where host is WCS server address
Analyzing the code of the example
To analize the code get hls-js-player.js file version with hash 51703a2 which is available here and can be downloaded in build 0.5.28.2753.141.
...