2.6.0 • Published 8 years ago
atg-lgb v2.6.0
#lgb
This is the Live, General, Broadcasting REST service that sits beside nginx and provides an integration layer between the Vube and the live broadcasts that are coming in. For more information, refer to:
https://confluence.atg-corp.com/x/poSSAQ
###Installation
npm install
grunt build
###Run unit and end-to-end testing
grunt
###Usage
./index.js -c 8111 -o 8112 <options>
-c, --control-port set port for control connections, required
-o, --client-port set port for client connections, required
-a, --tracking base url for tracking service, i.e. http://127.0.0.1:9999/broadcast/
-r, --transcode base url for transcode queue, i.e. http://127.0.0.1:8103/
-w, --weight-path override the default path to the weight file, optional
-s, --hostname override the self-referencing hostname, optional
--whereami override the alias which indicates where the server is located i.e sea
--edge-route override the edge route URL i.e. http://127.0.0.1/broadcast/route
--edge-lodef override the edge lodef client server i.e. ws://127.0.0.1:8110/broadcast/{{publicName}}
--edge-dash override the edge dash server URL i.e. http://127.0.0.1/live/{{publicName}}.mpd
--edge-hls override the edge HLS server i.e. http://127.0.0.1/live/{{publicName}}.m3u8
--edge-rtmp override the edge RTML server i.e. http://127.0.0.1/live/{{publicName}}.rtmp
--redis-global override the remote central redis host i.e. 127.0.0.1:6379
--redis-local override the local redis host i.e. 127.0.0.1:6379
-i, --disable-integrate do not notify the integration service about events
-g, --ignore-integrate ignore the integration service's responses to events
-d, --debug show debug output, optional
-l, --devel override auto-detection of dev environment, optional
-t, --ttl force the process to exit after this number of seconds, optional
-h, --help show this message
###API quick reference
- /admin/status?format
- /admin/weight
- /broadcast/publish
- /broadcast/play
- /broadcast/ping
- /broadcast/done