The Closed Caption track cannot be read in Media3 Player.
Could you please check what the issue is?
Using this method, I can only read the audio and video tracks
Tracks xx = player.getCurrentTracks();
for (int i = 0; i < xx.getGroups().size(); i++) {
int trackType = xx.getGroups().get(i).getMediaTrackGroup().type;
if (trackType == C.TRACK_TYPE_TEXT) {
textTrackGroups.add(xx.getGroups().get(i).getMediaTrackGroup());
}
}
Below is the video link.
http://www.melodvb.com/test/cc.mp4
The Closed Caption track cannot be read in Media3 Player.
Could you please check what the issue is?
Using this method, I can only read the audio and video tracks
Below is the video link.
http://www.melodvb.com/test/cc.mp4