- 19 Apr, 2023 6 commits
-
-
Rohit Singh committed
-
r2.18.6
Rohit Kumar Singh committed -
PiperOrigin-RevId: 525415067
rohks committed -
#minor-release PiperOrigin-RevId: 525383571
rohks committed
-
- 18 Apr, 2023 29 commits
-
-
PiperOrigin-RevId: 525177113
bachinger committed -
PiperOrigin-RevId: 525176828
rohks committed -
Removes glObjectsProvider from `VideoFrameProcessor` and `Effects`. Apps will set the glObjectsProvider on the DefaultVideoFrameProcessor.Factory.Builder when providing a custom DefaultVideoFrameProcessor.Factory, rather than in `Effects`. PiperOrigin-RevId: 525169059
tofunmi committed -
PiperOrigin-RevId: 525168605
bachinger committed -
A new texture manager will be created for input by texture ID so this texture manager won't be the only one to handle internal (i.e. non-external) textures. PiperOrigin-RevId: 525116460
tofunmi committed -
`findDecoder/EncoderForFormat` seem to be more restrictive than querying `MediaCodecList` as done for playback, and it's not clear that the cases where no codec is found correspond to actual cases that would fail given that it seems this returns an empty string for many cases in production. Switch to using `MediaCodecUtil` and `EncoderUtil` for querying codecs instead. PiperOrigin-RevId: 525078321
andrewlewis committed -
PiperOrigin-RevId: 525064269
kimvde committed -
Child: <unknown commit> PiperOrigin-RevId: 524876651
Googler committed -
The sessions may have different application threads for their players, and the service with its notification provider runs on the main thread. To ensure everything runs on the correct thread, this change labels methods where needed and fixes thread access in some places. Issue: androidx/media#318 PiperOrigin-RevId: 524849598 (cherry picked from commit 73c216d1)
tonihei committed -
The overrides specified by a MediaController may not use the exact same TrackGroup instances as known to the Player because the groups have been bundled to and from the controller. This bundling may alter the instance slightly depending on the version used on each side of the communication and the fields set (e.g. Format.metadata is not supported for bundling). This issue can be solved by creating unique track group ids for each group on the session side before bundling. On the way back, the groups in the track selection parameters can be mapped backed to their original instances based on this id. #minor-release Issue: androidx/media#296 PiperOrigin-RevId: 523986626 (cherry picked from commit 07707c20)
tonihei committed -
Change what format is logged from MediaCodecAudioRenderer when AudioSink throws InitializationException. We printed the AudioSink's format, which most of the times is audio/raw (PCM) and not the renderer's format. With this change both formats are logged. #minor-release Issue: google/ExoPlayer#11066 PiperOrigin-RevId: 523456840 (cherry picked from commit 81d9c6c1)
christosts committed -
The media3-hosted versions of these SVGs were removed due to a change in the way the reference docs are generated. While work on getting them hosted on developer.android.com, this change simply links to the (identical) exoplayer2 versions in order to fix the media3 docs. #minor-release PiperOrigin-RevId: 520647905 (cherry picked from commit ddcae0b7)
ibaker committed -
`DefaultDrmSession(Manager)` expect most of their methods to be called on the 'playback thread'. There isn't a playback thread in the case of `OfflineLicenseHelper`, but in that case it's the thread backing `DefaultDrmSessionManager.playbackLooper`, which is `OfflineLicenseHelper.handlerThread`. PiperOrigin-RevId: 520053006 (cherry picked from commit 2f7ba44e)
ibaker committed -
When MediaCodecRenderer is given an empty sample stream, it puts its output format change tracking in a bad state where we never process future stream changes because we are waiting for a sample that doesn't exist. We can fix this by: - Looping the pending output stream changes to see if we processed more than one change at once (this fixes the tracking for empty sample streams that are not the first in the queue). - Checking if none of the previous streams queued any samples in onStreamChanged to handle this in the same way as the case where we already output all samples (this fixes the problem when the empty sample stream comes first in the queue). - Also calling onProcessedStreamChange for the case above, which was missing previously. #minor-release PiperOrigin-RevId: 519226637 (cherry picked from commit 652546c7)
tonihei committed -
PiperOrigin-RevId: 518953648 (cherry picked from commit e8117496)
Tianyi Feng committed -
If RTSP Setup Request with UDP receives HTTP Error Status 461 UnsupportedTransport, then client will retry with TCP. Issue: google/ExoPlayer#11069 PiperOrigin-RevId: 518807829 (cherry picked from commit bbd45c8e)
michaelkatz committed -
PiperOrigin-RevId: 517128752 (cherry picked from commit d88dd74b)
Rohit Singh committed -
PiperOrigin-RevId: 517067549 (cherry picked from commit eb6fc93b)
Rohit Singh committed -
The `@CallSuper` annotation should help catch cases where subclasses are calling `delegate.addListener` instead of `super.addListener` but it will also (unintentionally) prevent subclasses from either completely no-opping the listener registration, or implementing it themselves in a very custom way. I think that's probably OK, since these cases are probably unusual, and they should be able to suppress the warning/error. Issue: androidx/media#258 #minor-release PiperOrigin-RevId: 513848402 (cherry picked from commit af45bedf)
ibaker committed
- 17 Apr, 2023 5 commits
-
-
This was just for testing and finishing this class is not useful as it can't wrap an existing MediaPlayer without owning it to track its state. PiperOrigin-RevId: 524851654
tonihei committed -
The actual csd data contains NAL units so it should always start with a NAL unit start code (00 00 00 01). This issue was not caught before because in the code there was no validation to check whether its a valid NAL unit. PiperOrigin-RevId: 524849867
sheenachhabra committed -
The sessions may have different application threads for their players, and the service with its notification provider runs on the main thread. To ensure everything runs on the correct thread, this change labels methods where needed and fixes thread access in some places. Issue: androidx/media#318 PiperOrigin-RevId: 524849598
tonihei committed -
PiperOrigin-RevId: 524846153
christosts committed -
PiperOrigin-RevId: 524802289
huangdarwin committed
-