@ -1,15 +0,0 @@
run project
npm i && npm start
- /cast/:streamName to send stream
- /view/:streamName to view any ongoing stream
In cast/:streamName
view MediaRecorder sends blobs of video every 4 seconds to server, which stores buffer
as files to streams directory and writes an index.txt
file where video files are listed in order of presentation.
In view/:streamName
view client requests and parses index.txt
file and starts loading videos in correct order, and appending them to SourceBuffer of the video player