Playback of PlayReady smoothstream in Roku2

Hi,

We are trying to play out Playready encrypted smooth stream available at

http://playready.directtaps.net/smoothstreaming/TTLSS720VC1PR/To_The_Limit_720.ism/Manifest in a Roku 2 XS device.( SDK version 4.8- build 3520).

The playback results in RequestFailed roVideoScreenEvent with error code -5.

I have set the stream qualities, streamformat and the streamURLs as below:

videoInfo = CreateObject(“roAssociativeArray”)
videoInfo.StreamQualities = [“SD”]
videoInfo.StreamFormat = “ism”

videoInfo.StreamUrls= “http://playready.directtaps.net/smoothstreaming/TTLSS720VC1PR/To_The_Limit_720.ism/Manifest

videoScreen.SetContent(videoInfo)
videoScreen.show()

We are trying to solve this issue.

As per roVideoScreen docs,
“Only direct PlayReady licensing is supported. Indirect licensing is currently unsupported. That is, for decryption to work, the ProtectionHeader must be available in the manifest and the LA_URL should contain a valid URL to an accessible PlayReady license server.”

So we checked the manifest, but couldnt find a LA_URL entry in protection header.

Is that the reason for playback failure?
Also Could someone please suggest a publicly available Playready smoothstream which satisfies the above criteria?

Thanks for your time!

Just a couple obvious problems… StreamURLs should be an array of strings, not a single string. I’d also suggest using the newer stream or streams attribute rather than the older parallel arrays. http://sdkdocs.roku.com/display/RokuSDK … +Meta-Data

Chris,
Thanks for the quick reply.

We tried out with Stream also as given below.

videoInfo = CreateObject(“roAssociativeArray”)
port = CreateObject(“roMessagePort”)
videoScreen = CreateObject(“roVideoScreen”)
videoInfo.Stream = {
url:[“http://playready.directtaps.net/smoothstreaming/TTLSS720VC1/To_The_Limit_720.ism/Manifest”]
bitrate:[0]
quality:false
contentid:“ABCD”
}

videoInfo.StreamFormat = “ism”
videoScreen.SetMessagePort(port)
videoScreen.SetContent(videoInfo)
videoScreen.show()

The result is same as before . We are able to play an unencrypted smoothstream (url as in code).
But if we replace the URL with that of a Playready encrypted stream ( http://playready.directtaps.net/smoothstreaming/TTLSS720VC1PR/To_The_Limit_720.ism/Manifest
) the playback fails. For the requestFailed message, Index is -5.

Is the issue related to DRM ? Do we have sample playready URL for testing?

Thanks again!

Hi,

An update to the isue.
We were able to playout the stream at http://playready.directtaps.net/smooths … m/Manifest
As per documentation the A/V format is 720p, H264 AAC, with encryption.

The previous file which had problem in playback was from http://playready.directtaps.net/smooths … m/Manifest
for which the spec is, 720p, VC-1 WMAPro, with encryption.

Another observation is that we are able to playback the stream at http://playready.directtaps.net/smooths … m/Manifest
which is 720p, VC-1 WMAPro, no encryption.

Looks like the combination of WMAPro, VC-1 and encryption doesnt work.

We support neither VC-1 nor WMAPro audio.

Does roku support it now?