-
Notifications
You must be signed in to change notification settings - Fork 0
/
app_config.rb
33 lines (27 loc) · 1.21 KB
/
app_config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Default transcoders low-level api ports
DEFAULT_PORT = 10000
DEFAULT_STATUS_PORT = 11000
# Audio controller: triggers on public or private events
# command = start | stop
AUDIO_CONTROLLER = 'http://audio1.bbdomain.org/%{command}'
# Groups controller: triggers on private events
# command = start | stop
GROUPS_CONTROLLER = 'http://10.66.1.123/v4g/index.sh?stream=%{command}'
# Streams controller: triggers on all events
# csid = event cross system ID
# command = start | stop
STREAMS_CONTROLLER='http://10.102.4.111:3001/event/%{csid}/%{command}'
# Sviva Tova controller: triggers on live private and live sadna events
# params are sent via HTTP POST, x-www-form-urlencoded
#
# params
# ------
# stream_preset_id: sviva tova internal stream preset id
# state: hard coded mapping of our event state to sviva tova's states
SVIVA_TOVA_CONTROLLER='http://kabbalahgroup.info/internet/api/v1/streams/set_stream_state.json'
SVIVA_TOVA_STREAM_PRESET_IDS = {private: '3', sadna: '6'}
SVIVA_TOVA_STATES = {on: 'active', ready: 'preparing_to_broadcast', off: 'not_active'}
# kab.tv controller: triggers on public events
# csid = event cross system ID
# command = start | stop
KABTV_CONTROLLER='http://kab.tv/api/event_status/%{csid}/%{command}'