- 09 Jul, 2021 24 commits
-
-
PiperOrigin-RevId: 382766969
aquilescanta committed -
If a test expects an error they can use runUntilError() PiperOrigin-RevId: 382765060
ibaker committed -
Issue: #9005 PiperOrigin-RevId: 382765045
ibaker committed -
MediaItem.mediaId used to default to the content URI, but this changed: https://github.com/google/ExoPlayer/commit/cc26a92e070db8963738beed423bb4699762877f Before the mediaId change linked above, a playlist of different content all with the same ad URI would play the ads for every item. After the change the ad would only play once (because mediaId == "" for every item, so they're all the same). This change restores roughly the original behaviour by always considering both mediaId and the content URI. #minor-release Issue: #9106 PiperOrigin-RevId: 382763618
ibaker committed -
#minor-release PiperOrigin-RevId: 382763308
ibaker committed -
The serialization scheme used here is custom, it doesn't need to be compatible with emsg-v0 or emsg-v1 (since https://github.com/google/ExoPlayer/commit/97183ef55866170807910cd626264d82d41d46d4). This means that C.TIME_UNSET will propagate correctly through the serialization. #minor-release Issue: #9123 PiperOrigin-RevId: 382762873
ibaker committed -
The tests now pass without @DoNotInstrument I had to tweak the jetification settings due to a bug in the jetifier shipped with the Android Gradle Plugin. More details: https://github.com/robolectric/robolectric/issues/6521#issuecomment-851736355 PiperOrigin-RevId: 382757006
ibaker committed -
This is an abstract class so it can only be constructed from the context of a subclass anyway. PiperOrigin-RevId: 382756293
ibaker committed -
Without this annotation it seems that `SimpleExoPlayer` effectively 'un-deprecates' the method, specifically: * A usage of these methods isn't flagged by Android Studio if the declared type is `SimpleExoPlayer` (up-casting to e.g. `ExoPlayer.VideoComponent` results in the warning showing up). * The `SimpleExoPlayer` javadoc doesn't mention this method is deprecated: https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/SimpleExoPlayer.html#addVideoListener(com.google.android.exoplayer2.video.VideoListener) * The Metalava API output for `SimpleExoPlayer` doesn't show these methods as deprecated. PiperOrigin-RevId: 382756174
ibaker committed -
PiperOrigin-RevId: 382710409
claincly committed -
- Use `PlaybackException.ErrorCode` IntDef for `DataSourceException` error code - Deprecate `DataSourceException.POSITION_OUT_OF_RANGE` - All other changes are related to replacing the deprecated constant and constructor PiperOrigin-RevId: 382683522
claincly committed -
Also remove the method for creating a TYPE_RENDERER ExoPlaybackException with unknown renderer name and index. PiperOrigin-RevId: 382589655
claincly committed -
PiperOrigin-RevId: 382551642
claincly committed -
PiperOrigin-RevId: 382527115
aquilescanta committed -
In order to use it for error code assignment. Note that these DRM errors could be thrown on API < 18 (from MediaCodec.CryptoException), which is the reason we can't put the mapping in FrameworkMediaDrm. PiperOrigin-RevId: 382512414
aquilescanta committed -
PiperOrigin-RevId: 382508442
christosts committed -
It was impossible to call because it was a non-static method in a class with a private constructor. PiperOrigin-RevId: 382504128
aquilescanta committed -
These guarantees were documented for `EventListener` and hold as well for Listener but were not documented. PiperOrigin-RevId: 382498188
krocard committed -
PiperOrigin-RevId: 382494191
aquilescanta committed -
Remove experimentalSetSkipAndContinueIfSampleTooLarge() api PiperOrigin-RevId: 382383498
olly committed -
PlayerView and StyledPlayerView handled this in onVideoSizeChanged but it can be omitted. (e.g. if the player is MediaController) PiperOrigin-RevId: 382340927
klhyun committed -
PiperOrigin-RevId: 382311518
aquilescanta committed -
Will be needed for error code assignment. PiperOrigin-RevId: 382305328
aquilescanta committed -
PiperOrigin-RevId: 382297051
olly committed
-
- 30 Jun, 2021 16 commits
-
-
PiperOrigin-RevId: 382279955
olly committed -
PiperOrigin-RevId: 382277352
olly committed -
This affects the setter, getter and callback, as well as various media 3 methods. PiperOrigin-RevId: 382275672
samrobinson committed -
PiperOrigin-RevId: 382139109
aquilescanta committed -
#minor-release Issue:#7608 PiperOrigin-RevId: 382081687
kimvde committed -
PiperOrigin-RevId: 381941053
aquilescanta committed -
PiperOrigin-RevId: 381852972
claincly committed -
PiperOrigin-RevId: 381852092
claincly committed -
PiperOrigin-RevId: 381837274
olly committed -
PiperOrigin-RevId: 381833403
olly committed -
PiperOrigin-RevId: 381833313
Oliver Woodman committed -
PiperOrigin-RevId: 381472436
olly committed -
Also upgrade the RTMP extension to use an inner class for its factory. PiperOrigin-RevId: 381469114
olly committed -
Until now, we have stuck with the 3.12 long-term branch so as to keep support for older API levels. However, this means that the version we're using is 2.5 years old at this point. The 3.12 branch will stop receiving critical updates in December 2021. Since use of the OkHttp extension is optional anyway, it seems preferable to move to a modern version of OkHttp at this point. PiperOrigin-RevId: 381465269
olly committed -
PiperOrigin-RevId: 381443205
olly committed -
Specifically: - ERROR_CODE_IO_NETWORK_CONNECTION_TIMEOUT - ERROR_CODE_IO_NETWORK_CONNECTION_FAILED - ERROR_CODE_IO_NETWORK_CONNECTION_CLOSED PiperOrigin-RevId: 381441329
aquilescanta committed
-