KirovBvulgaru / google-cast-sdk

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

Smooth Streaming Live - Media Error #149

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use Custom Receiver: http://122.248.245.128/cc/vidreceiver.html
2. Send "http://54.255.9.71/LiveSmoothStream.isml/manifest" smooth streaming 
live channel to play
3. Playback will failed with fatal error.

What is the expected output? What do you see instead?
Since I am able to play Smooth Streaming VOD with PlayReady and Without 
Playready, I am expecting the same behavior with Live Channel but that didn't.

Please use labels and text to provide additional information.
I also asked the question via stackoverflow. 
http://stackoverflow.com/questions/21899597/chromecast-smooth-streaming-live-med
ia-error?noredirect=1#comment33166290_21899597

Here's the App ID (In Development): C64F677A

Original issue reported on code.google.com by thatoeht...@gmail.com on 20 Feb 2014 at 8:05

GoogleCodeExporter commented 8 years ago

Original comment by anad...@google.com on 20 Feb 2014 at 8:15

GoogleCodeExporter commented 8 years ago
Here's the debug log from chromecast device:
 [  0.521s] [cast.receiver.CastReceiverManager] CastReceiverManager message received: [object Object]
 cast_receiver.js:19
 [  0.523s] [cast.receiver.CastReceiverManager] Dispatching CastReceiverManager sender connected event [2:client-88005]
 cast_receiver.js:19
 [  0.525s] [cast.receiver.CastMessageBus] Registering sender [urn:x-cast:com.google.cast.media, 2:client-88005]
 cast_receiver.js:19
 [ 10.546s] [cast.receiver.IpcChannel] Received message: {"data":"{\"type\":\"LOAD\",\"requestId\":94844011,\"sessionId\":\"9133EE76-FE8C-3CB6-58C8-1C6993FF7526\",\"media\":{\"contentId\":\"http://54.255.9.71/LiveSmoothStream.isml/manifest\",\"streamType\":\"buffered\",\"contentType\":\"video/mp4\",\"metadata\":null,\"duration\":null,\"customData\":null},\"autoplay\":false,\"currentTime\":0,\"customData\":{\"payload\":{}}}","namespace":"urn:x-cast:com.google.cast.media","senderId":"2:client-88005"}
 cast_receiver.js:19
 [ 10.553s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message [urn:x-cast:com.google.cast.media, 2:client-88005]: {"type":"LOAD","requestId":94844011,"sessionId":"9133EE76-FE8C-3CB6-58C8-1C6993FF7526","media":{"contentId":"http://54.255.9.71/LiveSmoothStream.isml/manifest","streamType":"buffered","contentType":"video/mp4","metadata":null,"duration":null,"customData":null},"autoplay":false,"currentTime":0,"customData":{"payload":{}}}
 cast_receiver.js:19
 [ 10.560s] [cast.receiver.MediaManager] MediaManager message received [2:client-88005] {"type":"LOAD","requestId":94844011,"sessionId":"9133EE76-FE8C-3CB6-58C8-1C6993FF7526","media":{"contentId":"http://54.255.9.71/LiveSmoothStream.isml/manifest","streamType":"buffered","contentType":"video/mp4","metadata":null,"duration":null,"customData":null},"autoplay":false,"currentTime":0,"customData":{"payload":{}}}
 cast_receiver.js:19
 [ 10.564s] [cast.receiver.MediaManager] Dispatching MediaManager load event
 cast_receiver.js:19
Starting media application vidreceiver.html?Debug=true:38
we have protocol .isml/manifest vidreceiver.html?Debug=true:72
Starting Media Player Library vidreceiver.html?Debug=true:74
XHR finished loading: "http://54.255.9.71/LiveSmoothStream.isml/manifest". 
media_player.js:52
XHR finished loading: 
"http://54.255.9.71/LiveSmoothStream.isml/QualityLevels(96000)/Fragments(audio10
1=122976045164166))". media_player.js:52
XHR finished loading: 
"http://54.255.9.71/LiveSmoothStream.isml/QualityLevels(96000)/Fragments(audio10
1=122976145377500))". media_player.js:52
XHR finished loading: 
"http://54.255.9.71/LiveSmoothStream.isml/QualityLevels(992000)/Fragments(video=
122976095388666))". media_player.js:52
 [ 11.482s] [cast.receiver.MediaManager] Metadata loaded
 cast_receiver.js:19
 [ 11.499s] [cast.receiver.MediaManager] Sending broadcast status message
 cast_receiver.js:19
 [ 11.508s] [cast.receiver.IpcChannel] IPC message sent: {"namespace":"urn:x-cast:com.google.cast.media","senderId":"*:*","data":"{\"type\":\"MEDIA_STATUS\",\"status\":[{\"mediaSessionId\":1,\"playbackRate\":1,\"playerState\":\"BUFFERING\",\"currentTime\":0,\"supportedMediaCommands\":15,\"volume\":{\"level\":1,\"muted\":false},\"media\":{\"contentId\":\"http://54.255.9.71/LiveSmoothStream.isml/manifest\",\"streamType\":\"buffered\",\"contentType\":\"video/mp4\",\"metadata\":null,\"duration\":null,\"customData\":null}}],\"requestId\":94844011}"}
 cast_receiver.js:19
 [ 11.537s] [cast.receiver.MediaManager] Resetting media element
 cast_receiver.js:19
 [ 11.544s] [cast.receiver.MediaManager] Sending broadcast status message
 cast_receiver.js:19
 [ 11.550s] [cast.receiver.IpcChannel] IPC message sent: {"namespace":"urn:x-cast:com.google.cast.media","senderId":"*:*","data":"{\"type\":\"MEDIA_STATUS\",\"status\":[{\"mediaSessionId\":1,\"playbackRate\":1,\"playerState\":\"IDLE\",\"currentTime\":0,\"supportedMediaCommands\":15,\"volume\":{\"level\":1,\"muted\":false},\"idleReason\":\"ERROR\"}],\"requestId\":0}"}
 cast_receiver.js:19
 [ 11.403s] [cast.player.api.Player] error
 media_player.js:24
Fatal Error - 1 

Error Log:
[ 11.403s] [cast.player.api.Player] error
 media_player.js:24
Rb media_player.js:24
Nb.sf media_player.js:24
yb.log media_player.js:19
$b media_player.js:38
h.Fc

Original comment by thatoeht...@gmail.com on 20 Feb 2014 at 8:19

GoogleCodeExporter commented 8 years ago
Information was passed to the engineering team for review

Original comment by anad...@google.com on 20 Feb 2014 at 3:46

GoogleCodeExporter commented 8 years ago

Original comment by anad...@google.com on 20 Feb 2014 at 7:14

GoogleCodeExporter commented 8 years ago
Do you control this stream?  Currently we get an error from Chromium code in

https://code.google.com/p/chromium/codesearch#chromium/src/media/formats/mp4/tra
ck_run_iterator.cc

[20:20:FATAL:track_run_iterator.cc(61)] Check failed: (numer > 0 ? numer : 
-numer) < kint64max / base::Time::kMicrosecondsPerSecond (122976045164166 vs. 
9223372036854)

122976045164166 happened to be the first timestamp.  If you control the 
encoder, as an experiment, could you please try restarting it from 0 and see if 
it makes it work?

Original comment by vadi...@google.com on 21 Feb 2014 at 5:13

GoogleCodeExporter commented 8 years ago
Yes, I have done couple of restarting and republishing from encoder as well as 
Smooth Streaming Live Manager in IIS before reporting this issue. That doesn't 
help.

Is there any problem with timestamp (time zone)? I have done testing with HLS 
AES from same encoder that works well. Only have problem with this Smooth 
Streaming.

Original comment by thatoeht...@gmail.com on 21 Feb 2014 at 9:14

GoogleCodeExporter commented 8 years ago
The issues seems to be in the Chromium code so it cannot be fixed by changes to 
the Medial Player Library. Fix has to wait for future chromecast updates.

Original comment by anad...@google.com on 24 Feb 2014 at 4:14

GoogleCodeExporter commented 8 years ago
when can I expect this to be fixed?

Original comment by thatoeht...@gmail.com on 7 Mar 2014 at 5:53

GoogleCodeExporter commented 8 years ago
It should be fixed with the next Chromecast update.

Original comment by vadi...@google.com on 8 Mar 2014 at 1:33

GoogleCodeExporter commented 8 years ago
Are you able to share the plan (date) for next Chromecast update?

Original comment by thatoeht...@gmail.com on 25 Mar 2014 at 3:01

GoogleCodeExporter commented 8 years ago
This should be fixed with

www.gstatic.com/cast/sdk/libs/mediaplayer/0.5.0/media_player.js

and Chromecast firmware that's already out.

Original comment by vadi...@google.com on 1 Apr 2014 at 7:57

GoogleCodeExporter commented 8 years ago
This is marked as fixed, if you see an issue, please let us know, thanks.

Original comment by anad...@google.com on 1 Apr 2014 at 7:59