Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
tvip_key_server_installation [2018/04/20 16:32] Egor Danilenko |
tvip_key_server_installation [2020/02/28 09:19] Egor Danilenko |
||
---|---|---|---|
Строка 3: | Строка 3: | ||
**WARNING:** TVIP cas-server in ALPHA stage, please report all bugs to support@tvip.ru | **WARNING:** TVIP cas-server in ALPHA stage, please report all bugs to support@tvip.ru | ||
- | ====Ubuntu 16.04 (recommended)==== | + | ====Ubuntu 18.04 (recommended)==== |
<code> | <code> | ||
Строка 16: | Строка 16: | ||
</code> | </code> | ||
- | ====Ubuntu 14.04 (not recommended)==== | ||
- | |||
- | <code> | ||
- | echo "deb http://deb.packages.tvip.ru/ xenial main" >> /etc/apt/sources.list.d/tms.list | ||
- | wget --quiet -O - http://deb.packages.tvip.ru/deploy/key.asc | apt-key add - | ||
- | |||
- | apt-get -y -q install software-properties-common | ||
- | add-apt-repository ppa:webupd8team/java | ||
- | add-apt-repository ppa:chris-lea/redis-server | ||
- | apt-get update | ||
- | apt-get install tvip-cas | ||
- | |||
- | ln -s /opt/tvip-cas/tvip-cas.jar /etc/init.d/tvip-cas | ||
- | |||
- | </code> | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | Copy original /opt/tvip-cas/application-prod.yml.example to /opt/tvip-cas/application-prod.yml.example: | + | Copy original /opt/tvip-cas/application-prod.yml.example to /opt/tvip-cas/application-prod.yml: |
<code> | <code> | ||
cp /opt/tvip-cas/application-prod.yml.example /opt/tvip-cas/application-prod.yml | cp /opt/tvip-cas/application-prod.yml.example /opt/tvip-cas/application-prod.yml | ||
Строка 123: | Строка 108: | ||
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. | ||
+ | |||