phawind111 / google-cast-sdk

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

Live stream stops after a few seconds #632

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This live stream plays for only a few seconds on the Chromecast and then stops. 
I tried 4 different Chromecast Android apps and they all had the exact same 
behavior. The FireTV plays it just fine and VLC also. This isn't the first time 
I've seen live streams be somewhat unstable under the Chromecast but it is 
probably the most reproducible I've seen. 

The address http://bit.ly/1NdLvBQ

 [123.482s] [goog.net.XhrIo] Request complete [GET http://81.196.0.126/digi24edge/digi24hdmqhls/media_w221479995_80803.ts 200]
media_player.js:20  [123.511s] [cast.player.core.QualityManager] 0: 
current=1961145.30, average=1988346.64
media_player.js:20  [123.521s] [cast.player.core.SegmentManager] 0: process 
segment
media_player.js:20  [123.527s] [cast.player.hls.Adaptation] process segment
media_player.js:20  [123.577s] [cast.player.hls.Adaptation] start: 
65382.9604888889
media_player.js:20  [123.583s] [cast.player.core.SegmentManager] 0: segment 
processed
media_player.js:20  [123.588s] [cast.player.core.SourceBufferManager] 0: abort
media_player.js:20  [123.595s] [cast.player.core.SourceBufferManager] 0: 
timestampOffset = -65382.9604888889
media_player.js:20  [123.612s] [cast.player.core.SourceBufferManager] 0: append
media_player.js:20  [123.784s] [goog.net.XhrIo] Opening Xhr [GET 
http://81.196.0.126/digi24edge/digi24hdmqhls/media_w221479995_80804.ts -1]
media_player.js:20  [123.807s] [goog.net.XhrIo] Will abort after 24480ms if 
incomplete, xhr2 false [GET 
http://81.196.0.126/digi24edge/digi24hdmqhls/media_w221479995_80804.ts -1]
media_player.js:20  [123.828s] [goog.net.XhrIo] Sending request [GET 
http://81.196.0.126/digi24edge/digi24hdmqhls/media_w221479995_80804.ts -1]
media_player.js:20  [124.959s] [cast.player.core.SourceBufferManager] 0: 0 - 
7.76
media_player.js:20  [124.979s] [cast.player.core.SourceBufferManager] 0: 
updateend
media_player.js:20  [128.131s] [goog.net.XhrIo] Request complete [GET 
http://81.196.0.126/digi24edge/digi24hdmqhls/media_w221479995_80804.ts 200]
media_player.js:20  [128.159s] [cast.player.core.QualityManager] 0: 
current=2290398.55, average=2229988.17
media_player.js:20  [128.167s] [cast.player.core.SegmentManager] 0: process 
segment
media_player.js:20  [128.176s] [cast.player.hls.Adaptation] process segment
media_player.js:20  [128.185s] [cast.player.core.SegmentManager] 0: segment 
processed
media_player.js:20  [128.191s] [cast.player.core.SourceBufferManager] 
adjustTime: 8 : 7.76
media_player.js:20  [128.197s] [cast.player.core.SourceBufferManager] 0: append
media_player.js:20  [128.417s] [cast.player.api.Player] auto resume 0
media_player.js:20  [128.474s] [cast.player.api.Player] errorAb @ 
media_player.js:20yb.Ug @ media_player.js:20cb.log @ media_player.js:17A @ 
media_player.js:21Z.Yd @ media_player.js:238ec @ media_player.js:29ac @ 
media_player.js:30(anonymous function) @ media_player.js:27
media_player.js:20  [128.484s] [cast.player.api.Host] error 1Ab @ 
media_player.js:20yb.Ug @ media_player.js:20cb.log @ media_player.js:17A @ 
media_player.js:21M @ media_player.js:62Z.Yd @ media_player.js:238ec @ 
media_player.js:29ac @ media_player.js:30(anonymous function) @ 
media_player.js:27
media_player.js:20  [128.491s] [cast.player.api.Player] unload 

Original issue reported on code.google.com by casol...@gmail.com on 13 Aug 2015 at 6:26

GoogleCodeExporter commented 8 years ago
Which apps did you use? What version of Android and Chromecast are you using?

Original comment by jonathan...@google.com on 14 Aug 2015 at 8:29

GoogleCodeExporter commented 8 years ago
I tried it on a Nexus 5 with Android 5.1.1. 

I tried it on Vega Cast, Cast2TV-Lite, and a couple others. 

Original comment by casol...@gmail.com on 14 Aug 2015 at 8:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
What's the Chromecast firmware version?

Original comment by jonathan...@google.com on 14 Aug 2015 at 9:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry I forgot. 38401 is what it says today, don't know if it updated since 
yesterday. 

Original comment by casol...@gmail.com on 14 Aug 2015 at 9:25

GoogleCodeExporter commented 8 years ago
Can you confirm that the error occurs on version 38401?

Original comment by jonathan...@google.com on 14 Aug 2015 at 10:11

GoogleCodeExporter commented 8 years ago
Tried it on the Cast2TV app and it played for maybe 10 seconds and then 
stopped. 

Original comment by casol...@gmail.com on 14 Aug 2015 at 10:19

GoogleCodeExporter commented 8 years ago
It seems like there's segment(s) in the stream that the Chromecast is having 
trouble processing. We'll look into it.

Original comment by jonathan...@google.com on 14 Aug 2015 at 10:59

GoogleCodeExporter commented 8 years ago
Do you know what software was used to create the live stream?

Original comment by jonathan...@google.com on 14 Aug 2015 at 11:26

GoogleCodeExporter commented 8 years ago
No sorry I don't. A user sent it to me and I don't even know where it came 
from. 

Original comment by casol...@gmail.com on 14 Aug 2015 at 11:51

GoogleCodeExporter commented 8 years ago
Any luck figuring out this issue? I've seen it with other streams, or at least 
the console error looks the same. 

 [ 93.820s] [cast.player.api.Player] errorAb @ media_player.js:20yb.Ug @ media_player.js:20cb.log @ media_player.js:17A @ media_player.js:21Z.Yd @ media_player.js:238ec @ media_player.js:29ac @ media_player.js:30(anonymous function) @ media_player.js:27
media_player.js:20  [ 93.828s] [cast.player.api.Host] error 1

Original comment by casol...@gmail.com on 21 Aug 2015 at 2:17

GoogleCodeExporter commented 8 years ago
It seems that there are segment(s) with timestamps that are not monotonically 
increasing. Due to the nature of HTML5 Media Source Extensions, this is a 
requirement for Chromecast. Please see 
http://www.w3.org/TR/2015/CR-media-source-20150331/ (search for "monotonically 
increasing").

Original comment by jonathan...@google.com on 21 Aug 2015 at 9:57

GoogleCodeExporter commented 8 years ago
Thank you for the information, so I'm guessing other players like vlc and 
firetv are just ignoring that? 

Original comment by casol...@gmail.com on 21 Aug 2015 at 10:00

GoogleCodeExporter commented 8 years ago
I can't say for sure since I don't know how they are implemented, but I would 
assume so.

Original comment by jonathan...@google.com on 21 Aug 2015 at 10:57

GoogleCodeExporter commented 8 years ago
Closing this ticket as Invalid since the issue was due to the stream not 
following MSE specifications.

Original comment by jonathan...@google.com on 24 Aug 2015 at 5:25