/ccr

Primary LanguageJavaScript

Real-Time Close Captions repository

Architecture

alt text

Deployment

  1. Build web pages static content: cd app && ./build.bash
  2. Build containers: docker-compose build
  3. Run dontainers: docker-compose up

Streaming a new channel

  1. Specify database url in ./admin/config.json
  2. Create a new channel (with id 'test1' and title 'Test Channel'):
./admin/ccr-channels-create -i test -i 'Test Channel'
  1. Install package dependencies
cd sender && npm i
  1. Start streaming:
./ccr-sender -C <channel_id> -e <ccextractor_path> -u <ccextractor_source> -D <ccr-reciever_url>
  • Using ccextractor mock that streams a single file
./ccr-sender -C test1 -e tests/ccextractor -u dummy_url:port  -D tcp://127.0.0.1:5000