- 01 Apr, 2021 7 commits
-
-
A TrackGroup must contain the same content in all Formats (except for the quality, encoding etc). Verify that the language and role flags are the same and log an error if don't match. Don't throw to avoid breaking existing use cases that just happen to work by chance. PiperOrigin-RevId: 365539240
tonihei committed -
Fix WebViewSubtitleOutput to respect this (CanvasSubtitleOutput already does). Issue: #8704 PiperOrigin-RevId: 365534018
ibaker committed -
PiperOrigin-RevId: 365044658
kimvde committed -
The hacky workaround for APIs 29/30 doesn't work on API 31. Instead, we can use the onDisplayInfoChanged callback, that is accessible from API 31. PiperOrigin-RevId: 364997282
tonihei committed -
The BasePlayer implementation of add/remove Listener knows about Components. As those are removed from the Player interface, the implementation of those methods needs to be moved down in Player implementations. This commit makes no functional change. PiperOrigin-RevId: 364985291
krocard committed -
All Player methods should throw NotSupportedException. Making it abstract prevents the compiler catching non implemented methods. PiperOrigin-RevId: 364974387
krocard committed -
PiperOrigin-RevId: 364871094
olly committed
-
- 24 Mar, 2021 33 commits
-
-
The exo_controls_background view is supposed to fill its parent, and so previously used match_parent to do this. However, if the parent uses wrap_content for its own dimensions, the constraints being specified become somewhat ambiguous. The parent is supposed to be sizing itself to wrap its children, and one of the children is supposed to be sizing itself to match the parent. Intuitively for this case, you'd hope that the layout logic would size the parent to wrap its other children, and that the match_parent child would then fill the parent with its determined size. That's not what happens, and instead the parent ends up expanding to occupy all of the space available to it. This commit sets the exo_controls_background view's dimensions to be 0dp in the layout, to stop it from influencing the size of the parent. It's then expanded to fill the parent in code. Issue: #8726 #minor-release PiperOrigin-RevId: 364868301
olly committed -
PiperOrigin-RevId: 364861539
bachinger committed -
PiperOrigin-RevId: 364836973
kimvde committed -
Issue: #8705 PiperOrigin-RevId: 364821429
ibaker committed -
PiperOrigin-RevId: 364821216
kimvde committed -
PiperOrigin-RevId: 364810286
tonihei committed -
PiperOrigin-RevId: 364779790
Ian Baker committed -
Before this change, calling read after reaching the end of input in an Ogg file would cause an IllegalStateException. PiperOrigin-RevId: 364758873
aquilescanta committed -
It's copied from BundleCompat in androidx.core. PiperOrigin-RevId: 364682379
gyumin committed -
PiperOrigin-RevId: 364607555
tonihei committed -
PiperOrigin-RevId: 364600438
kimvde committed -
PiperOrigin-RevId: 364598601
kimvde committed -
PiperOrigin-RevId: 364590789
samrobinson committed -
PiperOrigin-RevId: 364580585
samrobinson committed -
#minor-release PiperOrigin-RevId: 364561115
kimvde committed -
PiperOrigin-RevId: 364513299
gyumin committed -
Null was an alias for DEFAULT. Remove this for nullness safety in the API. The ExoPlayer implementation still checks for null and replaces it by DEFAULT, so this is ABI compatible. PiperOrigin-RevId: 364370017
krocard committed -
PiperOrigin-RevId: 364363882
Ian Baker committed -
PiperOrigin-RevId: 364324490
gyumin committed -
Comments made after submitting https://github.com/google/ExoPlayer/commit/e14180e5328c10742b84d2a0d8d54cb127f8bc55 PiperOrigin-RevId: 364276495
ibaker committed -
#minor-release PiperOrigin-RevId: 363915106
andrewlewis committed -
Issue: #8718 PiperOrigin-RevId: 363869093
aquilescanta committed -
#minor-release PiperOrigin-RevId: 363859522
kimvde committed -
The methods has been a no-op for while now and can be removed. PiperOrigin-RevId: 363673199
tonihei committed -
The main user of the Util method is the bandwidth meter to set the initial network type. If this is the first call to the NetworkTypeObserver, then we should also allow the first update to a known network type even if no reset on network type is activated. The other uses are analytics listeners that check the network type at certain events. This can just use the lookup method of the NetworkTypeObserver. PiperOrigin-RevId: 363670771
tonihei committed -
- Update the three `HttpDataSource` implementations to use the Content-Range response header to determine when this is the case. The Content-Range header is included when the status code is 416. See [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416). - Update `ByteArrayDataSource` to conform to the requirement. - Update `DataSourceContractTest` to enforce the requirement. PiperOrigin-RevId: 363642114
olly committed -
This change fixes playback of playlists where segments have the extension and Content-Type of JPEG pictures (although in reality) they are transport streams. File inferrence before this change will cause an exception when assuming the inferred file type is one of the allowed HLS containers. #minor-release Issue: #8733 PiperOrigin-RevId: 363641277
aquilescanta committed -
PiperOrigin-RevId: 363639146
aquilescanta committed -
This brings in a fix for `NullPointerExceptions` within `WebView` callbacks in the IMA SDK. Issue: #8447 PiperOrigin-RevId: 363627446
andrewlewis committed -
PiperOrigin-RevId: 363606255
krocard committed -
PiperOrigin-RevId: 363480412
olly committed -
- SampleQueue.peek is replaced with SampleQueue.read with FLAG_PEEK. This also exposes peek functionality through SampleStream. - Use of DecoderInputBuffer.isFlagsOnly is replaced with FLAG_OMIT_SAMPLE_DATA. This flag can be used with or without FLAG_PEEK, where-as previously the read position would never be advanced for an isFlagsOnly buffer. - formatRequired is replaced with FLAG_FORMAT_REQUIRED. PiperOrigin-RevId: 363460105
olly committed -
The class is just an empty shell around the super class and can be removed. PiperOrigin-RevId: 363386440
tonihei committed
-