Здесь показаны различия между двумя версиями данной страницы.
Следующая версия | Предыдущая версия Последняя версия Следующая версия справа и слева | ||
tvip_key_server_installation [2018/04/20 16:31] Egor Danilenko создано |
tvip_key_server_installation [2018/08/14 12:46] Egor Danilenko [Main steps:] |
||
---|---|---|---|
Строка 73: | Строка 73: | ||
requirepass REAL_REDIS_PASSWORD | requirepass REAL_REDIS_PASSWORD | ||
</code> | </code> | ||
+ | |||
+ | **After setup requirepass you must restart redis server for apply new settings** | ||
=== Attach Flussonic media server to Key server === | === Attach Flussonic media server to Key server === | ||
Строка 107: | Строка 109: | ||
- Private key for sign request from CAS server (defined in app section in /opt/tvip-cas/application-prod.yml). For prevent security violations that key must be redefined by yourself | - Private key for sign request from CAS server (defined in app section in /opt/tvip-cas/application-prod.yml). For prevent security violations that key must be redefined by yourself | ||
- Each TMS must be defined in tms-servers section of config file | - Each TMS must be defined in tms-servers section of config file | ||
- | - | + | |
After changes in config you must restart tvip-cas for applying settings, | After changes in config you must restart tvip-cas for applying settings, | ||
Строка 121: | Строка 123: | ||
On TMS side you must configure CAS in Settings -> CAS servers | On TMS side you must configure CAS in Settings -> CAS servers | ||
+ | |||
+ | === Flussonic channel configuration === | ||
+ | If you wish encode channel you must add drm directive to channel declaration. | ||
+ | Channel encoding available only for hls streams, other streams must be disabled for security reasons. | ||
+ | <code> | ||
+ | stream examplechannel{ | ||
+ | ... | ||
+ | ... | ||
+ | hds off; | ||
+ | rtmp off; | ||
+ | rtsp off; | ||
+ | dash off; | ||
+ | mpegts off; | ||
+ | drm aes128 keyserver=http://keys.example.net/cas-server; | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | === TMS channel configuration === | ||
+ | TMS require same channel name on flussonic and "System name" in Channel entity. For example below that name is examplechannel. Other settings of CAS for channel is no needed. | ||
+ | |||