3 ms·
Thank you for the article. As I have used Nanocosmos H5Live Server in production for over a year I can provide some insight into their product. It works by rep
by samsonradu 8y ago
Thank you for the article. As I have used Nanocosmos H5Live Server in production for over a year I can provide some insight into their product.
It works by repackaging an RTMP stream into GOP chunks and pushes them via Websockets to the browser where they're piped to a video player using MSE (Media Source Extension).
On iPhones, where there is (was) no MSE available it used something like very short, chunked HLS segments. Not sure I fully understood that part but somehow they tricked the m3u8 playlist into loading short segments very very often.
The beauty of it was that it was a drop-in plugin for your existing RTMP-based infrastructure. You just add an instance of their server software and you would use their JS player to your pull your RTMP stream, repackaged on-the-fly.
let player = new NanoPlayer({
server: 'wss://nano_server_url',
rtmp: 'rtmp://rtmp_server_url/app/stream.mp4'
});