I will be doing a SceneGraph application soon, but I need to implement PlayReady into something soon on my current app. I was looking at the documentation but it seems to show a SceneGraph example:
Is there an example out there for how I implement the same thing but for non-SceneGraph applications? Something that uses the standard (soon-to-be deprecated) video player?
I tried setting this up today but I’m not seeing any calls go out to the DRM server. No traffic seems to be sent from the Roku side. I’m setting the EncodingType on the Content Meta-Data to be “PlayReadyLicenseAcquisitionAndChallenge” and the encoding key to be “URL%%%data”
Are you seeing anything wrong here that would prevent the data from being sent up to the server? Is there a flag I need to enable aside from these two key values on the Content Meta-data object?
Edit:
Not sure if this matters, but my getDRMInfo call on roDeviceInfo reports back this:
Which doesn’t say anything about “tee;ss” as per https://sdkdocs.roku.com/display/sdkdoc/ifDeviceInfo . Not sure if that is affecting this. I’ve also tried explicitly setting some certificate data on the roVideoScreen like this:
' set https certs
m.screen.setCertificatesFile("common:/certs/ca-bundle.crt")
m.screen.setCertificatesDepth(4)