Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.33 KB

File metadata and controls

34 lines (20 loc) · 1.33 KB

Red5 TrueTime WatchParty™ VOD Socket Server

This is a bare-bones socket server written in NodeJS for the VOD HLS playback integration of the Red5 TrueTime WatchParty™ web app.

It stores VOD Playback information mapped to a join token provided when each client connects to the websocket. This data is then provided to each connected client (Red5 TrueTime WatchParty™ user) on-demand as Users take control in selecting and scrubbing to times within a VOD HLS stream.

Run

Edit the index.js file to have the correct paths to the certs on the system:

cert = fs.readFileSync('./cert/certificate.crt')
key = fs.readFileSync('./cert/privateKey.key')

Then issue:

npm install
npm install -g forever
export SSL=true; forever start index.js

More Info

The open-source example that integrates with this server for VOD Playback Orchestration can be found at: https://github.com/red5pro/red5pro-watch-party/tree/feature/vod_scrub_sync_RED5DEV-543.

Other repositories about Red5 TrueTime WatchParty™: