2023-05-16
·
146 commits
to main
since this release
Media3: v1.0.2
May 18, 2023
androidx.media3:media3-*:1.0.2 is released. Version 1.0.2 contains these commits.
This release corresponds to the ExoPlayer 2.18.7 release.
This release contains the following changes since the 1.0.1 release:
- Core library:
- Add
Buffer.isLastSample()that denotes ifBuffercontains flagC.BUFFER_FLAG_LAST_SAMPLE. - Fix issue where last frame may not be rendered if the last sample with frames is dequeued without reading the 'end of stream' sample. (#11079).
- Add
- Extractors:
- Fix parsing of H.265 SPS in MPEG-TS files by re-using the parsing logic already used by RTSP and MP4 extractors (#303).
- Text:
- SSA: Add support for UTF-16 files if they start with a byte order mark (#319).
- Session:
- Fix issue where
MediaControllerdoesn't update its available commands when connected to a legacyMediaSessionCompatthat updates its actions. - Fix bug that prevented the
MediaLibraryServicefrom returning null for a call from System UI toCallback.onGetLibraryRootwithparams.isRecent == trueon API 30 (#355). - Fix memory leak of
MediaSessionServiceorMediaLibraryService(#346). - Fix bug where a combined
Timelineand position update in aMediaSessionmay cause aMediaControllerto throw anIllegalStateException.
- Fix issue where