lihaosky / google-cast-sdk

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

LOAD METADATA ERROR on SmoothStreaming stream #457

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Push to the Receiver the following stream: 
http://178.62.196.98/tearsofsteel/Manifest
2. Receive LOAD METADATA ERROR on the receiver. 
3. Receiver is using Media Player Library 1.0.

                ############ mediaManagerMessage:LOAD {"type":"load","H":false,"defaultPrevented":false,"lb":true,"data":{"currentTime":0,"media":{"streamType":"BUFFERED","duration":0,"contentType":"video/mp4","contentId":"http://178.62.196.98/tearsofsteel/Manifest","metadata":{"subtitle":"NPO 2 HD - 12:30 - 12:57","images":[{"url":"https://www.me.tv/static-images/731/195/36110410.p_210x303_351963204004.jpg","height":0,"width":0},{"url":"https://www.me.tv/static-images/30/345/npo2_151x104_256535620339.png","height":0,"width":0}],"duration":0,"title":"Man Bijt Hond","StreamType":"LIVE","metadataType":1}},"requestId":7,"autoplay":true},"senderId":"5:com.me.orionandroid-8"} (index):122
        ############ mediaProtocol:SmoothStreaming (index):122
        ############ mediaElementState:Load Start (index):122
        The page at 'https://hgo.herokuapp.com/public/' was loaded over HTTPS, but displayed insecure content from 'http://178.62.196.98/tearsofsteel/Manifest': this content should also be loaded over HTTPS.
         media_player.js:1195
        The page at 'https://hgo.herokuapp.com/public/' was loaded over HTTPS, but displayed insecure content from 'http://178.62.196.98/tearsofsteel/QualityLevels(1057334)/Fragments(video=0)': this content should also be loaded over HTTPS.
         media_player.js:1195
        The page at 'https://hgo.herokuapp.com/public/' was loaded over HTTPS, but displayed insecure content from 'http://178.62.196.98/tearsofsteel/QualityLevels(96000)/Fragments(audio_483_eng=0)': this content should also be loaded over HTTPS.
         media_player.js:1195
        2Uncaught InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source. media_player.js:2265
        ############ mediaElementState:Error (index):122
        ############ n.Event {originalEvent: Event, type: "error", isDefaultPrevented: function, timeStamp: 1418903704888, jQuery211209718968467786908: true…} (index):124
        n.Event {originalEvent: Event, type: "error", isDefaultPrevented: function, timeStamp: 1418903704888, jQuery211209718968467786908: true…} (index):169
         [104.718s] [cast.receiver.MediaManager] Load metadata error cast_receiver.js:591
        ############ mediaManagerMessage:LOAD METADATA ERROR: {"senderId":"5:com.me.orionandroid-8","message":{"currentTime":0,"media":{"streamType":"BUFFERED","duration":0,"contentType":"video/mp4","contentId":"http://178.62.196.98/tearsofsteel/Manifest","metadata":{"subtitle":"NPO 2 HD - 12:30 - 12:57","images":[{"url":"https://www.me.tv/static-images/731/195/36110410.p_210x303_351963204004.jpg","height":0,"width":0},{"url":"https://www.me.tv/static-images/30/345/npo2_151x104_256535620339.png","height":0,"width":0}],"duration":0,"title":"Man Bijt Hond","StreamType":"LIVE","metadataType":1}},"requestId":7,"autoplay":true}} (index):122
         [104.756s] [cast.receiver.MediaManager] Sending error message to 5:com.me.orionandroid-8 cast_receiver.js:591
         [104.762s] [cast.receiver.IpcChannel] IPC message sent: {"namespace":"urn:x-cast:com.google.cast.media","senderId":"5:com.me.orionandroid-8","data":"{\"requestId\":7,\"type\":\"LOAD_FAILED\"}"} cast_receiver.js:591
         [104.545s] [cast.player.api.Player] error media_player.js:715
        ############ mediaHostState:Fatal Error: code = 1 

What is the expected output? What do you see instead?
Normal Playback.

What version of the product are you using? On what operating system?
Media Player Library 1.0.

Original issue reported on code.google.com by trnl...@gmail.com on 18 Dec 2014 at 11:58

Attachments:

GoogleCodeExporter commented 9 years ago
What codec are you using to encode the stream?  Also, can you provide the 
manifest file for us to test?

Original comment by jonathan...@google.com on 19 Dec 2014 at 12:19

GoogleCodeExporter commented 9 years ago
Jonathan,

You can actually find a link to the stream here:
http://178.62.196.98/tearsofsteel/Manifest

-vova

Original comment by trnl...@gmail.com on 19 Dec 2014 at 5:03

GoogleCodeExporter commented 9 years ago
h264 codec

-vova

Original comment by trnl...@gmail.com on 22 Dec 2014 at 6:55

GoogleCodeExporter commented 9 years ago

Original comment by jonathan...@google.com on 22 Dec 2014 at 11:08

GoogleCodeExporter commented 9 years ago
It looks like the repro stream http://178.62.196.98/tearsofsteel/Manifest is no 
longer available. Would it be possible to bring it back up so that we could 
investigate the problem?

Original comment by vadi...@google.com on 5 Jan 2015 at 10:57

GoogleCodeExporter commented 9 years ago
Sure! Should be OK now: http://178.62.196.98/tearsofsteel/Manifest

Original comment by trnl...@gmail.com on 6 Jan 2015 at 5:45

GoogleCodeExporter commented 9 years ago
Audio codec private data in the manifest confuses Chrome media pipeline.  If 
you leave it blank (which forces MPL to generate it) or change it to something 
like "1210", it makes the stream play.

Original comment by vadi...@google.com on 6 Jan 2015 at 6:24

GoogleCodeExporter commented 9 years ago
Closing this issue as this is the intended behavior.

Original comment by jonathan...@google.com on 7 Jan 2015 at 6:58

GoogleCodeExporter commented 9 years ago
Thank you for clarification!

Original comment by trnl...@gmail.com on 11 Jan 2015 at 8:28