- 09 Jul, 2021 14 commits
-
-
- 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 26 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 -
And assign it to CleartextNotPermittedException. PiperOrigin-RevId: 381247430
aquilescanta committed -
PiperOrigin-RevId: 381239971
olly committed -
PiperOrigin-RevId: 381236418
aquilescanta committed -
PiperOrigin-RevId: 381235721
aquilescanta committed -
Currently when a HTTP POST request receives a 302, CronetDataSource will change the request method from POST to GET for the redirected request, and drop the post body. This aligns with the behaviours of many user agents, but our use case would like to keep the POST method and the post body. org.chromium.net.UrlRequest.followRedirect also changes POST to GET for 302, so should be avoided here. PiperOrigin-RevId: 381233011
olly committed -
PiperOrigin-RevId: 381221669
aquilescanta committed -
A no-op change that changes the signature of the onChunkLoadError method of the ChunkSource. Implementors can get the exclusion duration directly from the LoadErrorHndlingPolicy instead of receiving it as an argument of the callback. PiperOrigin-RevId: 381102935
bachinger committed -
No-op change that adds the @FallbackType IntDef and changes the signature of getBlacklistDurationMsFor(LoadErrorInfo) to getExclusionDurationMsFor(@FallbackType, LoadErrorInfo). PiperOrigin-RevId: 381075496
bachinger committed -
A subsequent change will deprecate CronetEngineWrapper and move all of the logic into a utility class for obtaining a suitable CronetEngine. This change also deprioritizes use of unknown cronet providers. PiperOrigin-RevId: 381051164
olly committed -
PiperOrigin-RevId: 381021014
aquilescanta committed
-