- 24 Apr, 2023 14 commits
-
-
The PlayerView methods are documented to only be needed for sphrerical playbacks, which we are not using in the session demo app. PiperOrigin-RevId: 525986709
tonihei committed -
If the limited number of input buffers causes reading of all samples except the last one conveying end of stream, then the last frame will not be rendered. PiperOrigin-RevId: 525974445
michaelkatz committed -
Whenever a frame is queued to the shader, it's guaranteed that there will be a subsequent `onInputFrameProcessed` callback, so we can pass on the end-of-stream signal there. PiperOrigin-RevId: 525850141
claincly committed -
PiperOrigin-RevId: 525761936
claincly committed -
PiperOrigin-RevId: 525756451
ibaker committed -
PiperOrigin-RevId: 525734520
sheenachhabra committed -
Creates a way for apps to provide their EGLContext to DefaultVideoFrameProcessor, so that we can attach their context to the one we create. See [the EGL docs for more information about how contexts are shared in GL](https://registry.khronos.org/EGL/sdk/docs/man/html/eglCreateContext.xhtml) PiperOrigin-RevId: 525708652
tofunmi committed -
PiperOrigin-RevId: 525693833
tofunmi committed -
PiperOrigin-RevId: 525690361
tofunmi committed -
This arg was always the same value, so it can be simplified. PiperOrigin-RevId: 525677735
huangdarwin committed -
Remove deprecated factory constructor and replace all call instances of it. PiperOrigin-RevId: 525476062
tofunmi committed -
PiperOrigin-RevId: 525467798
tofunmi committed -
PiperOrigin-RevId: 525434071
tofunmi committed -
PiperOrigin-RevId: 525430439
tofunmi committed
-
- 19 Apr, 2023 4 commits
-
-
Rohit Singh committed
-
1.0.1
Rohit Kumar Singh committed -
PiperOrigin-RevId: 525415067
rohks committed
-
- 18 Apr, 2023 22 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 -
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 -
Issue: androidx/media#327 PiperOrigin-RevId: 525103046
bachinger 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 ffa37430)
tonihei committed -
This check was a leftover from when the metadata was generated from the MediaItem only. Since we moved to the actual MediaMetadata fields, the check is completely unnecessary and prevents accessing metadata when the GET_CURRENT_MEDIA_ITEM command is not available. PiperOrigin-RevId: 524837587 (cherry picked from commit e0bb23d4)
tonihei committed -
Prompted by discussion on this commit: https://github.com/google/ExoPlayer/commit/e8117496e0e8bb0761a4d3f387786be9a23c3002 #minor-release PiperOrigin-RevId: 524795901 (cherry picked from commit f799766d)
ibaker 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. Issue: androidx/media#296 PiperOrigin-RevId: 523986626 (cherry picked from commit 1c557e2f)
tonihei committed -
This change selects the best suited media button receiver component and pending intent when creating the legacy session. This is important to ensure that a service can be started with a media button event from BT headsets after the app has been terminated. The `MediaSessionLegacyStub` selects the best suited receiver to be passed to the `MediaSessionCompat` constructor. 1. When the app has declared a broadcast receiver for `ACTION_MEDIA_BUTTON` in the manifest, this broadcast receiver is used. 2. When the session is housed in a service, the service component is used as a fallback. 3. As a last resort a receiver is created at runtime. When the `MediaSessionLegacyStub` is released, the media button receiver is removed unless the app has provided a media button receiver in the manifest. In this case we assume the app supports resuming when the BT play intent arrives at `MediaSessionService.onStartCommand`. Issue: androidx/media#167 Issue: androidx/media#27 Issue: androidx/media#314 PiperOrigin-RevId: 523638051 (cherry picked from commit e54a9343)
bachinger 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 baf1aa1c)
christosts committed