gingerbeur / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Problems with smooth streaming content playback #445

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am working on receiver app for Chromecast. This application should play 
Smooth Streaming Play Ready encrypted content. I have different manifests and 
some of them work on Chromecast some of them not.

---- Problem:
When trying to play https://gist.github.com/ostap1010/3f2ce4444a849e2f54c0 
manifest - no playback occurred (just black screen). Also there is an error in 
console:
"Uncaught TypeError: Cannot read property 'Ud' of null ".
Console contains following logs - please see attachment "logs.txt".

This video content is PlayReady encrypted, but license acquiring goes well and 
proceeds with license. So the problem is somewhere else.

---- Expected result: 
video playback should start.

--------------
On contrary - manifest like 
https://gist.github.com/ostap1010/8dc89291a8aa63f19f9d plays well, so the 
problem seems to be not in the receiver application.

Original issue reported on code.google.com by ostap.kr...@neonstingray.com on 8 Dec 2014 at 4:00

Attachments:

GoogleCodeExporter commented 9 years ago
Could you please set up a test stream with a non-working manifest for us to use 
to investigate this?

Original comment by vadi...@google.com on 8 Dec 2014 at 6:06

GoogleCodeExporter commented 9 years ago
Yes, sure:

Manifest - 
http://sfa-smooth.hss.adaptive.level3.net/sf/9500/SFA_The_Purge__Anar_9893//SFA_
The_Purge__Anar_9893_12510_C.ism/Manifest

Custom data - 
"<DeviceToken></DeviceToken><CustomerToken>9c9a021aadf2b9908a86b93f54f4ed93</Cus
tomerToken><ContentId>12510</ContentId>"

This custom data would be valid for next 48 hours

Original comment by ostap.kr...@neonstingray.com on 9 Dec 2014 at 9:34

GoogleCodeExporter commented 9 years ago
Thank you for providing the repro stream. It looks like the manifest is using

{start time}

for video and text streams, but

{start_time}

for audio.  Even though I confirmed that the Smooth Streaming specification 
allows for either, MPL currently only does the substitution for {start time} - 
without the underscore.  If you change your manifest to use {start time} 
consistently, it should make your stream playable with MPL.

Original comment by vadi...@google.com on 9 Dec 2014 at 6:05

GoogleCodeExporter commented 9 years ago
Yes, changing the manifest's {start_time} help solves the issue (though it 
still would be good if MPL supports both ways). Thank you for help!

Original comment by ostap.kr...@neonstingray.com on 10 Dec 2014 at 12:49

GoogleCodeExporter commented 9 years ago

Original comment by na...@google.com on 10 Dec 2014 at 5:57

GoogleCodeExporter commented 9 years ago
We'll look into improving smooth streaming url template for MPL in a future 
release.  Thanks!

Original comment by vadi...@google.com on 10 Dec 2014 at 6:01