Subtitles for AVPlayer/MPMoviePlayerController
I am using m3u8 video format for streaming the video and now I need to display subtitles for the same. I searched in Apple Documentation and found that I can achieve this by using the closedCaptionDisplayEnabled property of AVPlayer . I am interested to know what should be the format of subtitles? Will the .srt format do? Also can I achieve the same using MPMoviePlayerController ? Any help is appreciated. Update 10/30/2018: It's worth checking this answer by an Apple engineer (Thanks to @allenlini for pointing it out ). He suggests a solution involving AVAssetResourceLoaderDelegate . I haven't