Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1265 commits
Select commit Hold shift + click to select a range
0bfd266
Disable stuck-playing detection in `ImagePlaybackTest`
icbaker Dec 17, 2025
7380b26
Merge pull request #2938 from DolbyLaboratories:dlb/dv-p20/dev
copybara-github Dec 17, 2025
b6fac68
Add more logging to invalid PlayerInfo update from session
tonihei Dec 17, 2025
b1c7ac5
Increase limit for acceptable audio latency values
tonihei Dec 17, 2025
8546cc3
Fix DV fallback codec playback
tonihei Dec 18, 2025
7594c53
Don't update periods while ENDED or IDLE
tonihei Dec 18, 2025
3cb6bf7
Extend documentation for isTrusted
tonihei Dec 19, 2025
f03c87c
Add missing `@UnstableApi` markings
andrewlewis Dec 19, 2025
dc1709f
Document thread requirements of pauseAllPlayersAndStopSelf
marcbaechinger Dec 23, 2025
823aae1
Handle RTP timestamp wraparound in RtpReaderUtils
microkatz Dec 24, 2025
702ade7
Derive isPlayingAd from existing position info
marcbaechinger Dec 30, 2025
487bdca
Remove warning regarding undefined equals of CharSequence
marcbaechinger Dec 30, 2025
4738c31
Make raw JSON of asset list accessible
marcbaechinger Dec 30, 2025
dd8b47a
Ensure format propagation after resetPosition in DecoderVideoRenderer
microkatz Dec 30, 2025
3aaa048
RemoteCastPlayerTest: Add notifyStatusUpdate param to updateTimeline
AquilesCanta Dec 31, 2025
69c0b1e
RemoteCastPlayer: Add callback for media queue changes
AquilesCanta Dec 31, 2025
a3c44a7
Fix lossy conversions in SilenceMediaSource
ivanbuper Dec 31, 2025
9f0a6b3
VobSub: Handle SPUs with critical info in the final control sequence
icbaker Jan 2, 2026
8ab667a
Add missing `@OptIn` annotations to `DemoPlaybackService`
icbaker Jan 2, 2026
b940c84
Ensure consistent use of `PlaybackStateCompat`
icbaker Jan 2, 2026
251e85e
Add some logging to VobsubParser
icbaker Jan 2, 2026
5aab772
Check Bundle validity of extras
tonihei Jan 5, 2026
8df894d
Remove redundant `retrieveUsingInstance_` from `MetadataRetrieverTest`
rohitjoins Jan 5, 2026
b7f49fb
Enable constant bitrate seeking for ADTS and AMR in MetadataRetriever
rohitjoins Jan 5, 2026
7110c62
Set full AudioAttributes for local media sessions
tonihei Jan 6, 2026
f165f1c
Merge pull request #2840 from nift4:rgmp3info
copybara-github Jan 6, 2026
c58a503
Remove unintended gaps in system notification
tonihei Jan 7, 2026
75f6842
Avoid repeated wrapping of TimelineWithUpdatedMediaItem
tonihei Jan 8, 2026
35684fc
Add clean up util for corrupted ArrayMap caches in tests
tonihei Jan 8, 2026
ba042da
Enable strict mode for session and ExoPlayer demo apps
tonihei Jan 8, 2026
322390b
Move emergency WakeLock/WifiLock release to new thread
tonihei Jan 8, 2026
82efd4a
Tag traffic stats thread in DefaultHttpDataSource
tonihei Jan 9, 2026
fbbb709
Add additional bitmap scaling for large notification icon
tonihei Jan 9, 2026
f7f9d3e
Add missing Javadoc for `FrameExtractor.getThumbnail()`
rohitjoins Jan 9, 2026
84788f8
Handle edge case in Wake/WifiLock emergency release
tonihei Jan 12, 2026
4f233d2
Adds a null-check for `getAdsManager()`
a-googler Jan 12, 2026
e698d2b
Make FakeVideoRendererTest more deterministic
tonihei Jan 13, 2026
51a591a
More cleanly separate format support between sink and output provider
tonihei Jan 13, 2026
4e17f91
Add workaround for decoder reuse on frame rate changes on API<30
tonihei Jan 14, 2026
ebd7f0c
Add nullness checking for `AdEvent.getAd()`
a-googler Jan 15, 2026
9a2617a
Add e2e test for multi segment DASH and HLS playbacks
tonihei Jan 16, 2026
f9b86ef
Update `-if` R8 rule to detect impls of `ExoPlayer.setVideoEffects`
icbaker Jan 20, 2026
22dc0e5
Fix initial discontinuity bug and add e2e tests for clipped playback
tonihei Jan 20, 2026
c4b4464
Correctly honor author, writer and composer in metadata conversion
marcbaechinger Jan 21, 2026
1d02f88
Fix NPE in `FrameExtractor` when preparing new `MediaItem`
rohitjoins Dec 15, 2025
1681d6b
Clear active audio processors when resetting `AudioProcessingPipeline`
ivanbuper Dec 15, 2025
ec60c40
Invalidate encoder & decoder caches when adding shadow codecs
icbaker Dec 15, 2025
8964805
Change string for `UNSUPPORTED_SUBTYPE` int from `_TYPE` to `_SUBTYPE`
icbaker Dec 15, 2025
ad1334d
Migrate usages to `inspector.MediaExtractorCompat`
rohitjoins Dec 15, 2025
c16e4eb
Add missing test dependency from `muxer` to `inspector`
icbaker Dec 16, 2025
e452678
Remove support for specific AC-4 profiles for Automotive scenarios
microkatz Dec 16, 2025
f744dc8
`Player`: Document options when an 'unavailable' method is called
icbaker Dec 16, 2025
f012ad5
Update release notes for 1.9.1 release.
rohitjoins Jan 23, 2026
01c3757
Bump Media3 version to 1.9.1
rohitjoins Jan 23, 2026
300b116
Fix flakiness in ExoPlayerTest.internalDiscontinuityAtNewPosition
tonihei Jan 23, 2026
c8f7851
Use TextUtils to compare CharSequence instances
marcbaechinger Jan 26, 2026
622f473
Avoid ProgressiveMediaSource propagating out-of-date timeline info
tianyif Jan 27, 2026
7bce838
Fix transfer from Cast to Local
AquilesCanta Jan 28, 2026
ccfc4f3
Add release note for Cast fix
tonihei Feb 5, 2026
f584849
Fix workaround logic for system UI gaps
tonihei Feb 4, 2026
9b355f7
Include "unknown" manufacturer in the devices requiring workaround
tonihei Feb 4, 2026
6ff9631
Fix `FakeExtractorInput` O(N^2) resizing during reads and peeks
rohitjoins Feb 4, 2026
576d491
Bump version to 1.9.2
tonihei Feb 3, 2026
053cb73
Update release notes for 1.9.2 and add missing link
tonihei Feb 5, 2026
630c1af
Update release notes for 1.9.2 and add missing link
tonihei Feb 5, 2026
c00b81b
Remove effect-ndk module
kggibson Feb 18, 2026
0f72048
Remove effect-ndk module
kggibson Feb 18, 2026
12ce993
Add Spatializer channel masks field to AudioCapabilities
trevorknight Feb 18, 2026
e2f1fd6
Fix inband EMSG v0 timestamps
tonihei Feb 18, 2026
f93ac08
Update audiosink dump test data for mp4/sample_mhm1_prefaudiolang.mp4
rohitjoins Feb 18, 2026
2dc0516
Use AudioCapabilities to determine IAMF output layout
trevorknight Feb 19, 2026
7d0bfe8
Remove ThinLTO flag to fix x86_64 IAMF decoder build
rohitjoins Feb 19, 2026
98d96a1
Fix X-SNAP implementation
marcbaechinger Feb 19, 2026
30cc208
Turn SKIP discontinuity into an AUTO transition for ads
marcbaechinger Feb 20, 2026
277a9b0
Remove deprecated MediaSource.prepareSource method
tianyif Feb 19, 2026
a11452c
Update release notes for media3:1.10.0-beta01 release
kggibson Feb 23, 2026
ef00436
Version bump to media3:1.10.0-beta01
kggibson Feb 23, 2026
c982bb9
Disable `OpusPlaybackTest`
icbaker Feb 24, 2026
4f16349
Clarify the scope of `MetadataRetriever`
rohitjoins Feb 23, 2026
aeb7be0
Fix Cue's javadoc type
oceanjules Feb 23, 2026
7520c61
Disable `OpusPlaybackTest`
icbaker Feb 24, 2026
b7cdbdf
Apply `common_library_config` to application modules too
icbaker Feb 24, 2026
7fb3c26
Document 1.9 change in Cast's queue load message
AquilesCanta Feb 24, 2026
6946857
Fix proguard tests to use the instrumentation or app context as needed
icbaker Feb 25, 2026
56577b9
Fix float PCM endianness handling in MP4 extraction
rohitjoins Feb 25, 2026
34900ae
Improve/clean up some of the native extension instructions
icbaker Feb 25, 2026
f8f3412
Fix duplicated javadoc on `ProgressiveMediaSource` constant
icbaker Feb 25, 2026
b7f7638
Change the RELEASENOTES CAF link
AquilesCanta Feb 25, 2026
f8814fd
Remove obsolete notifyAll() calls
marcbaechinger Feb 27, 2026
2537a32
Fix `FrameExtractor` deadlock on `VideoFrameProcessingException`
rohitjoins Feb 27, 2026
495ba6e
Notify PreloadControl after period.continueLoading early exits at EOS
tianyif Feb 27, 2026
54d9296
Hide position/duration text view from accessibility service
marcbaechinger Mar 3, 2026
fb911c6
Relax VideoFrameProcessingTaskExecutor timeout on emulators
rohitjoins Mar 3, 2026
a18fe81
Optimize FrameExtractor by preventing redundant shader recompilations
rohitjoins Mar 3, 2026
79684ee
Mark `transformer/mh` tests with `@Ignore`
icbaker Mar 4, 2026
ef170a3
Extend logic to get max notification icon size to API<31
tonihei Mar 4, 2026
e57d553
Ignore flaky `CompositionPlayerSeekTest`
icbaker Mar 4, 2026
0099095
Respect original offset in ParsableNalUnitBitArray
ychaparov Mar 5, 2026
31f6653
[ui-compose-m3] Refactor Player to take in `showControls`
oceanjules Mar 5, 2026
4d00643
Update translations
kim-vde Mar 5, 2026
e06b372
Move Player and ProgressSlider to ExperimentalApi annotation
oceanjules Mar 5, 2026
624dcf3
Ignore unexpected `mdta` metadata rather than throwing
andrewlewis Mar 9, 2026
3318000
Format release notes
kim-vde Mar 9, 2026
8c458c2
Update release notes for 1.10.0-rc01
kim-vde Mar 9, 2026
a412a71
Bump version number for 1.10.0-rc01
kim-vde Mar 9, 2026
08a33de
Fix offload playback readiness and presentation end handling.
a-googler Mar 11, 2026
f626232
Fix offload playback readiness and presentation end handling.
a-googler Mar 11, 2026
3266250
Add release note for https://github.com/androidx/media/commit/3a4987a…
tonihei Mar 12, 2026
629390e
Update version to 1.9.3
icbaker Mar 12, 2026
bf40d7a
Update release notes for 1.9.3
icbaker Mar 12, 2026
e3049e2
Add release note for https://github.com/androidx/media/commit/3a4987a…
tonihei Mar 12, 2026
34e9564
Bump version to 1.10.0-rc02
kim-vde Mar 12, 2026
a601e8e
Add release notes for 1.10.0-rc02
kim-vde Mar 12, 2026
9b8b13d
Merge branch 'release' into release-1.9.3
icbaker Mar 16, 2026
82ea60d
HlsMediaPeriod: Generate StreamKeys for all streams in redundant group
tianyif Mar 16, 2026
f734434
Fix SysUI crash/device reboot issue on API 29 for specific bitmap size
tonihei Mar 19, 2026
ba1a742
Fix ArrayIndexOutOfBoundsIndexException with unavailable preroll
marcbaechinger Mar 20, 2026
16356f8
Fix regression in RTSP H264/H265 caused by incorrect sample size resets
microkatz Mar 20, 2026
6d157a4
Update release notes for 1.10.0-rc03
marcbaechinger Mar 24, 2026
5c43a67
Bump version to media3:1.10.0-rc03
marcbaechinger Mar 24, 2026
3517ef9
Update version number for 1.10.0 release
kggibson Mar 25, 2026
9a86cf8
Update release notes for 1.10.0
kggibson Mar 25, 2026
7ce3aa2
Merge branch 'release' into release-1.10.0
kggibson Mar 27, 2026
b9f89fd
Fix `HlsChunkSource` fallback options for subset track selections
rohitjoins Apr 8, 2026
d912393
Remove supply of init data for AV1-based Dolby Vision codecs
microkatz Apr 9, 2026
a44f19f
Refactor playlist initialization in MediaControllerImplLegacy
tonihei Apr 13, 2026
0b93239
Move internal Robolectric tests to third_party
microkatz Apr 14, 2026
af7c389
Fix isTrusted for own app on API<28
tonihei Apr 17, 2026
776f8dc
Fix issue where HLS track exclusion fails in some cases
tonihei Apr 17, 2026
732c7f0
Fix JNI crash in FLAC decoder for invalid UTF-8 metadata
rohitjoins Apr 20, 2026
1822d30
Fix infinite cancellation loop in LL-HLS with CMCD query parameters
rohitjoins Apr 20, 2026
0a6f12a
Remove unnecessary synchro for queueSecureInputBuffer on API 31+
microkatz Apr 20, 2026
30df35d
HLS: Persist the last seen init segment across playlist updates
tianyif Apr 23, 2026
14d6dab
Move audio sink listener registration to enable
tonihei Apr 23, 2026
156ba05
Add workaround to GTS test to force set operating rate
tonihei Apr 23, 2026
910c402
Fix video track selection for Dolby Vision fallback tracks
tonihei Apr 24, 2026
de3e9e7
Fix crash in SampleQueue when seeking into canceled chunks
tonihei Apr 24, 2026
4a58406
Fix flaky tests in MediaSessionCompatCallbackWithMediaControllerTest
tonihei Apr 27, 2026
14f8248
Improve memory management in av1 decoder
a-googler Apr 27, 2026
a8ef409
Fix redirection of stderr in bazelisk check
rohitjoins Apr 28, 2026
b323c9d
Add specific error codes for failure to render errors.
a-googler Apr 29, 2026
2142ab0
Fix scrubbing mode's intermittent seek prevention for image rendering
microkatz Apr 29, 2026
a2bc304
Fix Mp4Extractor OutOfBounds exception when sample tables are omitted
rohitjoins Apr 30, 2026
a6fa0bd
Add additional logic to improve thread safety in Dav1dDecoder.
a-googler Feb 20, 2026
892b948
Improve error handling in dav1d_jni
a-googler Feb 25, 2026
6e91c59
Fix JNI GlobalRef handling and Surface comparison in dav1d_jni
a-googler Feb 26, 2026
160bce1
Fix race condition with audio session id generation and tunneling mode
microkatz Mar 9, 2026
feac6e4
Ignore flaky `MediaControllerTest` mute/unmute test
icbaker Mar 11, 2026
8ace49c
Fix custom allocator leak in Dav1d JNI layer
a-googler Mar 12, 2026
d2c8897
Fix potential native window lock leak on error in Dav1dDecoder.
a-googler Mar 16, 2026
327c75a
MP3: Prefer stream's declared length if it's shorter than Xing length
icbaker Mar 16, 2026
86fd39e
Fix out-of-bounds read in dav1d JNI.
a-googler Mar 16, 2026
b52dec8
Fix NPE in PreloadMediaPeriodCallback after clearing PreloadMediaPeriod
tianyif Mar 16, 2026
f0470d9
Fix crashes due to runtime exceptions when disabling prewarming
microkatz Mar 19, 2026
c1e789e
Fail fast in FrameExtractor for media without playable video tracks
rohitjoins Mar 19, 2026
5d6e7d5
Fail fast when extracting frames from DRM protected media
rohitjoins Mar 19, 2026
51ac7eb
Use buffer indices in Dav1d JNI to prevent GlobalRef overflows.
a-googler Mar 19, 2026
41aae64
Fix cascading failures from RuntimeExceptions in MetadataRetriever
rohitjoins Mar 20, 2026
6caeee7
Fine tune codec reuse logic for frame rate changes on API<30
tonihei Mar 20, 2026
ebbb06b
Reset pending initial discontinuity in seekTo
tonihei Mar 20, 2026
fa6b242
Fix Javadoc tags from {code} to {@code}
rohitjoins Mar 24, 2026
16b2f37
Increase logging around EINVAL errors for Dav1d
a-googler Mar 24, 2026
0018565
Fix `byte` to `int` conversion in APV codec string generation
icbaker Mar 25, 2026
c554041
Test `DashManifestParser` handling of `supplementalCodecs`
icbaker Mar 25, 2026
e7dee35
Fix JNI pending exception violations in dav1d_jni.cc
a-googler Mar 25, 2026
20de7dc
Fix `ForwardingSimpleBasePlayerTest` to use correct SUT
icbaker Mar 26, 2026
9fcac74
Merge pull request #2978 from nift4:sessionidcb
copybara-github Mar 27, 2026
b2d8e1e
Fix warning about "`Future` has poorly defined `equals()`"
icbaker Mar 30, 2026
32eb3e2
Propagate ForegroundServiceStartNotAllowedException across threads
marcbaechinger Mar 30, 2026
052e6d9
Fix release note for 1.10.0
kggibson Mar 31, 2026
6c3ad8c
Fix binder log spam for known dead binders
tonihei Apr 1, 2026
cf77396
Enable COMMAND_SEEK_TO_MEDIA_ITEM for ACTION_SKIP_TO_QUEUE_ITEM
tonihei Apr 1, 2026
acfe438
Fix crashes b/496199496 & b/496200688
a-googler Apr 1, 2026
15f1698
Unify `FakeTrackSelection` usage in tests
rohitjoins Apr 8, 2026
6621598
Restore progressive seek map updates for fMP4 with multiple sidx boxes
rohitjoins Apr 8, 2026
95d6a27
Update release notes for 1.10.1
kim-vde May 7, 2026
5fb3064
Bump version to 1.10.1
kim-vde May 7, 2026
cf7c39c
Skip scheduled HLS playlists refreshes if no longer primary or active
tianyif Jul 2, 2026
e5acc9b
Implement sequential track selection parameter propagation
tonihei Jul 2, 2026
20f0e8c
Update translations
microkatz Jul 2, 2026
1943573
Filter out non-playable media items during CastPlayer transfer
AquilesCanta Jul 2, 2026
55398c3
Add integration androidTest for `DefaultGlFrameProcessor`
a-googler Jul 2, 2026
fb8f277
Flip the OpenGL textures to system coordinate, on output.
claincly Jul 3, 2026
a4b68df
Report steered pathway ID via LoadEventInfo
tianyif Jul 3, 2026
d529c8a
Add @C.DataType annotation to ParsingLoadable.type
tianyif Jul 3, 2026
1caaa99
Update release notes for 1.11.0-beta01 release
microkatz Jul 6, 2026
a0b0792
Fix TemporaryFolder NoSuchFileException in instrumentation tests.
microkatz Jul 6, 2026
b47fe29
Fix field typo in VideoFrameReleaseHelper class
microkatz Jul 7, 2026
d1272cc
Version bump to media3:1.11.0-beta01
microkatz Jul 6, 2026
3432f7c
Add Builder to LoadEventInfo and update usages
tianyif Jul 2, 2026
d328bd0
Fix PQ tone-mapping NaNs by clamping in GLSL.
ychaparov Jul 8, 2026
e670f72
Resolve variables in HLS downloader child playlists
marcbaechinger Jul 8, 2026
8103b04
Fix scrubbing mode stall that can occur when seeking to 'end of stream'
microkatz Jul 9, 2026
0d67791
Rollback of https://github.com/androidx/media/commit/46eaeee453de9eb9…
tonihei Jul 10, 2026
764253e
Rollback of https://github.com/androidx/media/commit/f9ae33aee882d4af…
marcbaechinger Jul 10, 2026
8465e10
Fix crash for DASH manifests with empty segment timelines
tonihei Jul 13, 2026
7c3cfa9
Fix `Transformer` not querying `isVideoFormatSupported`
claincly Jul 13, 2026
6f542f2
Mp4Extractor: Enforce logical timestamp sorting for IT35 metadata
rohitjoins Jul 13, 2026
7f74a1d
Fix rotation handling and support dynamic size changes
claincly Jul 13, 2026
135d2ad
Stream `KtorDataSource` response body instead of buffering in memory
icbaker Jul 13, 2026
e870ca9
Fix EOS dropping issue across multiple sequences
claincly Jul 13, 2026
0d0fcbd
Fix live stream casting state
tanay187 Jul 14, 2026
7745e47
Fix HLS load position reset when upstream chunks are discarded
tianyif Jul 14, 2026
e906839
Remove CastOptionsProvider from session demo
AquilesCanta Jul 14, 2026
dad7052
Strip HEVC T.35 metadata when applying container HAGC
rohitjoins Jul 14, 2026
242c342
Fix the getStreamKeys after exposing ID3 track for HLS audio renditions
tianyif Jul 15, 2026
9ba5900
Add R8 rules to `effect_ndk` module
icbaker Jul 15, 2026
6aadef3
Fix input frame release timing in BitmapToHardwareBufferProcessor
claincly Jul 15, 2026
b220203
Fix content resume offset calculation for asset list interstitials
marcbaechinger Jul 16, 2026
66d8d7a
Move workarounds disabling logic to DashHostedTest.
tonihei Jul 16, 2026
b333163
Catch ForegroundServiceStartNotAllowedException in stopSelfSafely.
marcbaechinger Jul 16, 2026
bb3d992
Gate detached surface workaround on vendor API level
icbaker Jul 17, 2026
fc38c2c
Fix unexpected onMediaItemTransition event on seek within same item
marcbaechinger Jul 20, 2026
1c24154
Bump version number for 1.11.0-rc01
tianyif Jul 20, 2026
a51f7e9
Update release notes for 1.11.0-rc01
tianyif Jul 21, 2026
458b232
Update Media3 library version to 1.11.0
tianyif Jul 31, 2026
e156aec
Update RELEASENOTES.md for the Media3 1.11.0 stable release
microkatz Aug 3, 2026
2bc2078
Merge branch 'release' into release-3.11.0
microkatz Aug 7, 2026
588a9af
Fix return type of `opusIsSecureDecodeSupported` in `opus_jni.cc`
icbaker Jul 14, 2026
bf37025
Export `JNI_OnLoad` symbols with C linkage across Media3 decoders
icbaker Jul 2, 2026
d5b9ec1
Use RegisterNatives in Media3 native JNI modules.
icbaker Jul 20, 2026
ff11c61
[ui-compose-material3] Fix BottomControls coloring
oceanjules Jul 22, 2026
2d48765
[ui-compose] Fix shutter timing for ContentFrame
oceanjules Jul 23, 2026
73e8dbd
Move HAGC metadata toggling to `Extractor` layer
rohitjoins Jul 24, 2026
06b25fb
Fix DefaultAudioSink hasPendingData for partially written offload data
microkatz Jul 24, 2026
a698d0c
Fix memory corruption when multiple `OpusDecoder` instances coexist
icbaker Jul 28, 2026
d5d6a20
Delegate pending audio track release tracking to AudioOutputProvider
tianyif Jul 28, 2026
e17fa76
Validate ID3 version and bounds in `Id3Peeker`
rohitjoins Jul 29, 2026
56c77de
Fix calculation of content resume offset when segments not in window
marcbaechinger Jul 29, 2026
ed8af68
Propagate EOF as ParserException for an HLS media chunk fully loaded
tianyif Jul 31, 2026
4fef455
Fix division by zero in FixedSampleSizeRechunker
snow2405 Aug 3, 2026
7dcaaea
Fix stall caused when prewarming non-transitioning secondary renderer
microkatz Aug 6, 2026
94e92a0
Fix prewarming resource transfer logic when disabling renderers
microkatz Aug 7, 2026
d0a510c
Avoid race condition on track deselection
tonihei Aug 7, 2026
5d39dde
Fix crash when in-process controller is released in listener
tonihei Aug 17, 2026
3e05287
Allow in-buffer seek when target is before first sample timestamp.
tonihei Aug 17, 2026
75e09a5
Add common ThrowingRunnable interface.
tonihei Aug 17, 2026
e300547
Fix sample timestamp calculation for DASH image tracks with PTO
tonihei Aug 17, 2026
c0e843c
Merge pull request #3374 from oguzhaneksi:fix/ssai-live-join-period-u…
copybara-github Aug 18, 2026
a827bd5
Fix incorrect render of stale frames after a seek with skipped flush.
microkatz Aug 19, 2026
eb2965c
Matroska: Fix seekable timeline with Tracks after Clusters
rohitjoins Aug 19, 2026
71e4112
MPEG-H: Fix UI manager command encoding and memory leak
rohitjoins Aug 19, 2026
383e770
Generalize useInputBuffer to useBuffer
tonihei Aug 19, 2026
d23ba39
Normalize non-positive frame rates in MediaFormatUtil
snow2405 Aug 21, 2026
6ada45c
Add end-to-end test for ITU-T T.35 track muxing
rohitjoins Aug 24, 2026
9b8000d
Merge pull request #3271 from nift4:oddmath
copybara-github Aug 25, 2026
e9757e6
Fix deadlock when legacy MediaBrowser connects to async root or session
tonihei Sep 3, 2026
4b610b1
Update release notes for 1.11.1
microkatz Sep 7, 2026
8c6678b
Bump version to 1.11.1
microkatz Sep 7, 2026
e416146
fix NullPointerException
Vixb1122 Sep 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ body:
options:
- Media3 main branch
- Media3 pre-release (alpha, beta or RC not in this list)
- Media3 1.11.1
- Media3 1.11.0
- Media3 1.10.1
- Media3 1.10.0
- Media3 1.9.2
Expand Down
247 changes: 159 additions & 88 deletions RELEASENOTES.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions demos/compose/src/main/assets/media.exolist.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@
"name": "AV1 Rooftop (Everyframe T35)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/hagc/rooftop_av1_t35track_everyframe_v0.mp4"
},
{
"name": "HEVC Rooftop (Everyframe T35)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/hagc/rooftop_hevc_t35track_everyframe_v0.mp4"
},
{
"name": "HEVC Lights (SDR Base, Sparse T35)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/hagc/lights_hevc_sdrbase_t35track_v0.mp4"
Expand Down
4 changes: 4 additions & 0 deletions demos/main/src/main/assets/media.exolist.json
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,10 @@
"name": "AV1 Rooftop (Everyframe T35)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/hagc/rooftop_av1_t35track_everyframe_v0.mp4"
},
{
"name": "HEVC Rooftop (Everyframe T35)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/hagc/rooftop_hevc_t35track_everyframe_v0.mp4"
},
{
"name": "HEVC Lights (SDR Base, Sparse T35)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/hagc/lights_hevc_sdrbase_t35track_v0.mp4"
Expand Down
3 changes: 0 additions & 3 deletions demos/session/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
android:name="com.google.android.gms.car.application"
android:resource="@xml/auto_app_desc" />

<meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
android:value="androidx.media3.cast.DefaultCastOptionsProvider"/>

<receiver android:name="androidx.mediarouter.media.MediaTransferReceiver" />

<activity
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
releaseVersion = "1.11.0-alpha01"
releaseVersionCode = "1011000001"
releaseVersion = "1.11.1"
releaseVersionCode = "1011001300"
# SDK
compileSdkVersion = "36"
appTargetSdkVersion = "34"
Expand Down
1 change: 1 addition & 0 deletions libraries/cast/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ dependencies {
testImplementation(libs.material)
testImplementation(project(":test-utils"))
testImplementation(libs.robolectric)
testImplementation(libs.test.parameter.injector)
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ public final class CastPlayer extends ForwardingPlayer {
*/
public interface TransferCallback {

TransferCallback DEFAULT =
(sourcePlayer, targetPlayer) ->
PlayerTransferState.fromPlayer(sourcePlayer).setToPlayer(targetPlayer);
TransferCallback DEFAULT = new DefaultCastPlayerTransferCallback();

/**
* Called immediately before changing the active {@link Player}, with the intended use of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,28 +108,35 @@ public CastTimeline getCastTimeline(RemoteMediaClient remoteMediaClient) {
return CastTimeline.EMPTY_CAST_TIMELINE;
}

int currentItemId = mediaStatus.getCurrentItemId();
String currentContentId = checkNotNull(mediaStatus.getMediaInfo()).getContentId();
MediaItem mediaItem = mediaItemsByContentId.get(currentContentId);
updateItemData(
currentItemId,
mediaItem != null ? mediaItem : MediaItem.EMPTY,
mediaStatus.getMediaInfo(),
currentContentId,
/* defaultPositionUs= */ C.TIME_UNSET);

for (MediaQueueItem queueItem : mediaStatus.getQueueItems()) {
long defaultPositionUs = (long) (queueItem.getStartTime() * C.MICROS_PER_SECOND);
@Nullable MediaInfo mediaInfo = queueItem.getMedia();
String contentId = mediaInfo != null ? mediaInfo.getContentId() : UNKNOWN_CONTENT_ID;
mediaItem = mediaItemsByContentId.get(contentId);
MediaItem mediaItem = mediaItemsByContentId.get(contentId);
updateItemData(
queueItem.getItemId(),
mediaItem != null ? mediaItem : mediaItemConverter.toMediaItem(queueItem),
mediaInfo,
contentId,
defaultPositionUs);
}

// Process mediaStatus.getMediaInfo() after mediaStatus.getQueueItems()[...].getMedia(). Static
// queue items in the Cast SDK do not receive dynamic runtime updates (such as transitioning
// from buffered to live upon manifest loading). Updating from mediaStatus.getMediaInfo() second
// ensures that active runtime playback state is preserved and not overwritten by stale queue
// item metadata.
int currentItemId = mediaStatus.getCurrentItemId();
MediaInfo currentMediaInfo = checkNotNull(mediaStatus.getMediaInfo());
String currentContentId = currentMediaInfo.getContentId();
MediaItem mediaItem = mediaItemsByContentId.get(currentContentId);
updateItemData(
currentItemId,
mediaItem != null ? mediaItem : MediaItem.EMPTY,
currentMediaInfo,
currentContentId,
/* defaultPositionUs= */ C.TIME_UNSET);

return new CastTimeline(itemIds, itemIdToData);
}

Expand All @@ -151,6 +158,11 @@ private void updateItemData(
if (defaultPositionUs == C.TIME_UNSET) {
defaultPositionUs = previousData.defaultPositionUs;
}
// The media item can be empty if it originates from another sender. We use previous data as
// itemIdToData is populated when all media items from the queue are updated.
if (mediaItem == MediaItem.EMPTY) {
mediaItem = previousData.mediaItem;
}
itemIdToData.put(
itemId,
previousData.copyWithNewValues(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/*
* Copyright 2026 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.media3.cast;

import android.net.Uri;
import androidx.media3.common.C;
import androidx.media3.common.MediaItem;
import androidx.media3.common.Player;
import androidx.media3.common.PlayerTransferState;
import androidx.media3.common.util.UnstableApi;
import com.google.common.collect.ImmutableList;
import java.util.List;

/**
* The default {@link CastPlayer.TransferCallback} implementation.
*
* <p>Filters out {@link MediaItem}s that do not have a playback URI and adjusts the current media
* item index accordingly.
*/
@UnstableApi
public final class DefaultCastPlayerTransferCallback implements CastPlayer.TransferCallback {

@Override
public void transferState(Player sourcePlayer, Player targetPlayer) {
PlayerTransferState transferState = PlayerTransferState.fromPlayer(sourcePlayer);
List<MediaItem> mediaItems = transferState.getMediaItems();
ImmutableList.Builder<MediaItem> playableMediaItemsBuilder = ImmutableList.builder();
int currentIndex = transferState.getCurrentMediaItemIndex();
int newCurrentIndex = currentIndex;
boolean currentIndexFiltered = false;
for (int i = 0; i < mediaItems.size(); i++) {
MediaItem mediaItem = mediaItems.get(i);
if (isPlayable(mediaItem)) {
playableMediaItemsBuilder.add(mediaItem);
} else if (i < currentIndex) {
newCurrentIndex--;
} else if (i == currentIndex) {
currentIndexFiltered = true;
}
}
List<MediaItem> playableMediaItems = playableMediaItemsBuilder.build();
if (playableMediaItems.size() < mediaItems.size()) {
if (playableMediaItems.isEmpty()) {
newCurrentIndex = C.INDEX_UNSET;
} else {
newCurrentIndex = Math.min(newCurrentIndex, playableMediaItems.size() - 1);
}
PlayerTransferState.Builder builder =
transferState
.buildUpon()
.setMediaItems(playableMediaItems)
.setCurrentMediaItemIndex(newCurrentIndex);
if (currentIndexFiltered) {
builder.setCurrentPosition(0);
}
transferState = builder.build();
}
transferState.setToPlayer(targetPlayer);
}

private static boolean isPlayable(MediaItem mediaItem) {
return mediaItem.localConfiguration != null
&& !Uri.EMPTY.equals(mediaItem.localConfiguration.uri);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public final class DefaultMediaItemConverter implements MediaItemConverter {
private static final String KEY_UUID = "uuid";
private static final String KEY_LICENSE_URI = "licenseUri";
private static final String KEY_REQUEST_HEADERS = "requestHeaders";
private static final String KEY_LIVE_CONFIGURATION = "m3-liveConfiguration";
private static final String KEY_TARGET_OFFSET_MS = "m3-targetOffsetMs";
private static final String KEY_MIN_OFFSET_MS = "m3-minOffsetMs";
private static final String KEY_MAX_OFFSET_MS = "m3-maxOffsetMs";
private static final String KEY_MIN_PLAYBACK_SPEED = "m3-minPlaybackSpeed";
private static final String KEY_MAX_PLAYBACK_SPEED = "m3-maxPlaybackSpeed";

@Override
public MediaItem toMediaItem(MediaQueueItem mediaQueueItem) {
Expand Down Expand Up @@ -165,14 +171,20 @@ public MediaQueueItem toMediaQueueItem(MediaItem mediaItem) {
String contentUrl = mediaItem.localConfiguration.uri.toString();
String contentId =
mediaItem.mediaId.equals(MediaItem.DEFAULT_MEDIA_ID) ? contentUrl : mediaItem.mediaId;
MediaInfo mediaInfo =
// If the MediaItem has a LiveConfiguration, we set the stream type to STREAM_TYPE_LIVE.
// Otherwise, we leave it unset letting the receiver decide whether the item is live.
boolean isExplicitlyLive =
!mediaItem.liveConfiguration.equals(MediaItem.LiveConfiguration.UNSET);
MediaInfo.Builder mediaInfoBuilder =
new MediaInfo.Builder(contentId)
.setStreamType(MediaInfo.STREAM_TYPE_BUFFERED)
.setContentType(mediaItem.localConfiguration.mimeType)
.setContentUrl(contentUrl)
.setMetadata(metadata)
.setCustomData(getCustomData(mediaItem))
.build();
.setCustomData(getCustomData(mediaItem));
if (isExplicitlyLive) {
mediaInfoBuilder.setStreamType(MediaInfo.STREAM_TYPE_LIVE);
}
MediaInfo mediaInfo = mediaInfoBuilder.build();
return new MediaQueueItem.Builder(mediaInfo).build();
}

Expand Down Expand Up @@ -231,12 +243,37 @@ private static MediaItem getMediaItem(
if (mediaItemJson.has(KEY_DRM_CONFIGURATION)) {
populateDrmConfiguration(mediaItemJson.getJSONObject(KEY_DRM_CONFIGURATION), builder);
}
if (mediaItemJson.has(KEY_LIVE_CONFIGURATION)) {
builder.setLiveConfiguration(
getLiveConfiguration(mediaItemJson.getJSONObject(KEY_LIVE_CONFIGURATION)));
}
return builder.build();
} catch (JSONException e) {
throw new RuntimeException(e);
}
}

private static MediaItem.LiveConfiguration getLiveConfiguration(JSONObject json)
throws JSONException {
MediaItem.LiveConfiguration.Builder builder = new MediaItem.LiveConfiguration.Builder();
if (json.has(KEY_TARGET_OFFSET_MS)) {
builder.setTargetOffsetMs(json.getLong(KEY_TARGET_OFFSET_MS));
}
if (json.has(KEY_MIN_OFFSET_MS)) {
builder.setMinOffsetMs(json.getLong(KEY_MIN_OFFSET_MS));
}
if (json.has(KEY_MAX_OFFSET_MS)) {
builder.setMaxOffsetMs(json.getLong(KEY_MAX_OFFSET_MS));
}
if (json.has(KEY_MIN_PLAYBACK_SPEED)) {
builder.setMinPlaybackSpeed((float) json.getDouble(KEY_MIN_PLAYBACK_SPEED));
}
if (json.has(KEY_MAX_PLAYBACK_SPEED)) {
builder.setMaxPlaybackSpeed((float) json.getDouble(KEY_MAX_PLAYBACK_SPEED));
}
return builder.build();
}

private static void populateDrmConfiguration(JSONObject json, MediaItem.Builder mediaItem)
throws JSONException {
MediaItem.DrmConfiguration.Builder drmConfiguration =
Expand Down Expand Up @@ -280,6 +317,31 @@ private static JSONObject getMediaItemJson(MediaItem mediaItem) throws JSONExcep
KEY_DRM_CONFIGURATION,
getDrmConfigurationJson(mediaItem.localConfiguration.drmConfiguration));
}
if (!mediaItem.liveConfiguration.equals(MediaItem.LiveConfiguration.UNSET)) {
JSONObject liveConfigurationJson = getLiveConfigurationJson(mediaItem.liveConfiguration);
json.put(KEY_LIVE_CONFIGURATION, liveConfigurationJson);
}
return json;
}

private static JSONObject getLiveConfigurationJson(MediaItem.LiveConfiguration liveConfiguration)
throws JSONException {
JSONObject json = new JSONObject();
if (liveConfiguration.targetOffsetMs != C.TIME_UNSET) {
json.put(KEY_TARGET_OFFSET_MS, liveConfiguration.targetOffsetMs);
}
if (liveConfiguration.minOffsetMs != C.TIME_UNSET) {
json.put(KEY_MIN_OFFSET_MS, liveConfiguration.minOffsetMs);
}
if (liveConfiguration.maxOffsetMs != C.TIME_UNSET) {
json.put(KEY_MAX_OFFSET_MS, liveConfiguration.maxOffsetMs);
}
if (liveConfiguration.minPlaybackSpeed != C.RATE_UNSET) {
json.put(KEY_MIN_PLAYBACK_SPEED, liveConfiguration.minPlaybackSpeed);
}
if (liveConfiguration.maxPlaybackSpeed != C.RATE_UNSET) {
json.put(KEY_MAX_PLAYBACK_SPEED, liveConfiguration.maxPlaybackSpeed);
}
return json;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,15 @@ public void release_whenCastSessionIsAvailable_releasesBothPlayers() {
public void playerTransfer_whenSourcePlayerIsNonIdle_callsPrepare() {
// We need a non-empty timeline to be in a non-idle state, and check that the target player is
// prepared as a result.
MediaInfo mediaInfo =
new MediaInfo.Builder("https://example.com/media.mp4")
.setStreamType(MediaInfo.STREAM_TYPE_BUFFERED)
.setContentType("video/mp4")
.build();
MediaQueueItem queueItem = new MediaQueueItem.Builder(mediaInfo).setItemId(1).build();
when(mockMediaStatus.getQueueItems()).thenReturn(ImmutableList.of(queueItem));
when(mockMediaStatus.getCurrentItemId()).thenReturn(1);
when(mockMediaStatus.getMediaInfo()).thenReturn(mediaInfo);
when(mockMediaQueue.getItemIds()).thenReturn(new int[] {1});
when(mockRemoteMediaClient.getPlayerState()).thenReturn(MediaStatus.PLAYER_STATE_PLAYING);
castSessionListener.onSessionStarted(mockCastSession, /* sessionId= */ "ignored");
Expand Down
Loading
Loading