- 08 Jun, 2021 9 commits
-
-
The old version's retry logic will not work if using authentication. Specifically, we use the same authentication parameters from the previous session, and the RTSP server will reject such parameter. In this fix, we reset the authentication info on retry. Further, we retry the last request on receiving a 401 Unauthorized, rather than sending out another DESCRIBE request. #minor-release PiperOrigin-RevId: 377539711
claincly committed -
PiperOrigin-RevId: 377529353
aquilescanta committed -
After refactoring MediaCodecAdapter.Factory to create configured and started MediaCodecAdapters in a single operation, the AsynchronousMediaCodecAdapter does not need to have separate methods to configure and start, so they are merged. The CONFIGURED state is removed. PiperOrigin-RevId: 377519117
christosts committed -
PiperOrigin-RevId: 377481210
aquilescanta committed -
PiperOrigin-RevId: 377480089
aquilescanta committed -
#minor-release PiperOrigin-RevId: 377476603
claincly committed -
Related to Issue: #8941. RTSP message body's format is not regulated by the RTSP spec, meaning it can use either CRLF or LF as its line terminator. The old code assumes every line ends with CRLF (RTSP message and the message body); the new code will rely on the Content-Length information to receive the bytes for the message body. #minor-release PiperOrigin-RevId: 377475565
claincly committed -
in preparation for upgrading the version of the Checker Framework in google3. More information: go/checker-3110-lsc PiperOrigin-RevId: 377374612
olly committed -
PiperOrigin-RevId: 377346438
bachinger committed
-
- 03 Jun, 2021 16 commits
-
-
It's still needed for a small number of dependencies. PiperOrigin-RevId: 377303373
olly committed -
PiperOrigin-RevId: 377303025
aquilescanta committed -
PiperOrigin-RevId: 377298145
olly committed -
We want to remove mentions of ExoPlayer for convergence. PiperOrigin-RevId: 377290376
kimvde committed -
PiperOrigin-RevId: 377281961
aquilescanta committed -
- Remove Robolectric workarounds that are no longer needed - Add workarounds for b/190021699 PiperOrigin-RevId: 377279422
olly committed -
#minor-release PiperOrigin-RevId: 377276535
olly committed -
`SurfaceTexture` provides a transform matrix with each buffer. Previously gldemo ignored this but it is important to apply it to have the video render properly. The transformation matrix from the surface texture includes flipping so this change removes the hard-coded flipping from `a_texcoord`. Issue: #8992 #minor-release PiperOrigin-RevId: 377271389
andrewlewis committed -
#minor-release PiperOrigin-RevId: 377269770
olly committed -
Use of mavenCentral() is now the default when making a new project in Android Studio. Furthermore, Android Studio displays warnings when jcenter() is used. PiperOrigin-RevId: 377268744
olly committed -
PiperOrigin-RevId: 377267159
aquilescanta committed -
Related to: Issue: #9010 Profile-level-id (Format.codecs) can be generated from SPS if SDP does not include it. #minor-release PiperOrigin-RevId: 377251211
claincly committed -
PiperOrigin-RevId: 377231322
jinpark committed -
PiperOrigin-RevId: 377107132
bachinger committed -
PiperOrigin-RevId: 377106891
olly committed -
NO_EXTERNAL PiperOrigin-RevId: 377090819
aquilescanta committed
-
- 02 Jun, 2021 8 commits
-
-
PiperOrigin-RevId: 377064882
aquilescanta committed -
PiperOrigin-RevId: 377048460
olly committed -
PiperOrigin-RevId: 377031562
bachinger committed -
PiperOrigin-RevId: 377026587
olly committed -
PiperOrigin-RevId: 377007386
bachinger committed -
PiperOrigin-RevId: 377006047
kimvde committed -
#minor-release PiperOrigin-RevId: 377001305
claincly committed -
Add the `needsReconfiguration` API on the `MediaCodecAdapter` interface so that `MediaCodecRenderer` can reconfigure the `MediaCodec` in case a `MediaCodecAdapter` needs to be reconfigured immediately after being obtained from the `MediaCodecAdapter.Factory`. PiperOrigin-RevId: 376944334
olly committed
-
- 01 Jun, 2021 2 commits
-
-
PiperOrigin-RevId: 376932836
bachinger committed -
A renderer is disabled (without being reset) in two situations: * When transitioning into a period that starts with a discontinuity * When stopping the player with setForegroundMode(true) Before this change the behaviour of `MediaCodecRenderer` when disabled (but not reset) depended on whether the content being decoded had an associated `DrmSession`: * For content without an associated DRM session the MediaCodec instance was kept alive. * For content with an associated DRM session, the MediaCodec instance was released. This was to prevent the DRM session from staying alive and continuing to make license refresh network requests while the player was stopped in 'foreground mode'. This change removes the second bullet, and keeps MediaCodec instances alive in both the secure and insecure case. This will result in the DRM machinery making occasional license refresh network requests (at a frequency defined by the license policy) while the player is stopped and in 'foreground mode'. This network usage is considered to be a 'limited resource' as described by the `ExoPlayer#setForegroundMode` javadoc. This means that switches between secure content (or between secure and clear content when `MediaItem.drmConfiguration.sessionForClearTypes` indicates a secure decoder should be used for clear content) should keep the same video decoder, thus avoiding the 'black flash' that occurs on some devices when switching the surface away from a secure decoder. Issue: #8842 #minor-release PiperOrigin-RevId: 376825501
ibaker committed
-
- 27 May, 2021 5 commits
-
-
This change introduces a third 'state' for `DefaultDrmSessionManager`: It's been fully released (prepareCount == 0) but at least one of its sessions is still active. In this state new acquisitions are rejected (`(pre)acquireSession()` calls will fail) but the machinery to support the existing sessions (ExoMediaDrm and MediaDrmHandler) is kept until they're all released. This change will allow us to remove the TODO in MediaCodecRenderer that resolves Issue: #8842. PiperOrigin-RevId: 376193952
ibaker committed -
In a follow-up change I will add an additional test to ensure these events continue to be correctly handled when DefaultDrmSessionManager has prepareCount==0 but a non-null ExoMediaDrm instance. PiperOrigin-RevId: 376190225
ibaker committed -
Issue: #8776 PiperOrigin-RevId: 376186877
olly committed -
This helps to remove old ad groups (e.g. those that fell out of the live window) to keep the data size of AdPlaybackState small. Also added this case to some existing unit tests to ensure it's covered. PiperOrigin-RevId: 376170653
tonihei committed -
This allows to decouple the data structure from the access. In a future change, this allows to completely remove old ad groups (e.g. for live streams where the number of groups would otherwise grow forever). Also move the time into the group itself for better encapsulation. PiperOrigin-RevId: 376170408
tonihei committed
-