KirovBvulgaru / google-cast-sdk

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

SmoothStreaming https://github.com/googlecast/cast-custom-receiver does not work #169

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a sender app (CastVideos-android) and receiver app 
https://github.com/googlecast/cast-custom-receiver.

SmoothStreaming does not work, however if i use 2nd example 
https://github.com/googlecast/Cast-Media-Player-Library-Sample , 
SmoothStreaming plays flawlessly. 
This is the URL 
http://playready.directtaps.net/smoothstreaming/SSWSS720H264/SuperSpeedway_720.i
sm/Manifest for SmoothStreaming.

CORS are set properly. I have tried many times, but without success.
I just get this:

### Media Protocol Identified as ism/Manifest sample_media_receiver.html:546
######### MEDIA ELEMENT LOAD START sample_media_receiver.html:99
######### MEDIA ELEMENT SUSPEND [object Event] sample_media_receiver.html:135
######### MEDIA ELEMENT ERROR [object Event] sample_media_receiver.html:127
 [  3.391s] [cast.receiver.MediaManager] Load metadata error
 cast_receiver.js:19
### Media Manager - LOAD METADATA ERROR: 
{"senderId":"11:com.google.sample.cast.refplayer-560","message":{"currentTime":0
,"media":{"streamType":"BUFFERED","duration":0,"contentType":"video/mp4","conten
tId":"http://playready.directtaps.net/smoothstreaming/SSWSS720H264/SuperSpeedway
_720.ism/Manifest","metadata":{"subtitle":"HSS","studio":"HSS","images":[{"url":
"https://lh3.googleusercontent.com/-15t9c3ZEAtU/AAAAAAAAAAI/AAAAAAAAOk8/DWzXdnXI
_EI/s120-c/photo.jpg","height":0,"width":0},{"url":"https://lh3.googleuserconten
t.com/-15t9c3ZEAtU/AAAAAAAAAAI/AAAAAAAAOk8/DWzXdnXI_EI/s120-c/photo.jpg","height
":0,"width":0}],"title":"SuperSpeedway_720","metadataType":1}},"requestId":2,"au
toplay":true}} sample_media_receiver.html:352
 [  3.402s] [cast.receiver.MediaManager] Resetting media element
 cast_receiver.js:19
 [  3.407s] [cast.receiver.MediaManager] Sending error message to 11:com.google.sample.cast.refplayer-560
 cast_receiver.js:19
 [  3.409s] [cast.receiver.IpcChannel] IPC message sent: {"namespace":"urn:x-cast:com.google.cast.media","senderId":"11:com.google.sample.cast.refplayer-560","data":"{\"requestId\":2,\"type\":\"LOAD_FAILED\"}"}
 cast_receiver.js:19
 [ 28.310s] [cast.receiver.IpcChannel] Received message: {"data":"{\"senderId\":\"12:com.google.sample.cast.refplayer-561\",\"type\":\"senderconnected\",\"userAgent\":\"Android CastSDK,4242000,GT-P7100,p3,4.0.4\"}","namespace":"urn:x-cast:com.google.cast.system","senderId":"SystemSender"}

Original issue reported on code.google.com by vanst...@gmail.com on 25 Feb 2014 at 5:21

GoogleCodeExporter commented 8 years ago
If the Media Player Library works fine (since it plays in the second sample) 
and you believe the issue is with the first sample app, please open a bug for 
the sample code that has the issue in its Github repository.

Original comment by anad...@google.com on 26 Feb 2014 at 1:25