Closed captioning allows people with hearing disabilities to have access to video programming by displaying the audio portion of the video as text on the screen.
Closed captioning differs from subtitles in that subtitles are typically not in the same language as the audio and subtitles do not typically include information about background sounds such as the sound of a door slamming or music.
Closed captions are part of the data packets of the MPEG-2 video streams inside the video transmission stream. The Android PSDK supports rendering 608 and 708 closed captioning, when delivered as part of the video transport stream over HLS. Additionally, it supports WebVTT as a sidecar caption option. You can:
Beyond the simple closed-caption-related API exposed by the MediaPlayerItem interface, the MediaPlayer interface allows you to control various parameters that dictate how closed-captions data is rendered by the underlying video engine.