Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MediaDev
Visitor

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!
0 Kudos
5 REPLIES 5
RokuChris
Roku Employee
Roku Employee

Re: Playback of PlayReady smoothstream in Roku2

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
0 Kudos
MediaDev
Visitor

Re: Playback of PlayReady smoothstream in Roku2

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!
0 Kudos
MediaDev
Visitor

Re: Playback of PlayReady smoothstream in Roku2

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.
0 Kudos
Anonymous
Visitor

Re: Playback of PlayReady smoothstream in Roku2

We support neither VC-1 nor WMAPro audio.
0 Kudos
zuber
Visitor

Re: Playback of PlayReady smoothstream in Roku2

Does roku support it now?
0 Kudos