Configuration Examples
Some examples are provided here to inspire you to experiment and understand the flexibility of configuration.
OPF credentials
freshOpf.config.json
{
"streams": {
"drm": {
"tenantId": "**********",
"baseUrl": "https://**********.anycast.nagra.com",
"sspUseSsm": true,
"sspBaseSsmUrl": "https://**********-ssm.anycast.nagra.com/**********/ssm"
},
"vod": [
{
"name": "vod1",
"videoUrl": "https://d3bqrzf9w11pn3.cloudfront.net/basic_dash_bbb_clear/bbb_public.mpd",
"tags": ["1080p"]
}
],
"live": [
{
"name": "Live1",
"videoUrl": "https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd",
"tags": ["AWS"]
},
{
"name": "Live3",
"videoUrl": "https://cdn-vos-ppp-01.vos360.video/variant/v1/daiRegLat/DASH_DASH/Live/channel(DAITestRegLat)/master.mpd",
"tags": ["DAI"]
}
],
"opf": {
"instance": "**********",
"username": "**********",
"password": "**********"
}
}
}
Parameters for opy-sdk-js
params.opy-sdk-js.config.json
{
"parameters": {
"opy-sdk-js": {
"streaming": {
"rebufferingGoal": 0,
"inaccurateManifestTolerance": 0
},
"manifest": {
"dash": {
"ignoreMinBufferTime": false
}
},
"drm": {
"servers": {
"com.widevine.alpha": "https://***********.anycast.nagra.com/***********/wvls/contentlicenseservice/v1/licenses",
"com.microsoft.playready": "https://***********.anycast.nagra.com/***********/prls/contentlicenseservice/v1/licenses"
}
}
}
}
}
Streams and DRM
freshStreamsList.config.json
{
"streams": {
"drm": {
"tenantId": "**********",
"baseUrl": "https://**********.anycast.nagra.com",
"sspUseSsm": false,
"sspBaseSsmUrl": "https://**********-ssm.anycast.nagra.com/**********/ssm",
"widevineServerCertificate": "CsECCAMSEBcFuRfMEgSGiwYzOi9......",
"widevinePersistentState": "required"
},
"vod": [
{
"name": "vod1",
"videoUrl": "https://d3bqrzf9w11pn3.cloudfront.net/basic_dash_bbb_clear/bbb_public.mpd",
"tags": ["1080p"]
},
{
"name": "vod2",
"videoUrl": "https://d3bqrzf9w11pn3.cloudfront.net/sintel/sintel.mpd",
"tags": ["1080p", "multi-audio", "SUBS"]
}
],
"live": [
{
"name": "Live1",
"videoUrl": "https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd",
"tags": ["AWS"]
},
{
"name": "Live2",
"videoUrl": "https://cdn-vos-ppp-01.vos360.video/Content/DASH_DASH/Live/channel(DAITestRegLat)/master.mpd",
"tags": ["DAI"]
},
{
"name": "Live3",
"videoUrl": "https://cdn-vos-ppp-01.vos360.video/variant/v1/daiRegLat/DASH_DASH/Live/channel(DAITestRegLat)/master.mpd",
"tags": ["DAI"]
}
]
}
}