arabenseifer / google-cast-sdk

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

Chromecast does not display captions using segmented webvtt in HLS stream #498

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I am using a custom receiver app and trying to play a HLS stream with segmented 
webvtt.
I have got CORS support setup going and stream works fine, however subtitles do 
not show up.

HLS stream with segmented webvtt : 
https://dramafever-i.akamaihd.net/i/138561/region1/2d85d29f24266_,6269936,626993
8,6269937,.mp4.csmil/master.m3u8?hdnea=st=1422635395~exp=61422635395~acl=/i/1385
61/region1/2d85d29f24266_*~hmac=146549f7a0dfcabf4183eef0ee8f56f21ee32b8ff5d3e7fe
063ff949a471f493&cc1=name=English~default=no~forced=no~uri=http://www.dramafever
-subtitles.com.edgesuite.net/11/116/index.m3u8~lang=en

Subtitles appear fine on iOS, AppleTV, and QuickTime Player on Safari browser.
If you download the m3u8 playlist, you would see that English subtitles is part 
of the master playlist.
However it does not show as one of the stream by the Media player library.
window.player.getStreamingProtocol ().getStreamCount () = 1 which is just the 
video stream.

What is the expected output? What do you see instead?
English Subtitles should appear and media player library should recognize 
subtitles as part of the stream.

What version of the product are you using? On what operating system?
Receiver app v2.0.0
Media Player Library v1.0

Please provide any additional information below.
Attached is the .m3u8 file for the HLS stream.

Original issue reported on code.google.com by ta...@dramafever.com on 30 Jan 2015 at 9:14

Attachments:

GoogleCodeExporter commented 9 years ago
The #EXTM3U and #EXT-X-MEDIA tags in the master playlist are separated only by 
'\r'. This makes MPL parser not split the line when it parses the playlist.  
Please be sure that the line separator includes a newline character '\n'.

Original comment by vadi...@google.com on 4 Feb 2015 at 5:11

GoogleCodeExporter commented 9 years ago
Thanks, we will get this fixed on our end and update the ticket.

Original comment by ta...@dramafever.com on 4 Feb 2015 at 5:24

GoogleCodeExporter commented 9 years ago
Closing this issue for now.  If you are still experiencing issues, let us know 
and we can reopen the ticket.

Original comment by jonathan...@google.com on 9 Feb 2015 at 6:24