Your Digital Media Has Never Looked So Good

Topic Author
Posts: 5
Joined: Wed Aug 07, 2019 1:40 am

Access to Widevine license request

Wed Aug 07, 2019 2:02 am

Is it possible to access the request body of a Widevine license request?

Sample code:

m.videoPlayer = CreateObject("roSGNode", "Video")"videoPlayer"
m.videoPlayer.translation="[0, 0]"

drmParams = {
keySystem: "Widevine"
licenseServerURL: "<license server url>"

contentNode = createObject("roSGNode", "contentNode")
contentNode.streamFormat = "dash"
contentNode.url = "<content url>"
contentNode.drmParams = drmParams = contentNode
m.videoPlayer.visible = true
m.videoPlayer.control = "play"
m.videoPlayer.observeField("state", "OnVideoPlayerStateChange")
m.videoPlayer.observeField("visible", "onVideoVisibleChange")

Our current implementation of Widevine requires access to the request body.
I know that it is possible to add headers etc but can't see anywhere in the docs if it is possible to access/modify the request detail itself.

Who is online

Users browsing this forum: No registered users and 6 guests