endless-live-hls
0.0.0 • Public • Published
npm install
npm run start
- Visit localhost:3000/master.m3u8 to view example video
- Use url argument
targetManifest
to run vs another video: localhost:3000/master.m3u8?targetManifest=http://localhost:3000/example-video/index.m3u8
- You may need to
encodeURIComponent
the targetManifest
argument.
- Use url argument
startTime
to set the duration of the live stream in seconds on first request: localhost:3000/master.m3u8?startTime=500
- The sever will add an argument
initTime
to the url which is used for timing purposes. Delete this url argument to have the stream start over.
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads