Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
571 commits
Select commit Hold shift + click to select a range
e4efc29
Merge pull request #3344 from DolbyLaboratories:dlb/dv-track-selection
copybara-github Sep 3, 2026
9cb1fd8
Fix deadlock when legacy MediaBrowser connects to async root or session
tonihei Sep 3, 2026
c9384e6
[demo-effect] Upgrade minSdk to 24
oceanjules Sep 3, 2026
ae35a8d
Migrate Composition demo player screen to Compose
droid-girl Sep 3, 2026
697b24c
Clean up track ID indexing throughout FragmentedMp4Writer.
snow2405 Sep 3, 2026
6b218e1
[demo-compose] Fix Demo app's usage of MiniController custom artwork
oceanjules Sep 3, 2026
f685492
[demo-compose] Clean up ClippingSlider Kdocs and API surfaces
oceanjules Sep 3, 2026
208b1be
[demo-compose] Remove unused stateless ClippingSlider
oceanjules Sep 4, 2026
8886024
Support 32-bit float PCM audio tracks in Mp4Muxer.
snow2405 Sep 4, 2026
98bdf71
Add Surface validity check in DebugViewShaderProgram.
snow2405 Sep 4, 2026
db6fccc
Attach and resolve synthetic IDs in MediaQueueItem customData.
tanay187 Sep 4, 2026
dfca7a2
[demo-compose] Migrate to non deprecated composables
oceanjules Sep 4, 2026
43e3af7
[ui-compose-material3] Implement PlaybackState and BufferingIndicator
oceanjules Sep 4, 2026
ea85118
[demo-compose] Avoid unnecessary recompositions
droid-girl Sep 7, 2026
ddfcc97
Unregister mediaRouteSelectorListener using DisposableEffect
oceanjules Sep 7, 2026
c2faece
Add logic of estimating throughputs per DASH service location
tianyif Sep 7, 2026
fb43305
[demo-compose] Increase the position thumb's height in `ClippingSlider`
thisshrek Sep 7, 2026
2ef3504
Update release notes for 1.11.1
microkatz Sep 7, 2026
d4381fa
Add ignored test tracking frame drop in FrameAggregator.
snow2405 Sep 7, 2026
23b6473
Bump version to 1.11.1
microkatz Sep 7, 2026
89187bc
Support GPS altitude metadata in MP4 extractor.
snow2405 Sep 7, 2026
8a8ee00
[demo-compose] Remove stale TODOS from `ClippingSlider`
thisshrek Sep 7, 2026
01b2009
Support GPS altitude metadata in MP4 muxer.
snow2405 Sep 7, 2026
8fdd44a
[demo-compose] Document bitmap list constraint for `ClippingSlider`
thisshrek Sep 7, 2026
2118732
Fix flakiness in dynamic scheduling ExoPlayerScrubbingTest
tonihei Sep 8, 2026
22bbd22
Improve Media3 Session interoperability Javadoc documentation
tonihei Sep 8, 2026
b78ae3f
Implement DashContentSteeringTracker
tianyif Sep 8, 2026
67de7b2
Migrate in-flight frame tracking logic to InFlightFrameManager
minagranic-google Sep 9, 2026
0878e27
[demo-compose] Fix progress slider dragging on trimmed media
oceanjules Sep 9, 2026
036dfa4
Align platform session updates in MediaSession
tonihei Sep 9, 2026
2d726a8
Add ImagePlanesFrame and SharedStateReferenceCounter
Zeronfinity Sep 9, 2026
c8adb15
Migrate FrameAggregator to Frame and AsyncFrame.
minagranic-google Sep 9, 2026
1c51639
[demo-compose] Make ClippingSliderState own clippingRangeMs
oceanjules Sep 9, 2026
f1091e4
Migrate ProgressSlider to state-backed Slider(state: SliderState)
oceanjules Sep 9, 2026
ac12480
Support converting release date metadata in DefaultMediaItemConverter
tanay187 Sep 10, 2026
fb12c7e
[demo-compose] Avoid race between tap and move in player gestures
oceanjules Sep 10, 2026
7282da9
Rename unused variable from `_` to `unused` in CastTimelineTrackerTest
tanay187 Sep 10, 2026
ae37610
... compose.material3 G3 drop...
a-googler Sep 10, 2026
9f0f5ac
Handle NaN when determining the frame rate.
a-googler Sep 11, 2026
1fff302
Log warning instead of throwing on GPU release fence timeout.
minagranic-google Sep 11, 2026
c44b35f
Bypass AVC High Profile on Redmi 7a.
claincly Sep 11, 2026
1a9e50b
[demo-compose] Expose CoroutineScope in `ClippingSlider`
thisshrek Sep 11, 2026
2f3c62f
Disallow fast-forwarding when paused in Compose demo
oceanjules Sep 11, 2026
371a632
Add centralized color conversion for ES2.
claincly Sep 11, 2026
64c7be1
Ignore sm-g781w in ExportTest and TransformerSequenceEffectTest
claincly Sep 11, 2026
32b86f2
Integrate DashContentSteeringTracker into DashMediaSource
tianyif Sep 11, 2026
0c996b0
Disable tone mapping on Sony Xperia 1 V.
claincly Sep 12, 2026
c5dffef
Set output color gamut on HDR shader init
claincly Sep 12, 2026
03b3c25
[demo-main] Add CBCS - CENC - CBCS sample to media.exolist.json
a-googler Sep 13, 2026
f76367a
Cleanup: Remove unused import in KtorDataSource
rohitjoins Sep 14, 2026
c660185
Fix broken test
ychaparov Sep 14, 2026
f7d99f9
[demos effect+compose] Migrate to stateful Slider overloads
oceanjules Sep 14, 2026
9345a6a
Prevent seek target frame drop in FrameAggregator.
snow2405 Sep 14, 2026
d019dd5
Move BitmapToHardwareBufferConverter to transformer package
minagranic-google Sep 14, 2026
4572ddc
Support `GL_FLOAT` readback fallback in `BitmapPixelTestUtil`
shahdDaghash Sep 14, 2026
6bf42fb
Report dynamic preroll flags in ProgressiveMediaPeriod
tonihei Sep 14, 2026
e9cfbae
Release HlsContentSteeringTracker in test tearDown
tianyif Sep 14, 2026
7cbf15e
Support parsing <ProducerReferenceTime> in DashManifestParser as
jonathansbrown Sep 14, 2026
f4aeac6
Skip MediaLibraryServiceTest AVRCP test on Android 37.2+
ychaparov Sep 15, 2026
e266366
Support HDR and wide color gamut in GlTextureFrameCompositor
shahdDaghash Sep 15, 2026
4ea6b1e
Wrap index of items and EOS for secondary looping sequences.
minagranic-google Sep 15, 2026
199e40a
Add SDR to HDR gamut explansion
claincly Sep 15, 2026
4aacb8b
Do not report clipping preroll for clips that only set an end position
oguzhaneksi Aug 30, 2026
d4f8639
Add build setup and FrameToSurfaceFrameWriter.
ychaparov Sep 15, 2026
56e694d
Address review comments and format code
tonihei Sep 15, 2026
facb172
Use old bitmap assertion logic in old tests
claincly Sep 16, 2026
ac51165
Support ImagePlanesFrame in SurfaceHolderFrameWriter
Zeronfinity Sep 16, 2026
fd301a9
Add RestrictTo hide-annotation flags to metalava_cmd_for_lint_check
minagranic-google Sep 16, 2026
5c92559
Add SurfaceToFrameWriterAdapter.
ychaparov Sep 16, 2026
d0982e0
Check EXT_YUV_target support before shader compilation
ychaparov Sep 16, 2026
74291bb
Fix visibility of SequenceAssetLoader.onOutputFormat return type.
minagranic-google Sep 16, 2026
e4757ce
Make AdaptiveTrackSelection logic aware of location steering priority
tianyif Sep 16, 2026
e058a93
Collect speed, filter, and overlay metrics in Transformer.
snow2405 Sep 17, 2026
cef7def
Reset RTSP loader wrappers when updating pending seek position
microkatz Sep 17, 2026
cef6343
Close HardwareBuffer wrapper in EncoderFrameWriter.queueInputFrame.
minagranic-google Sep 17, 2026
2474cf5
Add copy-only EnhancementSessionDecorator.
ychaparov Sep 17, 2026
7c4c6fd
Move HandlerExecutor to media3.common.
ychaparov Sep 17, 2026
b52996d
Capture rendered frames in image texture sampling test
Zeronfinity Sep 17, 2026
4e975ca
Report preroll flags in HlsSampleStream and DashMediaPeriod
tonihei Sep 17, 2026
68e2ce6
Fix effect_play_services build
ychaparov Sep 17, 2026
1c356f3
Merge pull request #3398 from oguzhaneksi:fix/clipping-media-period-p…
copybara-github Sep 17, 2026
4e4d487
fix: be less strict about range request responses
costela Sep 4, 2026
6b47f35
test: add test resource for non-206 2xx HTTP range responses
rohitjoins Sep 10, 2026
6322294
Anchor the linear HDR working space on BT.2408 diffuse white.
shahdDaghash Sep 17, 2026
ad614b0
Merge pull request #3410 from costela:leo.antunes/be-less-strict-abou…
copybara-github Sep 17, 2026
3045157
Roll back early-reading renderers when error occurs in future period
microkatz Sep 17, 2026
f0dddfd
Pin libopus to v1.6.1 in decoder_opus build instructions
rohitjoins Sep 18, 2026
5657fa8
Remove Format.hasPrerollSamples
tonihei Sep 18, 2026
8bc8854
Select closer frame in FrameAggregator to avoid frame drops
Zeronfinity Sep 18, 2026
2017262
Pin flac, dav1d, and cpu_features versions in build instructions
rohitjoins Sep 18, 2026
4c95cd9
Do not treat unexpected AudioTrack position decrease as overflow
tonihei Sep 18, 2026
0b395c6
Fix premature metadata cache eviction
rohitjoins Sep 18, 2026
ccc9442
Disable ImaPlaybackTest.playbackWithMidrolls1And7_playsAdsAndContent
icbaker Sep 18, 2026
3839d3d
Fix libopusV2JNI arm64-v8a build with libopus > 1.6.1
rohitjoins Sep 18, 2026
8636fed
Fix test flake in HardwareBufferToGlTextureConverterTest
claincly Sep 18, 2026
e63a27f
Select closest secondary frame in FrameProcessorTestUtil on API 29+
Zeronfinity Sep 18, 2026
6d282af
Preserve Format.id and Format.metadata in HlsRedundantGroup.GroupKey
rohitjoins Sep 20, 2026
866883a
Fix renderer state when transitioning to unprepared period per-stream
microkatz Sep 20, 2026
d96a952
Support negative version 1 tfdt decode times in fMP4
rohitjoins Sep 21, 2026
dfd61ee
Escape literal dot in TtmlParser numeric regexes.
tonihei Sep 21, 2026
520a882
Fix native crash in `OpusDecoder` on decode error
icbaker Sep 21, 2026
b451e1c
Generalize the frame-to-texture converter to arbitrary Frame types
Zeronfinity Sep 21, 2026
57ec8f0
Add missing @Pure annotations to Buffer
ivanbuper Sep 21, 2026
9df38a5
...compose_material3 G3 drop...
a-googler Sep 21, 2026
c12b1e9
Implement `PassthroughAudioCodec`
ivanbuper Sep 21, 2026
a49ad4a
Duplicate FileDescriptor in MediaExtractorCompat
rohitjoins Sep 21, 2026
a3d8191
Fix overlapping sample timelines between MP4 fragments
snow2405 Sep 22, 2026
c7aec2e
Add audio capability callback threading regression test
ajay-jg Aug 20, 2026
af8bec4
Serialize audio capability callbacks on receiver handler
ajay-jg Aug 20, 2026
73d5e5e
Gate audio callback threading workaround to affected devices
ajay-jg Sep 12, 2026
4cd16c8
Switch to Util.postOrRun and Objects.equals
icbaker Sep 21, 2026
acc6a4f
Update the test to not need any reflection
icbaker Sep 21, 2026
407d5ce
Add release note
icbaker Sep 22, 2026
724c539
Remove effect.HardwareBufferFrame
minagranic-google Sep 22, 2026
b3d5bbc
Make DefaultGlFrameProcessor.close() synchronous
ychaparov Sep 22, 2026
355aba5
Add Play services deps and session manager.
ychaparov Sep 22, 2026
97d3d50
Support custom charset detection for SubRip subtitles
hoyahozz Aug 9, 2026
ec380aa
Check which charsets ParsableByteArray supports
icbaker Sep 22, 2026
de19f7b
Fail fast on fatal load errors in MetadataRetriever
rohitjoins Sep 22, 2026
8b20d82
Parameterize some tests, and simplify others
icbaker Sep 22, 2026
441ee05
Revert DefaultSubtitleParserFactoryTest: These tests are re-testing t…
icbaker Sep 22, 2026
c0e2888
make some small fixes in the test in response to review feedback
icbaker Sep 22, 2026
fa30fe2
Share FakeFrameWriter and FakeFrameProcessor.Listener in test_utils.
ychaparov Sep 22, 2026
dc6ebf9
Fix SecurityException when setting media button receiver
marcbaechinger Sep 22, 2026
8bd46e1
Add Context-less constructors to MediaExtractorCompat
rohitjoins Sep 22, 2026
57622bd
Add Profile 20 support in Dolby Vision configuration data
ybai001 Sep 23, 2026
7601847
Increase minSdkVersion to 24
oceanjules Sep 23, 2026
00d628d
Simplify impl to always call postOrRun
icbaker Sep 23, 2026
c13f331
Allow PQ input
claincly Sep 23, 2026
76d406a
Skip Qualcomm SM8250 SoC family on 8k transcoding test
ivanbuper Sep 23, 2026
6034e44
Rename colorspace constants to avoid confusion
claincly Sep 23, 2026
55329aa
Fix ProgressiveMediaPeriod load error retry count and live dataType
tonihei Sep 23, 2026
b35b9c0
Implement the BT.2446 recommended PQ to SDR tone mapping
claincly Sep 24, 2026
ebccde8
Parse DASH CICP properties into Format.colorInfo
microkatz Sep 24, 2026
d44a447
Fix erroneous video frame drops caused by dynamic scheduling probing
microkatz Sep 24, 2026
0a0c81f
Fix HLS fatal load error handling when retries are exhausted
tonihei Sep 24, 2026
39462a2
Add timestamp rewriting to support seeks.
ychaparov Sep 24, 2026
bebbde2
Fix SingleSampleMediaPeriod load error retry handling
tonihei Sep 24, 2026
176aa32
Prepare FrameToGlTextureConverter and ImagePlanesFrame for GL upload
Zeronfinity Sep 24, 2026
f7a27a0
Make MediaSource and DrmSession EventDispatcher final
tonihei Sep 24, 2026
518ccdf
Small test fixes from internal review
icbaker Sep 24, 2026
ae919a5
Preserve ad timeline after stopping live streams
marcbaechinger Sep 24, 2026
dd755ae
Fix DASH and SmoothStreaming manifest load error retry exhaustion
tonihei Sep 24, 2026
8a21ccc
Derive useHdr from workingColorSpace in GlTextureFrameProcessorChain
shahdDaghash Sep 24, 2026
63a53f9
Split transcoding out into a separate method to make it more clear
icbaker Sep 25, 2026
13ccbc0
Merge pull request #3388 from ajay-jg:fix-audio-capabilities-callback…
copybara-github Sep 25, 2026
7f8e6cd
Move 'is matroska' check into SubripParser
icbaker Sep 25, 2026
c4a76e0
Fix ChunkSampleStream fatal error handling and multi-period playback
tonihei Sep 25, 2026
036df2c
Move Mp3Extractor to the end of DefaultExtractorsFactory sniffing order
rohitjoins Sep 25, 2026
9d96e51
Make FileTypes.inferFileTypeFromUri case-insensitive
rohitjoins Sep 25, 2026
76e5b65
Use display-referred light for linear HDR mode
claincly Sep 25, 2026
9f35255
Add complexity field to VideoEncoderSettings
skmshaffer Sep 26, 2026
081a432
Merge pull request #3368 from hoyahozz:fix/2247-srt-charset
copybara-github Sep 26, 2026
5efc8dd
Add ImagePlanesToGlTextureConverter with RGBA_8888 support
Zeronfinity Sep 28, 2026
a9664ba
Set size and format via ImageWriter.Builder in SurfaceHolderFrameWriter
microkatz Sep 28, 2026
822becc
Wire Google Play services EnhancementSession into decorator.
ychaparov Sep 28, 2026
44a16fd
Fix `getControllerForCurrentRequest()` returning `null` on play request
marcbaechinger Sep 28, 2026
78ac4e7
Make `MidiDecoder` public
icbaker Sep 28, 2026
fe8876e
Assert that unused optional classes and resources are stripped by R8.
kristinatrajkovski Sep 28, 2026
d56299e
Add Gradle build configuration for :test-proguard-minimal.
kristinatrajkovski Sep 28, 2026
253c2e4
Strip GLSL shader comments at build time
ychaparov Sep 28, 2026
8cabac1
Rollback of https://github.com/androidx/media/commit/a9664ba5441874d2…
ychaparov Sep 29, 2026
b4a86db
Add GMS Video Enhancement to Transformer demo.
ychaparov Sep 30, 2026
1b205b5
Add GMS Video Enhancement to Composition demo.
ychaparov Sep 30, 2026
cafe746
Prevent state transfer when the source player has an empty timeline
tanay187 Sep 30, 2026
a5ea380
Use smaller Ultra HDR asset in HardwareBufferToGlTextureConverterTest
claincly Sep 30, 2026
d6f12ba
Rollback of https://github.com/androidx/media/commit/f30caf7ef43620fb…
ychaparov Sep 30, 2026
ac86d1e
Merge lib-effect-ndk native code into lib-effect
ychaparov Sep 30, 2026
58f396c
Parse H.264 and H.265 frame packing arrangement SEI in MPEG-TS
microkatz Sep 30, 2026
1fa26ca
Migrate HardwareBufferJni callers from lib-effect-ndk to lib-effect
ychaparov Sep 30, 2026
c74e982
Support optimistic timeline masking in RemoteCastPlayer.
tanay187 Sep 30, 2026
4d7b471
Add `originalDurationUs` to `Timeline.Period`
thisshrek Sep 30, 2026
6e23b48
Make TransformerAndroidTestRunner and ExportTestResult final
ivanbuper Sep 30, 2026
167bcab
Include empty edits in BoxParser duration with omitTrackSampleTable
rohitjoins Sep 30, 2026
c23c821
Restrict HardwareBufferPool to LIBRARY_GROUP
Zeronfinity Sep 30, 2026
36c3b9d
Remove deprecated 6-parameter AdaptationSet constructor.
tonihei Sep 30, 2026
b1b0db5
Prefer mdhd over tkhd duration in MP4 extractors
rohitjoins Sep 30, 2026
fdee8cc
Accumulate keyframe flags across H.264/H.265 RTP access units.
microkatz Sep 30, 2026
38cf6b0
Prevent premature unblocking in ProgressiveMediaPeriod.
tonihei Sep 30, 2026
961b268
Reuse decoded queue artwork bitmaps in MediaSessionLegacyStub
tonihei Sep 30, 2026
2abdbfb
Merge pull request #3427 from DolbyLaboratories:dlb/dv-profile20-hand…
copybara-github Sep 30, 2026
7661356
Update CodecDbLite dataset and gate bitrates by resolution
skmshaffer Sep 30, 2026
c2061b8
Fix MP4 Opus dOps box endianness in BoxParser and Mp4Muxer
microkatz Oct 1, 2026
a303768
Remove media_route_button_background from night colors
tanay187 Oct 1, 2026
048bfe1
Apply soft gamut compression to PQ to BT.709 conversion
claincly Oct 1, 2026
d987e49
Ignore live postroll placeholders in PlayerControlView time bar
marcbaechinger Oct 1, 2026
43394c9
Default to HardwareBufferJni.INSTANCE in Transformer.Builder
ychaparov Oct 1, 2026
1fd6b01
Add ColorConversion GlEffect and output ColorInfo propagation
shahdDaghash Oct 1, 2026
95309ff
Add PFD overload to Muxer
snow2405 Oct 1, 2026
8599223
Consolidate SampleConsumerWrapper looping state into isLoopingEnded.
minagranic-google Oct 1, 2026
1393330
Do not post preload event if PreloadMediaSource.preload() never called
tianyif Oct 1, 2026
d58706b
Test notification update before controller connects.
marcbaechinger Oct 1, 2026
ea9e1f6
Ignore flaky `ExoPlayerTargetLiveOffsetTest` test
icbaker Oct 1, 2026
b9a463f
Keep `FakePlayer` in `STATE_IDLE` when seeking while idle
icbaker Oct 1, 2026
8e73d75
Av1ObuUtilTest: Rename non-HDR10+ metadata constant to HAGC metadata
vigneshvg Oct 1, 2026
4c0d160
Process HDR video in linear light in DefaultGlFrameProcessor
shahdDaghash Oct 1, 2026
6415284
Fix format reads when peeking in MetadataRenderer and TextRenderer.
tonihei Oct 1, 2026
f634eae
Default to HardwareBufferJni.INSTANCE in CompositionPlayer.Builder
ychaparov Oct 1, 2026
5e6b412
Only check written frames in DefaultAudioSink.hasPendingData().
tonihei Oct 1, 2026
8e87d66
[ui-compose-material3] Enable scrubbing by default in ProgressSlider
minagranic-google Oct 1, 2026
e2c28fa
Add TransformerOutput for file paths and Transformer.start entry point.
snow2405 Oct 1, 2026
83a66b9
Add temporal layering schema helpers to EncoderUtil
skmshaffer Oct 1, 2026
45ffc33
Handle negative max volume from legacy PlaybackInfo
marcbaechinger Oct 1, 2026
ce3f01a
Apply soft gamut compression and BT.2446 tone mapping to HLG to SDR
claincly Oct 1, 2026
0cb60bd
[ui-compose] Add `originalDurationMs` to `ProgressState` classes
thisshrek Oct 2, 2026
5f7f312
Rollback of https://github.com/androidx/media/commit/333135aafb21e0dd…
icbaker Oct 2, 2026
07a7d65
Skip flaky DashPlaybackTest test
icbaker Oct 2, 2026
120bbc1
Extract FakeHardwareBufferJniWrapper to test_utils
Zeronfinity Oct 2, 2026
8892ed5
Use canary flag for `ParsableByteArray` limit enforcement
icbaker Oct 2, 2026
a6d2a10
Add MediaStore export support via TransformerOutputResolver.
snow2405 Oct 2, 2026
e4ae0a2
Add emulator tests for SurfaceView rendering in CompositionPlayer
ychaparov Oct 2, 2026
b142afb
Add Builder to DefaultGlFrameProcessor.Factory
shahdDaghash Oct 2, 2026
12e784c
Use DASH ProducerReferenceTime for VOD Window start times
tonihei Oct 2, 2026
a9f3e2c
Use ParsableByteArray.readByte() in extractors.
microkatz Oct 2, 2026
8888a0c
Use 1000nit HLG generated content for testing
claincly Oct 2, 2026
0a500fc
Cancel stale legacy session artwork callbacks
tonihei Oct 2, 2026
fc297f0
Add `DefaultMediaSourceFactory.setAlwaysWrapInClippingMediaSource`
thisshrek Oct 2, 2026
6dd5d56
Refactor plane upload and validation in ImagePlanesToGlTextureConverter
Zeronfinity Oct 2, 2026
826b766
Ignore DASH <UTCTiming> element if schemeIdUri or value is missing
tianyif Oct 2, 2026
e33e9eb
Unify UltraHDR with color conversion logic
claincly Oct 2, 2026
18e0b27
Forward player pause and resume events to IMA DAI StreamPlayer.
a-googler Oct 2, 2026
d671d97
Update release notes.
a-googler Oct 2, 2026
75b0620
Use `kotlinx-coroutines-guava` in session demo app activities.
marcbaechinger Oct 2, 2026
4a3e9cf
Add MediaMetadata.categories and MediaConstants keys
marcbaechinger Oct 3, 2026
ac5d0d1
AudioTrackAudioOutput: Skip flush before release for offloaded tracks
tonihei Oct 5, 2026
9e044eb
Fix bug where Period.assetIdentifier was dropped in DashManifest.copy
marcbaechinger Oct 5, 2026
1e3ef28
Replace '_' variable names with 'unused' in tests
oceanjules Oct 5, 2026
63fbde8
Add androidx.annotation dep to test-proguard-minimal
oceanjules Oct 5, 2026
ccaff9f
Add flag to skip AudioTrack.flush() before release() on API 29+.
tonihei Oct 5, 2026
94a49a5
Define `HAVE_FSEEKO` with an empty replacement list in FLAC JNI build
oceanjules Oct 5, 2026
f8340db
Support calling addMediaItems when the Cast queue is empty
tanay187 Oct 5, 2026
1db5c6d
Ensure VideoSink input stream is registered before handling frames
ychaparov Oct 5, 2026
98896f0
Support nested `ChapterAtom` elements in `MatroskaExtractor`
icbaker Oct 5, 2026
e0a4782
Fix legacy session playlist init when paused
tonihei Oct 5, 2026
fdfd1c9
Remove synchronization from InFlightFrameManager.
minagranic-google Oct 5, 2026
b4c0f27
Cleanup minSdk 24 checks and annotations
oceanjules Oct 5, 2026
b333170
Extract in-band HAGC metadata from AV1 OBUs for MediaCodec
vigneshvg Oct 6, 2026
5c4087e
Support integer PCM audio tracks in Mp4Muxer.
snow2405 Oct 6, 2026
e15fef2
Fix progress reporting on trim optimization fallback
snow2405 Oct 6, 2026
c673611
Fix X-PLAYOUT-LIMIT handling for HLS interstitials
marcbaechinger Oct 6, 2026
eea4eb4
Use PlayerFence in duration-less seek tests.
ychaparov Oct 6, 2026
10a6a1d
Fix memory leak in PreloadMediaSource
tonihei Oct 6, 2026
9760e64
Anchor HDR-to-SDR tone mapping at 203.15 nits and raise gamut knee
claincly Oct 6, 2026
17a5f46
Use `task.builtins` for Java proto codegen in `:demo-session-service`
oceanjules Oct 6, 2026
f68e43c
Adjust AdGroup.contentResumeOffsetUs by delta on asset list load
marcbaechinger Oct 6, 2026
25b7a82
Suppress unused variable warnings for @BindFlag and @BindCanaryMode.
tonihei Oct 6, 2026
47d9203
[ui-compose] Add Player.Events support to PlayerStateObserver
oceanjules Oct 6, 2026
60e0a42
Fix NullPointerException when releasing AdsMediaSource
tonihei Oct 6, 2026
b1e233a
Replace unnamed variable with unused in AudioTrackAudioOutputTest.
tonihei Oct 6, 2026
1057279
Add optional fragments between video key frames
Oct 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
516 changes: 459 additions & 57 deletions RELEASENOTES.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ package androidx.media3.exoplayer.audio {
public static final class AudioTrackAudioOutputProvider.Builder {
ctor public AudioTrackAudioOutputProvider.Builder(@Nullable _: android.content.Context);
method public build(): androidx.media3.exoplayer.audio.AudioTrackAudioOutputProvider;
method @RequiresApi(24) public setAudioTrackBuilderModifier(_: java.util.function.BiConsumer<android.media.AudioTrack.Builder,androidx.media3.exoplayer.audio.AudioOutputProvider.OutputConfig>): androidx.media3.exoplayer.audio.AudioTrackAudioOutputProvider.Builder;
method public setAudioTrackBuilderModifier(_: java.util.function.BiConsumer<android.media.AudioTrack.Builder,androidx.media3.exoplayer.audio.AudioOutputProvider.OutputConfig>): androidx.media3.exoplayer.audio.AudioTrackAudioOutputProvider.Builder;
}

public class ForwardingAudioOutput implements androidx.media3.exoplayer.audio.AudioOutput {
Expand Down Expand Up @@ -1791,6 +1791,7 @@ package androidx.media3.muxer {
method public stop(): void;
method public writeSampleData(_: int, _: java.nio.ByteBuffer, _: android.media.MediaCodec.BufferInfo): void;
field public static final OUTPUT_FORMAT_MP4: int = 0; // 0x0
field public static final OUTPUT_FORMAT_WEBM: int = 1; // 0x1
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ object Media3Modules {
),
"lib-effect-ndk" to
Media3Module("libraries/effect_ndk", "media3-effect-ndk", "Media3 Effect NDK module"),
"lib-effect-play-services" to
Media3Module(
"libraries/effect_play_services",
"media3-effect-play-services",
"Media3 Effect Play Services module",
allowKt = false,
),
"lib-exoplayer" to
Media3Module(
"libraries/exoplayer",
Expand Down Expand Up @@ -233,6 +240,8 @@ object Media3Modules {
"test-exoplayer-playback" to
Media3Module("libraries/test_exoplayer_playback", includeInCompositeBuild = false),
"test-proguard" to Media3Module("libraries/test_proguard", includeInCompositeBuild = false),
"test-proguard-minimal" to
Media3Module("libraries/test_proguard_minimal", includeInCompositeBuild = false),
"test-session-common" to
Media3Module("libraries/test_session_common", includeInCompositeBuild = false),
"test-session-current" to
Expand Down
6 changes: 3 additions & 3 deletions build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {

dependencies {
implementation("androidx.media3.buildlogic:build-logic-settings")
implementation(libs.android.gradle.plugin)
implementation(libs.android.gradle.api)
implementation(libs.kotlin.gradle.plugin)
compileOnly(libs.android.gradle.plugin)
compileOnly(libs.android.gradle.api)
compileOnly(libs.kotlin.gradle.plugin)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/*
* 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.buildlogic

import org.gradle.api.DefaultTask
import org.gradle.api.file.ConfigurableFileCollection
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.tasks.CacheableTask
import org.gradle.api.tasks.InputFiles
import org.gradle.api.tasks.OutputDirectory
import org.gradle.api.tasks.PathSensitive
import org.gradle.api.tasks.PathSensitivity
import org.gradle.api.tasks.TaskAction

/**
* Copies GLSL shaders to the `raw` subdirectory of a resource directory, with comments removed to
* reduce APK size.
*
* Line breaks are kept, so line numbers in shader compilation errors match the source files.
*/
@CacheableTask
abstract class StripGlslCommentsTask : DefaultTask() {

/** The GLSL files to copy. */
@get:InputFiles
@get:PathSensitive(PathSensitivity.NAME_ONLY)
abstract val shaders: ConfigurableFileCollection

/** The resource directory to write the shaders to. */
@get:OutputDirectory abstract val outputDirectory: DirectoryProperty

@TaskAction
fun stripComments() {
val resourceDirectory = outputDirectory.get().asFile
resourceDirectory.deleteRecursively()
val rawDirectory = resourceDirectory.resolve("raw").apply { mkdirs() }
for (shader in shaders) {
rawDirectory.resolve(shader.name).writeText(stripGlslComments(shader.readText()))
}
}
}

// GLSL has no string literals, so a regular expression is enough to find the comments.
private val GLSL_COMMENT = Regex("""//[^\n]*|/\*[\s\S]*?\*/""")

/**
* Returns [glsl] with its comments removed.
*
* Each comment is replaced with the line breaks it contains, or with a space if it has none. Then
* trailing whitespace is removed from each line.
*/
internal fun stripGlslComments(glsl: String): String =
glsl
.replace(GLSL_COMMENT) { comment ->
"\n".repeat(comment.value.count { it == '\n' }).ifEmpty { " " }
}
.lines()
.joinToString("\n") { it.trimEnd() }
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ fun Project.configureCommonConfig(android: CommonExtension, libs: VersionCatalog
}
}

// TODO: b/502167525 - Upgrade source/targetCompatibility to JavaVersion.VERSION_11.
// AndroidX bytecode has moved to Java 11 (b/457821470). When androidx.compose.bom is updated,
// Kotlin consumers calling inline Compose APIs will require JVM target 11.
compileOptions.apply {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
Expand Down
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ buildscript {
}

plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
id("media3.android-application") apply false
id("media3.android-library") apply false
alias(libs.plugins.kotlin.compose.compiler) apply false
Expand Down
Binary file modified demos/cast/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demos/cast/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demos/cast/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demos/cast/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified demos/cast/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions demos/compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ plugins {
android {
namespace = "androidx.media3.demo.compose"

// TODO: b/502167525 - Remove this temporary JVM 11 override once commonConfig.kt
// is migrated to Java 11 and the alpha28 dependency is reverted back to the BOM.
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

buildTypes {
getByName("release") {
isShrinkResources = true
Expand All @@ -38,13 +45,20 @@ dependencies {
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.appcompat)
implementation(libs.androidx.lifecycle.runtime.compose)
implementation(libs.androidx.lifecycle.viewmodel)
implementation(libs.androidx.navigation.compose)
implementation(libs.material)
implementation(libs.kotlinx.coroutines.guava)

implementation(project(":lib-cast"))
implementation(project(":lib-exoplayer"))
implementation(project(":lib-effect"))
implementation(project(":lib-inspector"))
implementation(project(":lib-inspector-frame"))
implementation(project(":lib-ui-compose-material3"))
// TODO(b/555710150): Revert this once our Gradle BOM is updated to a stable version that
// includes the M3 API changes (Slider).
implementation("androidx.compose.material3:material3:1.5.0-alpha28")

// For detecting and debugging leaks only. LeakCanary is not needed for demo app to work.
debugImplementation(libs.leakcanary.android)
Expand Down
8 changes: 8 additions & 0 deletions demos/compose/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,26 @@
<uses-permission android:name="android.permission.INTERNET" />

<application
android:name=".DemoComposeApplication"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Material3.DayNight.NoActionBar">

<activity
android:name="androidx.media3.demo.compose.MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize|uiMode"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<!-- Artwork provider for content:// URIs -->
<provider
android:name=".BitmapContentProvider"
android:authorities="androidx.media3.demo.compose"
android:exported="false" />
</application>
</manifest>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 42 additions & 8 deletions demos/compose/src/main/assets/media.exolist.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
]
},
{
"name": "Audios (w/ artwork)",
"name": "Artwork",
"playlist": [
{
"name": "The Way Of Waking Up",
Expand All @@ -58,18 +58,52 @@
"artwork_uri": "asset:///artwork/album_kai_engel.png"
},
{
"name": "Jazz in Paris",
"name": "Audio and Asset URI Artwork",
"album": "Jazz & Blues",
"artist": "Media Right Productions",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp3/Jazz_In_Paris.mp3",
"artwork_uri": "asset:///artwork/album_sea.png"
},
{
"name": "On the Bach",
"name": "Audio and HTTPS Artwork",
"album": "Cinematic",
"artist": "Jingle Punks",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp3/On_the_Bach.mp3",
"artwork_uri": "asset:///artwork/album_drinks.png"
"artwork_uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp3/album_art_3.jpg"
},
{
"name": "Audio and Embedded Artwork",
"album": "Google Play",
"uri": "https://storage.googleapis.com/exoplayer-test-media-0/play.mp3"
},
{
"name": "Audio and Content URI Artwork",
"artist": "Jingle Punks",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp3/On_the_Bach.mp3",
"artwork_uri": "content://androidx.media3.demo.compose/artwork/album_sea.png"
},
{
"name": "Video and Asset URI Artwork",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp4/android-screens-10s.mp4",
"artwork_uri": "asset:///artwork/album_road.png"
},
{
"name": "Audio and Resource URI Artwork",
"artist": "Jingle Punks",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp3/On_the_Bach.mp3",
"artwork_uri": "android.resource://androidx.media3.demo.compose/mipmap/ic_launcher"
},
{
"name": "Audio and WebP Artwork",
"artist": "Jingle Punks",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp3/On_the_Bach.mp3",
"artwork_uri": "asset:///artwork/ic_launcher_round.webp"
},
{
"name": "Audio and Invalid Artwork",
"artist": "Jingle Punks",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp3/On_the_Bach.mp3",
"artwork_uri": "asset:///artwork/does_not_exist.png"
}
]
}
Expand Down Expand Up @@ -110,10 +144,6 @@
"name": "Screens audio (FMP4)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/gen-3/screens/dash-vod-single-segment/audio-141.mp4"
},
{
"name": "Google Play (MP3)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-0/play.mp3"
},
{
"name": "Google Play (Ogg, Vorbis)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/ogg/play.ogg"
Expand Down Expand Up @@ -162,6 +192,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
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/*
* Copyright 2023 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.demo.compose

import android.content.ContentProvider
import android.content.ContentValues
import android.content.Context
import android.database.Cursor
import android.net.Uri
import android.os.ParcelFileDescriptor
import java.io.File

/**
* Provides artwork for content URIs.
*
* <p>A bitmap file in the asset folder with path 'artwork/album1.png' can be referenced as artwork
* URI with 'content://androidx.media3.demo.compose/artwork/album1.png'.
* 'androidx.media3.demo.compose' is the authority declared for the content provider in
* 'AndroidManifest.xml'.
*
* <p>For demo use only.
*/
class BitmapContentProvider : ContentProvider() {

override fun onCreate() = true

override fun openFile(uri: Uri, mode: String): ParcelFileDescriptor? {
val ctx = context ?: return super.openFile(uri, mode)
val assetPath = uri.path?.drop(1) ?: return super.openFile(uri, mode)

val file = copyAssetFileToCacheDirectory(ctx, assetPath)
return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY)
}

private fun copyAssetFileToCacheDirectory(context: Context, assetPath: String): File {
val publicFile = File(context.cacheDir, assetPath.replace("/", "_"))
synchronized(this) {
if (!publicFile.exists()) {
context.assets.open(assetPath).use { input ->
publicFile.outputStream().use { output -> input.copyTo(output) }
}
}
}
return publicFile
}

// No-op implementations of abstract ContentProvider methods.

override fun insert(uri: Uri, values: ContentValues?): Uri? = null

override fun query(
uri: Uri,
projection: Array<String>?,
selection: String?,
selectionArgs: Array<String>?,
sortOrder: String?,
): Cursor? = null

override fun update(
uri: Uri,
values: ContentValues?,
selection: String?,
selectionArgs: Array<String>?,
) = 0

override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?) = 0

override fun getType(uri: Uri): String? = null
}
Loading
Loading