arabenseifer / google-cast-sdk

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

Playback doen't work for Smooth Streaming content provided by Wowza #525

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to site https://scstg02.trailervu.mediavuonline.com/cctest/sender/
2. Start casting
3. Enter the manifest http://190.247.241.214:1935/vod/mp4:sample.mp4/Manifest
4. Click load

What is the expected output? What do you see instead?
The playback should start but instead the device downloads the content in 
background and nothing happen.

What version of the product are you using? On what operating system?
Lastest versiosns of the API:
www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js
www.gstatic.com/cast/sdk/libs/mediaplayer/1.0.0/media_player.js

Device browser:
window.navigator.appVersion = "5.0 (X11; Linux armv7l) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/39.0.2171.51 Safari/537.36 CrKey/26653"

Please provide any additional information below.
For some reason, the smoothh streaming content provided by the Wowza 
http://www.wowza.com/ doesn't work (that content works in Silverlight and 
Roku). We don't receive any error message from Chromecast, but keeps 
downloading the content in background. Chromecast is able to download the 
manifest and chunks (I see that in the debug mode), we also tested DRM 
protected content and the device is able to acquire the license successfully.

One detail, I see in the logs every 3-5 seconds this message: 
"[cast.player.api.Player] seeking due to stall".

We don't get any clue from chromecast about what is the problem. Everything 
seems good, the content has CORS, manifest looks good...

Original issue reported on code.google.com by JuanPaul...@gmail.com on 10 Mar 2015 at 5:33

GoogleCodeExporter commented 9 years ago
Logs

Original comment by JuanPaul...@gmail.com on 10 Mar 2015 at 5:43

Attachments:

GoogleCodeExporter commented 9 years ago
Please check this line in the log: 
"media_player.js:37 Mixed Content: The page at 
'https://scstg02.trailervu.mediavuonline.com/cctest/receiver/' was loaded over 
HTTPS, but requested an insecure XMLHttpRequest endpoint 
'http://190.247.241.214:1935/vod/mp4:sample.mp4/QualityLevels(99080)/Fragments(a
udio=0)/WowzaSessions(1163328610).isma'. This content should also be served 
over HTTPS."
CORS implementation seems to be an issue. Please refer to this tutorial and 
make sure your implementation is correct. 
However, if you still face an issue after following all steps kindly report 
back and we will reopen the ticket.

Original comment by na...@google.com on 10 Mar 2015 at 7:31

GoogleCodeExporter commented 9 years ago
This is the link to the tutorial: http://www.html5rocks.com/en/tutorials/cors/

Original comment by na...@google.com on 10 Mar 2015 at 7:34

GoogleCodeExporter commented 9 years ago
Hi, thanks for the fast response.

We see the exactly same issue having the receiver, API and everything running 
under http, the mixed content is only a browser warning (will upload logs with 
everything running under http).

The problem we have is for some specific content, for example:
We can watch 
http://playready.directtaps.net/smoothstreaming/SSWSS720H264PR/SuperSpeedway_720
.ism/Manifest (and other content generated by us stored in a CDN) using that 
reveicer but no can not watch 
http://190.247.241.214:1935/vod/mp4:sample.mp4/Manifest .

If you take a look to our content you will see that cors are there and look 
well configured (I just re-checked by the way). I do NOT see the error 
"'Access-Control-Allow-Origin' header is present on the requested resource....".

Juan

Original comment by JuanPaul...@gmail.com on 10 Mar 2015 at 10:36

GoogleCodeExporter commented 9 years ago
Logs with everything running under http.

BTW, we are the same team that develop the chromecast receiver for 
www.starzplay.com

Original comment by JuanPaul...@gmail.com on 10 Mar 2015 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the detailed information. Please be patient while we investigate 
the issue further.

Original comment by na...@google.com on 11 Mar 2015 at 2:07

GoogleCodeExporter commented 9 years ago
Please, let me know if you need more info. We noticed Chromecast is able to 
play the same video provided by wowza as HLS, unfortunately we need Smooth 
Streaming.

If you want to set-up wowza, you only need to install it and add the property 
below in Application.xml. The sample.mp4 video comes with the server (we also 
tried adding some videos with diferent encodings).

<Property>
    <Name>httpUserHTTPHeaders</Name>
    <Value>Access-Control-Allow-Origin:*|Access-Control-Allow-Headers:content-type, soapaction, Range</Value>
    <Type>String</Type>
</Property>

Original comment by JuanPaul...@gmail.com on 11 Mar 2015 at 3:04

GoogleCodeExporter commented 9 years ago
We could not reproduce the issue. Content plays on Chromecast as well as 
Chrome. Please review your implementation. 

Original comment by na...@google.com on 11 Mar 2015 at 5:56

GoogleCodeExporter commented 9 years ago
Hi, have you tried the second manifest? 
http://190.247.241.214:1935/vod/mp4:sample.mp4/Manifest , the other manifest 
works.

We are trying using the sample receiver placed in Github 
https://github.com/googlecast/cast-custom-receiver , also tested with our 
receiver which is able to play other manifests.

I'm curious about how you can watch Smooth Streaming content in Chrome. We are 
interesting in do that, I'll appreciacite if you can point us how to do that.
Also, which receiver are you using?

Original comment by JuanPaul...@gmail.com on 11 Mar 2015 at 6:14

GoogleCodeExporter commented 9 years ago
Hi, we retested the manifest 
http://190.247.241.214:1935/vod/mp4:sample.mp4/Manifest using some diferent 
receivers that are able to play other manifest. But no luck...

Please, can you sen us which code you used to play that video?

Original comment by JuanPaul...@gmail.com on 12 Mar 2015 at 4:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks a lot, I'm able to play the content using that library :)

Please, can you give me more details about the fix? because we can change how 
our content is being generated in order to get it playing before the new MPL is 
released.

Original comment by JuanPaul...@gmail.com on 12 Mar 2015 at 5:17

GoogleCodeExporter commented 9 years ago
Hi,

Do you know when this new library will be published? would be great if you can 
change the "Invalid" status.

Thanks,
Juan

Original comment by JuanPaul...@gmail.com on 20 Mar 2015 at 4:42

GoogleCodeExporter commented 9 years ago
It has been published.

Original comment by vadi...@google.com on 20 Mar 2015 at 4:49