- 01 Feb, 2023 5 commits
-
-
Tested adding 3, 15,16 different overlays in a single OverlayTextureProcessor. The program errored out when 16 overlays were added. PiperOrigin-RevId: 504810157
tofunmi committed -
PiperOrigin-RevId: 504796380
huangdarwin committed -
`FrameProcessorManager` now reports it's not ready when the output surface is set but not the output resolution. `FrameProcessorManager` allows playback without an output surface, like with ExoPlayer. PiperOrigin-RevId: 504626088
claincly committed -
PiperOrigin-RevId: 504611069
samrobinson committed -
This is necessary in order to move HDR to SDR tone-mapping tests to transformer/mh, and to move the test runner to androidx.media3.test-utils, which should not have to include androidx.media3.effects. PiperOrigin-RevId: 504607929
huangdarwin committed
-
- 25 Jan, 2023 15 commits
-
-
The commands are partly checked already before enabling features or calling player methods, but the checks were still missing in many places. #minor-release PiperOrigin-RevId: 504589888
tonihei committed -
Also add a Builder to EditedMediaItem to avoid having a constructor with many optional parameters, or a chain of constructors. PiperOrigin-RevId: 504588544
kimvde committed -
This was missed in https://github.com/androidx/media/commit/47349b8c4bd69415da8895061be71ef748c4a2d3 #minor-release PiperOrigin-RevId: 504548659
ibaker committed -
Rename tests using the action state expectation pattern. PiperOrigin-RevId: 504546583
huangdarwin committed -
These attributes are required when importing our artifacts into androidx-main in order to generate reference documentation (JavaDoc and KDoc). #minor-release PiperOrigin-RevId: 504502555
ibaker committed -
This information may be needed for applications to create their own OpenGL contexts and textures passed into or interacting with Effects. PiperOrigin-RevId: 504342258
huangdarwin committed -
This allows a MediaController to understand which methods calls are available on a legacy session. PiperOrigin-RevId: 504306806
tonihei committed -
ImaUtil calls VideoProgressUpdate.equals() which is annotated as hidden, which causes lint errors with gradle. #minor-release PiperOrigin-RevId: 504306210
christosts committed -
PiperOrigin-RevId: 504273335
huangdarwin committed -
Created unified MediaUtils method to handle various logic for calling Player.setMediaItems from MediaSessionStub and MediaSessionLegacyStub PiperOrigin-RevId: 504271877
michaelkatz committed -
PiperOrigin-RevId: 504264862
samrobinson committed -
PiperOrigin-RevId: 504259419
tofunmi committed -
PiperOrigin-RevId: 504257627
samrobinson committed -
Based on experimentation, when CameraX is producing input for frame processor the buffer size is not being set to match the camera capture resolution, so the output has lower resolution than expected. Expose the default buffer size setter on `SurfaceTexture` to allow apps to process frames at full resolution for use cases like this one where the producer doesn't override the default buffer size. PiperOrigin-RevId: 504022107
andrewlewis committed -
#minor-release PiperOrigin-RevId: 504013985
christosts committed
-
- 23 Jan, 2023 15 commits
-
-
Transformer convention has been to avoid splitting into packages unless necessary. See https://jlbp.dev/JLBP-2: "Prefer fewer packages over more packages to avoid unnecessarily publicizing internal details, since any dependency across package boundaries needs to be public. PiperOrigin-RevId: 503463294
samrobinson committed -
Resampling as a term is overloaded, however it was raised as a confusing term in a meeting recently, as the 1P team initially thought this would change the sample rate. The naming of this `AudioProcessor` now matches `ToInt16PcmAudioProcessor`. PiperOrigin-RevId: 503441019
samrobinson committed -
Added onSetMediaItems callback listener to allow the session to modify/set MediaItem list, starting index and position before call to Player.setMediaItem(s). Added conditional check in MediaSessionStub.setMediaItem methods to only call player.setMediaItem rather than setMediaItems if player does not support COMMAND_CHANGE_MEDIA_ITEMS PiperOrigin-RevId: 503427927
michaelkatz committed -
Issue: androidx/media#216 #minor-release PiperOrigin-RevId: 503406474
bachinger committed -
Clarify that we always output on full range colors, and don't handle hdrStaticInfo input yet. PiperOrigin-RevId: 503224687
huangdarwin committed -
PiperOrigin-RevId: 503187291
samrobinson committed -
This makes it implicitly clear that if the value of a getter changes due to a change in command availability then the listener will be invoked, without needing to explicitly document every command on every listener method. #minor-release PiperOrigin-RevId: 503178383
ibaker committed -
PiperOrigin-RevId: 503172986
tonihei committed -
We stop estimating new position when pausing until we receive a new position from the player. However, this means that we will continue to return a possible stale previous position. Updating the current position before pausing solves this issue. PiperOrigin-RevId: 503153982
tonihei committed -
PiperOrigin-RevId: 503138745
kimvde committed -
We currently only document it for the getCurrentMediaItem(), but the command was always meant to cover all information about the current media item and the position therein. To correctly hide information for controllers, we need to filter the Timeline when bundling the PlayerInfo class if only this command is available. PiperOrigin-RevId: 503098124
tonihei committed -
Usages of the deprecated methods in Transformer.Builder will be removed in a follow-up CL. PiperOrigin-RevId: 502889423
kimvde committed -
This is to avoid regressions introduced by removing the convenience methods from TransformationRequest. PiperOrigin-RevId: 502864512
kimvde committed -
When bundling PlayerInfo, we need to remove information if the controller is not allowed to access it. This was only partially done at the moment. PiperOrigin-RevId: 502852798
tonihei committed -
TESTED: Manually verified the ColorInfo is propagated when VSP is used. PiperOrigin-RevId: 502843773
samrobinson committed
-
- 18 Jan, 2023 5 commits
-
-
PiperOrigin-RevId: 502821506
rohks committed -
To always generate silent audio, `removeAudio(true)` can be used in conjunction. PiperOrigin-RevId: 502814315
samrobinson committed -
This class will be used in a follow-up CL. PiperOrigin-RevId: 502615323
kimvde committed -
When bundling PlayerInfo, we remove data when the controller is not allowed to access this data via getters. We also remove data for performance reasons. In the toBundle() method, it's currently hard to make the connection between allowed commands and filtering, because the values are checked at a different place. This can be made more readable by forwarding the applicable Commands directly. The only functional fix is to filter the Timeline when sending the first PlayerInfo after a connecting a controller if the command to get the Timeline is not available. This also allows us to remove a path to filter MediaItems from Timelines as it isn't used. PiperOrigin-RevId: 502607391
tonihei committed -
If a device only supports 1920x1080 as maximum resolution, then adding the 25% case ensures 8k is reduced correctly. PiperOrigin-RevId: 502588364
samrobinson committed
-