- Audio:
- Add
onAudioTrackInitialized
andonAudioTrackReleased
callbacks toAnalyticsListener
,AudioRendererEventListener
andAudioSink.Listener
.
- Add
- Metadata:
MetadataDecoder.decode
will no longer be called for "decode-only" samples as the implementation must return null anyway.
- Session:
- Add session demo module for Automotive OS and enable session demo for Android Auto.
- DASH Extension:
- Allow multiple of the same DASH identifier in segment template url.
- RTSP Extension:
- Use RTSP Setup Response timeout value in time interval of sending keep-alive RTSP Options requests (#662).
- Decoder Extensions (FFmpeg, VP9, AV1, MIDI, etc.):
- Add
DecoderOutputBuffer.shouldBeSkipped
to directly mark output buffers that don't need to be presented. This is preferred overC.BUFFER_FLAG_DECODE_ONLY
that will be deprecated. - Add
Decoder.setOutputStartTimeUs
andSimpleDecoder.isAtLeastOutputStartTimeUs
to allow decoders to drop decode-only samples before the start time. This should be preferred toBuffer.isDecodeOnly
that will be deprecated.
- Add