minshikshin / google-cast-sdk

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

Chromecast don't play HLS content. And logged 'Load metadata error' #377

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. app build from custom receiver app, beta media player.
2. player HLS content attached.

What is the expected output? What do you see instead?
  don't play content. it is play vlc player. and played before about 2 weeks.

What version of the product are you using? On what operating system?
  beta media player 0.9.0

Please provide any additional information below.
  [ 45.629s] [cast.receiver.MediaManager] Load metadata error cast_receiver.js:18 
  [ 45.502s] [cast.player.api.Player] error  

Original issue reported on code.google.com by fourhand4him on 12 Sep 2014 at 12:18

GoogleCodeExporter commented 9 years ago
(1) Please include the stream that is failing
(2) Please include a complete console log (after turning on debugging in 
console).
(3) Also try that in a Styled/Default receiver

Original comment by anad...@google.com on 12 Sep 2014 at 12:51

GoogleCodeExporter commented 9 years ago
1) stream 
https://drive.google.com/file/d/0B0wZnWLnpuRsdkttVk1JbWlJMEk/edit?usp=sharing

2) log
[cast.player.api.Player] error media_player.js:23
Lb media_player.js:23
Jb.$g media_player.js:23
ub.log media_player.js:18
y media_player.js:24
h.nf media_player.js:205
mc media_player.js:31
jc media_player.js:32(anonymous function)

how to do chromecast turn on debugging in console?

3) Default receiver don't play it too.

Original comment by fourhand4him on 12 Sep 2014 at 10:10

GoogleCodeExporter commented 9 years ago
It could be failing due to an issue with h264 encoding.  Per ISO 13818-1 
"Information technology — Generic coding of moving pictures and associated 
audio information: Systems":

"When the adaptation_field_control value is '10', the value of the 
adaptation_field_length shall be 183."

Chrome enforces this here:

https://code.google.com/p/chromium/codesearch#chromium/src/media/formats/mp2t/ts
_packet.cc&q=%22adaptation_field_control%20&%200x1%22&sq=package:chromium&l=114

For your stream, I see

[16485:16485:WARNING:ts_packet.cc(111)] adaptation_field_length=161

Original comment by vadi...@google.com on 16 Sep 2014 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by anad...@google.com on 17 Sep 2014 at 7:17