imberezin / google-cast-sdk

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

unexpected EXT-X-MEDIA-SEQUENCE: state 2 #725

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I get a "unexpected EXT-X-MEDIA-SEQUENCE: state 2" error while trying to play 
the video on this page: http://www.bfmtv.com/mediaplayer/live-video/

I tried a few different apps and none could play it, including Chrome. The 
video itself seems to have Access-Control-Allow-Origin: * so I'm not sure why 
it isn't playing. 

Here are my logs:

 [  0.716s] [cast.receiver.CastReceiverManager] Version: 2.0.0.0040
cast_receiver.js:40  [  0.770s] [goog.net.WebSocket] Opening the WebSocket on 
ws://localhost:8008/v2/ipc
cast_receiver.js:28 Mixed Content: The page at 'my receiver' was loaded over 
HTTPS, but attempted to connect to the insecure WebSocket endpoint 
'ws://localhost:8008/v2/ipc'. This endpoint should be available via WSS. 
Insecure access is deprecated.
cast_receiver.js:28 Connecting to a non-secure WebSocket server from a secure 
origin is deprecated.
cast_receiver.js:40  [  0.841s] [goog.net.WebSocket] WebSocket opened on 
ws://localhost:8008/v2/ipc
media_player.js:21  [  3.568s] [cast.player.api.Player] Version: 1.0.0.25
media_player.js:21  [  3.598s] [cast.player.api.Player] load
media_player.js:21  [  3.636s] [goog.net.XhrIo] Opening Xhr [GET 
http://csm-e.cds1.yospace.com/csm/live/109797390.m3u8?yo.po=5&yo.sl=3.m3u8 -1]
media_player.js:21  [  3.656s] [goog.net.XhrIo] Will abort after 30000ms if 
incomplete, xhr2 false [GET 
http://csm-e.cds1.yospace.com/csm/live/109797390.m3u8?yo.po=5&yo.sl=3.m3u8 -1]
media_player.js:21  [  3.664s] [goog.net.XhrIo] Sending request [GET 
http://csm-e.cds1.yospace.com/csm/live/109797390.m3u8?yo.po=5&yo.sl=3.m3u8 -1]
media_player.js:37 Mixed Content: The page at 'my receiver' was loaded over 
HTTPS, but requested an insecure XMLHttpRequest endpoint 
'http://csm-e.cds1.yospace.com/csm/live/109797390.m3u8?yo.po=5&yo.sl=3.m3u8'. 
This content should also be served over HTTPS.
media_player.js:21  [  3.683s] [cast.player.core.MediaSourceManager] open
media_player.js:21  [  3.796s] [goog.net.XhrIo] Request complete [GET 
http://csm-e.cds1.yospace.com/csm/live/109797390.m3u8?yo.po=5&yo.sl=3.m3u8 200]
media_player.js:21  [  3.879s] [cast.player.core.QualityManager] 0: initial 
2085600
media_player.js:21  [  3.889s] [cast.player.core.QualityManager] 0: from 
2085600 to 1205600
media_player.js:21  [  3.897s] [cast.player.hls.Playlist] update: 
http://csm-e-usc1-8.cds1.yospace.com/csm/live/109797390/3.m3u8;jsessionid=B…2B
6CCE7323BEAE3722C0092.csm-e-usc1-8.cds1.yospace.com?yo.po=5&yo.sl=3.m3u8
media_player.js:21  [  3.909s] [goog.net.XhrIo] Opening Xhr [GET 
http://csm-e-usc1-8.cds1.yospace.com/csm/live/109797390/3.m3u8;jsessionid=B…2B
6CCE7323BEAE3722C0092.csm-e-usc1-8.cds1.yospace.com?yo.po=5&yo.sl=3.m3u8 -1]
media_player.js:21  [  3.919s] [goog.net.XhrIo] Will abort after 30000ms if 
incomplete, xhr2 false [GET 
http://csm-e-usc1-8.cds1.yospace.com/csm/live/109797390/3.m3u8;jsessionid=B…2B
6CCE7323BEAE3722C0092.csm-e-usc1-8.cds1.yospace.com?yo.po=5&yo.sl=3.m3u8 -1]
media_player.js:21  [  3.926s] [goog.net.XhrIo] Sending request [GET 
http://csm-e-usc1-8.cds1.yospace.com/csm/live/109797390/3.m3u8;jsessionid=B…2B
6CCE7323BEAE3722C0092.csm-e-usc1-8.cds1.yospace.com?yo.po=5&yo.sl=3.m3u8 -1]
media_player.js:37 Mixed Content: The page at 'my receiver' was loaded over 
HTTPS, but requested an insecure XMLHttpRequest endpoint 
'http://csm-e-usc1-8.cds1.yospace.com/csm/live/109797390/3.m3u8;jsessionid=B…2
B6CCE7323BEAE3722C0092.csm-e-usc1-8.cds1.yospace.com?yo.po=5&yo.sl=3.m3u8'. 
This content should also be served over HTTPS.
media_player.js:21  [  5.512s] [cast.player.hls.Parser] unexpected 
EXT-X-MEDIA-SEQUENCE: state 2
media_player.js:21  [  5.523s] [cast.player.hls.Parser] failed to parse HLS 
playlist
media_player.js:21  [  5.542s] [cast.player.api.Player] unload
cast_receiver.js:40  [  5.828s] [cast.receiver.MediaManager] Load metadata 
error: [object Object]

Original issue reported on code.google.com by car...@instantbits.com on 28 Dec 2015 at 6:53

GoogleCodeExporter commented 8 years ago
Could you please share the HLS stream the issue occurs for?

Original comment by na...@google.com on 28 Dec 2015 at 7:05

GoogleCodeExporter commented 8 years ago
The video is 
http://csm-e.cds1.yospace.com/csm/live/109797390.m3u8?yo.po=5&yo.sl=3.m3u8 but 
I don't know if it changes with time or if it is specific for my ip which is 
why I put the web page it comes out of 
http://www.bfmtv.com/mediaplayer/live-video/

Original comment by car...@instantbits.com on 28 Dec 2015 at 7:09