2023-06-12
·
142 commits
to main
since this release
Media3: v1.1.0-rc01
June 21, 2023
androidx.media3:media3-*:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.
- ExoPlayer:
- Add support for including Common Media Client Data (CMCD) in the outgoing requests of adaptive streaming formats DASH, HLS, and SmoothStreaming. The following fields,
br,bl,cid,rtp, andsid, have been incorporated (#8699). API structure and API methods:- CMCD logging is disabled by default, use
MediaSource.Factory.setCmcdConfigurationFactory(CmcdConfiguration.Factory cmcdConfigurationFactory)to enable it. - All keys are enabled by default, override
CmcdConfiguration.RequestConfig.isKeyAllowed(String key)to filter out which keys are logged. - Override
CmcdConfiguration.RequestConfig.getCustomData()to enable custom key logging.
- CMCD logging is disabled by default, use
- Add additional action to manifest of main demo to make it easier to start the demo app with a custom
*.exolist.jsonfile (#439).
- Add support for including Common Media Client Data (CMCD) in the outgoing requests of adaptive streaming formats DASH, HLS, and SmoothStreaming. The following fields,
- Extractors:
- FMP4: Fix issue where
TimestampAdjusterinitializes a wrong timestamp offset with metadata sample time from emsg atom (#356).
- FMP4: Fix issue where
- Session:
- Add default implementation to
MediaSession.Callback.onAddMediaItemsto allow requestedMediaItemsto be passed ontoPlayerif they haveLocalConfiguration(e.g. URI) (#282). - Add "seek to previous" and "seek to next" command buttons on compact media notification view by default for Android 12 and below (#410).
- Add default implementation to
- DASH Extension:
- Fix a bug where re-preparing a multi-period live Dash media source produced a
IndexOutOfBoundsException(#10838).
- Fix a bug where re-preparing a multi-period live Dash media source produced a
- HLS Extension:
- Add
HlsMediaSource.Factory.setTimestampAdjusterInitializationTimeoutMs(long)to set a timeout for the loading thread to wait for theTimestampAdjusterto initialize. If the initialization doesn't complete before the timeout, aPlaybackExceptionis thrown to avoid the playback endless stalling. The timeout is set to zero by default (#323).
- Add
- Remove deprecated symbols:
- Remove deprecated
MediaItem.PlaybackProperties, useMediaItem.LocalConfigurationinstead. Deprecated fieldMediaItem.playbackPropertiesis now of typeMediaItem.LocalConfiguration.
- Remove deprecated