gomad
7 years agoRoku Guru
video node setting header is not working
Hi,
I have a stream with widevine drm, i am doing the following (pseudo code):
drmParams = {
"keySystem": "widevine",
"licenseServerURL": "https://mylicenseserver.net"
}
ContentNode_object.streamformat = "dash"
ContentNode_object.url = "https://mydashmanifest.mpd?asdas"
'setting header and drm params
ContentNode_object.HttpHeaders = ["mydata:licensekey"]
ContentNode_object.drmParams = drmParams
m.video.content = ContentNode_object
I get the following error:
inside video state: error
inside video errorCode: -6
inside video errorMsg: ignored
I see that the license server is not getting the headers.
Any ideas?
regards,
Gokul M
I have a stream with widevine drm, i am doing the following (pseudo code):
drmParams = {
"keySystem": "widevine",
"licenseServerURL": "https://mylicenseserver.net"
}
ContentNode_object.streamformat = "dash"
ContentNode_object.url = "https://mydashmanifest.mpd?asdas"
'setting header and drm params
ContentNode_object.HttpHeaders = ["mydata:licensekey"]
ContentNode_object.drmParams = drmParams
m.video.content = ContentNode_object
I get the following error:
inside video state: error
inside video errorCode: -6
inside video errorMsg: ignored
I see that the license server is not getting the headers.
Any ideas?
regards,
Gokul M