Migration from Old Streamer to New Streamer
Last updated
Last updated
Library content :
How yo use new visual streamer :
Get the new library from this link : https://github.com/nodefluxio/docker-stream-quickstart/tree/main/client/public/library/jsmpeg
Copy the library to your public folder so the path will be ( public/library/jsmpeg )
Open index.html on your public folder
Import file jsmpeg.min.js inside head tag
And then import file jsmegVisualStreamer.js after body tag
After that you can use the component, component example :
Notes :
Class nodeflux-stremer is required
For MPEG1 we are using websocket protocol instead http protocol
And then for starting visualisation you can use this command :
Library API :
showVisualisation | This function will be use for starting visualisation component |
stopVisualisation | This function will be use for stop all visualisation component |