Set format.sampleMimeType to TEXT_EXOPLAYER_CUES in SubtitleExtractor.
Samples are serialized using our custom CueEncoder. Information in which format samples are encoded is needed by Renderer to decide which decoder to use. Extractor receives Format object in the constructor and prepares new Format object with sampleMimeType moved to codecs field and new sampleMimeType set to "custom serialized exoplayer Cue". PiperOrigin-RevId: 391739866
Showing
with
15 additions
and
2 deletions
Please
register
or
sign in
to comment