- 09 Jun, 2023 1 commit
-
-
Add support for including Common Media Client Data (CMCD) in the outgoing requests of adaptive streaming formats DASH, HLS, and SmoothStreaming. API structure and API methods: * CMCD logging is disabled by default, use `MediaSource.Factory.setCmcdConfigurationFactory(CmcdConfiguration.Factory cmcdConfigurationFactory)` to enable it. * All keys are enabled by default, override `CmcdConfiguration.RequestConfig.isKeyAllowed(String key)` to filter out which keys are logged. * Override `CmcdConfiguration.RequestConfig.getCustomData()` to enable custom key logging. NOTE: Only the following fields have been implemented: `br`, `bl`, `cid`, `rtp`, and `sid`. Issue: google/ExoPlayer#8699 #minor-release PiperOrigin-RevId: 539021056 (cherry picked from commit b7e71538a3fc6892cf75f1e0799f339e63d2f1ec)
rohks committed
-
- 08 Jun, 2023 7 commits
-
-
#minor-release PiperOrigin-RevId: 538927855 (cherry picked from commit 499fd0942c7557bf5970b4bc79cd7fa4648f0227)
bachinger committed -
#minor-release PiperOrigin-RevId: 538809105 (cherry picked from commit 8be5705ff7514f26f2caacef8d559f8e41bc14de)
jbibik committed -
#minor-release PiperOrigin-RevId: 538804347 (cherry picked from commit 4bb7b3cddcddd228ed6d513b4e2ffa80268b2fbc)
tofunmi committed -
PiperOrigin-RevId: 538796466 (cherry picked from commit 782b9535816df2709526b0031e5902c4f636c322)
claincly committed -
Changes included: 1. Enable MP4 extractor to read all types of metadata. 2. Allow passing String and Float metadata via Transformer. Reference to QuickTime spec: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/Metadata/Metadata.html#//apple_ref/doc/uid/TP40000939-CH1-SW21 PiperOrigin-RevId: 538783982 (cherry picked from commit 8ce74aa4000d7b6bb9673734c42c3620cd602544)
sheenachhabra committed -
PiperOrigin-RevId: 538742957 (cherry picked from commit f582e41aab795398ea0e7ef2a70c6282b6ead634)
sheenachhabra committed -
To ensure no regressions for the potentially confusing pipeline of: * HDR electrical -> SDR linear EOTF+OOTF, and * SDR linear -> SDR electrical OETF PiperOrigin-RevId: 538741079 (cherry picked from commit 63b6df33353aa4098649fa042e636a3445d28b89)
huangdarwin committed
-
- 07 Jun, 2023 7 commits
-
-
PiperOrigin-RevId: 538495675 (cherry picked from commit 85bfc08595c40f646e8090dd81c7ae79080cf70f)
tofunmi committed -
PiperOrigin-RevId: 538491957 (cherry picked from commit 466308c736a2757edbddb0384f25f21dbca9e661)
huangdarwin committed -
Also queue textures from a different thread in TextureAssetLoader, to have a behaviour closer to reality. PiperOrigin-RevId: 538473089 (cherry picked from commit 01dbda1f768d0511c85fdcdb4a6972e85a477426)
kimvde committed -
PiperOrigin-RevId: 538469993 (cherry picked from commit bc94a0e189b92310cc28c644aa11771d534987d5)
jbibik committed -
#minor-release PiperOrigin-RevId: 538466615 (cherry picked from commit ac18e2ea5f05cb23af1f9d12c102feffb8e9c1ff)
tofunmi committed -
Confirms that multiple textures can be output, and that timestamps and pixels are as expected. PiperOrigin-RevId: 538459296 (cherry picked from commit cfcc53b3829f5dedbd4a2e96af87f3b05dec7715)
huangdarwin committed -
PiperOrigin-RevId: 538437142 (cherry picked from commit 136f323f97bc048d9cc9a6b703b72073aa6132de)
andrewlewis committed
-
- 06 Jun, 2023 5 commits
-
-
PiperOrigin-RevId: 538209925 (cherry picked from commit 824960bae924141a5036744226c5fe79b37d3c12)
Tofunmi Adigun-Hameed committed -
PiperOrigin-RevId: 538175466 (cherry picked from commit 6dc8e060c958a2f36dd8d7d1b2f67585082a2a22)
sheenachhabra committed -
PiperOrigin-RevId: 538173603 (cherry picked from commit 2c7d929db17806176a9b592238292ca2fe436c92)
Tofunmi Adigun-Hameed committed -
The sample timestamp carried by the emsg box can have a significant delta when comparing to the earliest presentation timestamp of the segment. Using this timestamp to intialize the timestamp offset in TimestampAdjuster will cause the media sample to have a wrong adjusted timestamp. So we should defer adjusting the metadata sample timestamp until the TimestampAdjuster is initialized with a real media sample. PiperOrigin-RevId: 538172841 (cherry picked from commit 08c189e768d77e9e2a9665b23fa384e776f9678b)
tianyifeng committed -
PiperOrigin-RevId: 538129792 (cherry picked from commit 13df52b97e64cf54071e130faa2c46001d6b7029)
claincly committed
-
- 05 Jun, 2023 4 commits
-
-
When initiated by MediaController, it should be possible for `MediaSession` to pass `MediaItems` to the `Player` if they have `LocalConfiguration`. In such case, it is not required to override `MediaSession.Callback.onAddMediaItems`, because the new current default implementation will handle it. However, in other cases, MediaItem.toBundle() will continue to strip the LocalConfiguration information. Issue: androidx/media#282 #minor-release PiperOrigin-RevId: 537993460 (cherry picked from commit bcddaf27654ed342ce70fc7a270d478953c2fb80)
jbibik committed -
PiperOrigin-RevId: 537908595 (cherry picked from commit f8be8c087de550d2d7a2d1c1b7dc9591804c93f8)
Googler committed -
`outputSurfaceInfoChanged` is not reset when `defaultShaderProgram` is null. That is, on the first time `ensureConfigured()` is called with output size changed, `outputSurfaceInfoChanged` is not set to false after creating the `defaultShaderProgram`, and `defaultShaderProgram` will be created again on the second time `ensureConfigured()` is called. PiperOrigin-RevId: 537870404 (cherry picked from commit 3d8a2f8b8a81f022d71a12abf3deaabd426ca8ca)
claincly committed -
https://github.com/google/ExoPlayer/commit/fedd99b4911e61f18e68e57021ac8b55db7e5f44 introduced using `DefaultDecoderFactory.getDecoderInfo(format) != null` caused certain tests not to be skipped when they were expected to be, creating more mh failures. PiperOrigin-RevId: 537820370 (cherry picked from commit c78151b52d9ee53a08681b2a7ab3be352bd43572)
tofunmi committed
-
- 12 Jun, 2023 14 commits
-
-
PiperOrigin-RevId: 537814319 (cherry picked from commit 68939399b4bb6f6b72376d3f8cf0441c1285e230)
sheenachhabra committed -
ExoPlayer extractors (backing `MetadataRetriever`) now parse the color format from the bitstream so using `MetadataRetriever` should be an equivalent but more lightweight way to verify the color info. Also remove try/catch blocks in test code calling into these methods, and add skipping based on decoder capabilities in the cases where it was missing. PiperOrigin-RevId: 537789483 (cherry picked from commit 88db01116afa54e52f8516533256d447de45e8a4)
andrewlewis committed -
Previously, we would apply a general effect to signal wanting to transcode. PiperOrigin-RevId: 537034455 (cherry picked from commit fb032f0c1feb42878f4ebdfa7f673e2cdd13949f)
huangdarwin committed -
PiperOrigin-RevId: 537014587 (cherry picked from commit 8166b3590fe7d629f55c1e8af27091f8309d4cb7)
Tofunmi Adigun-Hameed committed -
PiperOrigin-RevId: 536770380 (cherry picked from commit 11c52d2de1e07b5c497438ee86651e0bd399b3d2)
claincly committed -
PiperOrigin-RevId: 536727079 (cherry picked from commit a8baf21cae4c47de0bdcb8e3f9474d4914662d36)
kimvde committed -
#minor-release PiperOrigin-RevId: 536724725 (cherry picked from commit 792aa7295827471902f6641cf83f4c4c12effedc)
ibaker committed -
In some cases the codec selected for decoding has a different MIME type than the media. In thoses cases Transformer continued to use the media's MIME type and that caused codec configuration failures. Removed `EncoderUtil.findCodecForFormat()` as we stopped using the method it uses for finding a codec. Plus, the method is only used in the test. See also `MediaCodecUtil.getALternativeCodecMimeType()`. PiperOrigin-RevId: 536683663 (cherry picked from commit fedd99b4911e61f18e68e57021ac8b55db7e5f44)
claincly committed -
Otherwise, texture output errors out if video decoding decodes faster than audio, hitting the end of the file, while audio is still in the middle of the file. PiperOrigin-RevId: 536679568 (cherry picked from commit 2ff8b446e648883144687c4c020b2d23a0b4e1d3)
huangdarwin committed -
This future.get() duplicates the wait done in singleThreadExecutorService.awaitTermination(). If awaitTermination times out, this future.get() would also result in unnecessary blocking. PiperOrigin-RevId: 536442153 (cherry picked from commit d7f4fea0b9d1be3f5d0211dc50b0f1fbaec05564)
huangdarwin committed -
PiperOrigin-RevId: 536351494 (cherry picked from commit ba8b9d13d0f1e6cce16a4ff5ea9271f7dd5a9e36)
sheenachhabra committed -
Deprecated field `MediaItem.playbackProperties` remains for backwards compatibility, but its type is changed from `MediaItem.PlaybackProperties` to `MediaItem.LocalConfiguration`. The private `MediaItem` constructor will now also take in a `LocalConfiguration` argument instead. PiperOrigin-RevId: 535648420 (cherry picked from commit b89cc652e5d466591617bfb5c9183a033cdf74b9)
jbibik committed -
With this change we will now support loading bitmaps from all the formats documented [here](https://developer.android.com/guide/topics/media/media-formats#image-formats) except for gifs (because they are animated). Java doc is added to express this. PiperOrigin-RevId: 535610152 (cherry picked from commit 7740ccc9382c55e246f5b7e5ea4e120d99b662bc)
tofunmi committed -
PiperOrigin-RevId: 535554628 (cherry picked from commit 8ba6b12ebc28a5fefe5f0b1d9a565794ebaf9ea6)
kimvde committed
-
- 30 May, 2023 2 commits
-
-
https://github.com/google/ExoPlayer/commit/703923d196934fdcc019ffd610b6f778f8fa043d
*** Original commit *** ExoPlayer: Add setVideoFrameProcessorFactory(). This allows apps to use a custom VideoFrameProcessor implementation for video playback. This may be useful, for example, when outputting to a texture. *** PiperOrigin-RevId: 536391597 (cherry picked from commit dbbb0919075a9c95f45d51307b434eda4c4744bd)
huangdarwin committed -
Tofunmi Adigun-Hameed committed
-