Why do I see an additional "CC1" entry in the subtitle menu in Safari/iOS?
The behaviour can be observed when using the Android SDK, iOS SDK, or Web SDK in Safari on macOS/iOS. As part of the "automatic media selection feature" on iOS, the presence of closed captions and subtitles, or their absence, must be known prior to playback.
Bitmovin Player UI - Subtitle Selection menu
Native Player - Subtitle Selection menu
By default, and unless this is explicit within the Master Playlist, the alternate track button, or "CC" button, will be displayed along with the various other player controls and will be set to the "Unknown CC" option as shown above.
How can I get rid of this entry?
There are two ways of removing this additional selectable subtitle:
- When creating your HLS master playlist: Set the
CLOSED-CAPTIONS
attribute toNONE
in the HLS Master Playlist file for all variant streams as described in the HLS specification#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=6214307,CODECS="avc1.4d4028,mp4a.40.2",AUDIO="surround",RESOLUTION=1921x818 video/6000kbit.m3u8
- Bitmovin Player Web SDK
v8
- If you know that this caption track is not needed, it is possible remove it from the player directly in the app without modifying the manifest. In this case,player.subtitles.remove(String trackID)
API call can be used as soon as the player discovered this track. You can obtain its trackID withplayer.subtitles.list()
, or by listening to thesubtitleadded
event
Updated 12 months ago