Streamed video is encrypted, so only client JavaScript can decrypt it, therefore heading directly to GET /stream/:name/:stream/:chunk will not provide any useful data, making video downloads impossible.
In addition to server-to-canvas encryption, video is played inside WebGL canvas, giving you option to draw additional watermarks or other DRM features while making it impossible to directly save video
- Encode MP4 video into dash format using
encode.bat videoNameorencode.sh videoName(without .mp4 extension) - Run server using
node index.js - Connect
http://localhost:9001/stream#videoName
- Use
index.htmlas template - Call
StreamVideo(containerElement, streamName)to stream video into canvas in given container (streamName must be without.mpd)