oralodabas / google-cast-sdk

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

Chromecast default player plays video and then stop itself #558

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Use this code to pass a url to chrome cast

[[GCKMediaInformation alloc] 
initWithContentID:@"http://vtv.live.cdn.fptplay.net/vtvlive/smil:vtv1sd_hls.smil
/playlist.m3u8"
                                        streamType:GCKMediaStreamTypeLive
                                       contentType:@"application/vnd.apple.mpegurl"
                                          metadata:metadata
                                    streamDuration:INFINITY
                                        customData:nil];

    //cast video
    [_mediaControlChannel loadMedia:mediaInformation autoplay:TRUE playPosition:0];

What is the expected output? What do you see instead?
I expect to see the the stream on chrome cast tv. But The stream is played for 
about 30' to a minute then stop completely

What version of the product are you using? On what operating system?
Xcode Simulator, Lastest chromecast firmware. 

Im not sure if how I send the url is correct. The video is played for about 30' 
and stop.

Original issue reported on code.google.com by vantienk...@gmail.com on 9 Apr 2015 at 12:06

GoogleCodeExporter commented 9 years ago
Can you provide the error logs?

Original comment by jonathan...@google.com on 10 Apr 2015 at 12:44

GoogleCodeExporter commented 9 years ago
Your stream is hitting this error in the Chrome media pipeline:

https://code.google.com/p/chromium/codesearch#chromium/src/media/formats/mp2t/es
_adapter_video.cc&sq=package:chromium&l=81

Original comment by vadi...@google.com on 16 Apr 2015 at 7:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, 
this is the log from my app. It stops at second 85. 
I tried DefaultMediaPlayer and StyleMediaReceiver for the receiver app but 
neither of them is works.

Thanks

Original comment by vantienk...@gmail.com on 23 Apr 2015 at 12:50

Attachments:

GoogleCodeExporter commented 9 years ago
Can you double check that your stream isn't missing any timestamps?

Original comment by jonathan...@google.com on 28 Apr 2015 at 5:02

GoogleCodeExporter commented 9 years ago
Closing this ticket due to a lack of response. If you can verify that your 
stream has the correct timestamps but you are still seeing the issue, let us 
know and we can reopen the ticket.

Original comment by jonathan...@google.com on 5 May 2015 at 5:02