red5pro / red5pro-watch-party-vod-socket

Temporary solution for VOD Sync in Watch Party

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Watch Party VOD Socket Server

This is a bare-bones socket server written in NodeJS for the VOD HLS playback integration of the Watch Party 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 (Watch Party 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.

About

Temporary solution for VOD Sync in Watch Party


Languages

Language:JavaScript 100.0%