ios - Segmented WebVTT not working with Chromecast -


I would WebVTT format'm trying to provide closed captions support with Chromecast to your iOS app files section (with .m3u8 extension) but the videos are hosted on a CDN and closed caption files that are hosted on a different server. The URLs for these WebTV files are not provided separately from the video master playlist. These subtitles are working with Chromecast rather than the original iOS player.

I was divided into a general WebVTT (non stretches tried hosting) the same file server on which the segmented hosted WebVTT file and it works fine. So, the problem is with parts divided into WebVTT.

Therefore, it is possible to get distributed WebVTT files based on Chromecast, depending on where they are hosted separately. Am I using a custom receiver? I especially made of this support is the need to add anything to the file receiver

This is how I media track for the closed caption:

  GCKMediaTrack * Track = [[GCKMediaTrack alloc] initWithIdentifier: 1 contentIdentifier: @ "https: //domain_name/track_name.m3u8" contentType: @ "text / webvtt" type: GCKMediaTrackTypeText textSubtype: GCKMediaTextTrackSubtypeCaptions Name: @ "English" languageCode: @ "en -US "customData: zero];  

If we passed one section it work properly

  GCKMediaTrack * track = [[GCKMediaTrack alloc] initWithIdentifier :. 1 contentIdentifier: @ "https: //domain_name/segments/track_index.webvtt" contentType: type @ "text / webvtt": GCKMediaTrackTypeText textSubtype: GCKMediaTextTrackSubtypeCaptions Name: @ "English" languageCode: @ "en-US" customData: zero] ;  


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -