$ curl https://tv-demo.tviplabs.com/hdmedia/video.m3u8
#EXTM3U
#EXT-X-STREAM-INF:RESOLUTION=1920x1080,FRAME-RATE=30.000,CODECS="avc1.640028,mp4a.40.2",AVERAGE-BANDWIDTH=5130000,BANDWIDTH=6410000
tracks-v1a1/mono.m3u8
#EXT-X-STREAM-INF:RESOLUTION=1280x720,FRAME-RATE=30.000,CODECS="avc1.64001f,mp4a.40.2",AVERAGE-BANDWIDTH=3140000,BANDWIDTH=3930000
tracks-v2a1/mono.m3u8
#EXT-X-STREAM-INF:RESOLUTION=1024x576,FRAME-RATE=30.000,CODECS="avc1.64001f,mp4a.40.2",AVERAGE-BANDWIDTH=1750000,BANDWIDTH=2190000
tracks-v3a1/mono.m3u8
stream hdmedia {
url udp://226.181.0.41:1234;
dvr /data 5d 95%;
hds off;
rtmp off;
rtsp off;
dash off;
mpegts off;
m4s off;
m4f off;
drm aes128 keyserver=https://keys-demo.tviplabs.com/cas-server;
}
spring:
redis:
host: localhost
port: 6379
password: c8f1ee9a7c5fd4b3c66d7559e99807d0
server:
port: 8081
servers:
# Address list of TMS servers. This CAS server may subscribe on these servers to get any appropriate notify requests and
# may get content access information. This feature is allowed for master CAS servers only.
tms-servers:
- 185.84.33.186:8605
# Address list of streaming servers that are allowed to send requests to this CAS server
stream-servers:
- 185.84.33.187
# Alias that will be specified as the URL root, when the link is being generated for the client to get the encryption key
# to decrypt the content segment
user-key-url-alias:
https://keys-demo.tviplabs.com
# Address list of proxy servers. They are allowed to mask the actual server remote address and deliver it to check
# in "white" list of servers (TMS or streaming) depending on the request context.
proxy-servers:
- 127.0.0.1
# If non-empty value specified, it means that this CAS server works as slave
# and may not write any content access information or generate content encryption keys, but only
# deliver any existing keys if allowed by content access info. Master server URL must have no prefix, but port,
# like master.keys.domain.com:8081
master-server:
# Application settings
app:
# Used as the application identifier, when interacting with TMS servers
name: 'keys-demo.tviplabs.com'
# Application-specific prefix for keys in Redis
namespace: 'cas-server'
# Private key that is used to sign requests from CAS server application
key: 'f698f997c68f2db029e612e95566badbf'
# Secret that may be used to generate key in case of fail back scenario.
# If no specified or empty, fail back key generation is not used.
secret: 'real-secret-key'