- 16 Sep, 2021 4 commits
-
-
PiperOrigin-RevId: 391952144
olly committed -
StyledPlayerControlView was checking whether the player is an ExoPlayer instance to set the track selector. This means that, if apps were wrapping an ExoPlayer in a ForwardingPlayer (to replace a ControlDispatcher for example), the track selector wasn't set anymore. PiperOrigin-RevId: 391776305
kimvde committed -
This change is needed to generate correct javadoc, otherwise these methods appear as not deprecated. #minor-release PiperOrigin-RevId: 390339092
christosts committed -
PiperOrigin-RevId: 390136807
christosts committed
-
- 11 Aug, 2021 2 commits
-
-
r2.15.0
christosts committed -
The release note was put under 2.14.2 but the feature is released in 2.15.0. #minor-release PiperOrigin-RevId: 390093836
christosts committed
-
- 10 Aug, 2021 2 commits
-
-
PiperOrigin-RevId: 389871495
christosts committed -
#minor-release PiperOrigin-RevId: 389862401
christosts committed
-
- 06 Aug, 2021 1 commit
-
-
#minor-release PiperOrigin-RevId: 389174519
christosts committed
-
- 05 Aug, 2021 2 commits
-
-
Issue: #9252 #minor-release PiperOrigin-RevId: 388889406
andrewlewis committed -
Issue: #9254 #minor-release We used to allow only alphanumerical characters in session id. The spec also allows "$", "-", "_", ".", "+" (RFC2326 Sections 3.4 and 15.1). PiperOrigin-RevId: 388873742
claincly committed
-
- 04 Aug, 2021 10 commits
-
-
This change removes ERROR_CODE_IO_NETWORK_UNAVAILABLE, ERROR_CODE_IO_NETWORK_CONNECTION_CLOSED, and ERROR_CODE_IO_DNS_FAILED in favor of keeping only ERROR_CODE_IO_NETWORK_CONNECTION_FAILED. PiperOrigin-RevId: 388715972
aquilescanta committed -
PiperOrigin-RevId: 388713101
Christos Tsilopoulos committed -
- Fix use of getTimestampOffsetUs in TsExtractor where getFirstSampleTimestampUs should have been used. - Don't reset TimestampAdjuster if it's in no-offset mode. - Improve comment clarity #minor-release PiperOrigin-RevId: 388682711
olly committed -
For audio-only playlists, when formats are communicated to the app with AnalyticsListener.onDownstreamFormatChanged(), the passed MediaLoadData do not indicate this is an audio track and therefore the PlaybackStatsListener cannot derive audio format-related information. This change sets the main SampleStreamWrappers track type to AUDIO, if the master playlist contains only audio variants. Issue: #9175 #minor-release PiperOrigin-RevId: 388676060
christosts committed -
The AnalyticsCollector releases listeners lazily so that listener callbacks triggered on the application looper after SimpleExoPlayer.release() are still handled. The change in ListenerSet to post the onEvents callback on the front of the application looper changed (correctly) how onEvents are propagated, however this made the AnalyticsCollector deliver onEvents with out-of-order EventTimes. This change fixes AnalyticsCollector to trigger onPlayerReleased() and the matching onEvents() event in the correct order. #minor-release PiperOrigin-RevId: 388668739
christosts committed -
Issue: #9239 PiperOrigin-RevId: 388437614
andrewlewis committed -
This CL addresses the github issue [#8946](https://github.com/google/ExoPlayer/issues/8964). That issue requests support for `font-size` CSS property in WebVTT subtitle format. This CL: * Adds support for `font-size` property by extending capabilities of WebVTT `CssParser`. Implementation of `font-size` property value parsing is based on the one in `TtmlDecoder`. * Adds unit test along with test file containing WebVTT subtitles with all currently supported `font-size` units. #minor-release PiperOrigin-RevId: 388423859
apodob committed -
Issue: #8850 Issue: #9153 #minor-release PiperOrigin-RevId: 388257563
olly committed -
- Use timestampOffsetUs == C.TIME_UNSET directly as the way of determining whether the adjuster has determined the offset, rather than relying on lastSampleTimestampUs checks for this. - Remove comment referring to lastSampleTimestampUs as holding the "adjusted PTS". Its value may not have originated from a PTS timestamp. It's also confusing to refer to it as "adjusted" given timestampOffsetUs has not been applied to it. - Fix PassthroughSectionPayloadReader to make sure it'll never output a sample with an unset timestamp. #minor-release PiperOrigin-RevId: 388226180
olly committed -
Prior to this change, an initalized TimestampAdjuster that's then reset with DO_NOT_OFFSET would incorrectly continue to apply the offset. Also add a test case for this issue, and for some other simple use cases. #minor-release PiperOrigin-RevId: 388182645
olly committed
-
- 02 Aug, 2021 7 commits
-
-
Christos Tsilopoulos committed
-
PiperOrigin-RevId: 387794965
aquilescanta committed -
DefaultHttpDataSource and OkHttpDataSource can share the same error code assigning logic. Fixes CronetDataSource's handling of closed connection. PiperOrigin-RevId: 387791679
claincly committed -
PiperOrigin-RevId: 387786273
claincly committed -
PiperOrigin-RevId: 387777480
aquilescanta committed -
PiperOrigin-RevId: 387772641
aquilescanta committed -
And change one IO_UNSPECIFIED for a ERROR_CODE_FAILED_RUNTIME_CHECK. PiperOrigin-RevId: 387772253
aquilescanta committed
-
- 29 Jul, 2021 3 commits
-
-
This CL doesn't introduce functional changes. PiperOrigin-RevId: 387613057
aquilescanta committed -
The dokka javadoc generation tool complains when parameter names don't match between a method and its override. This change updates occurrences where there is currently a mismatch. PiperOrigin-RevId: 387367509
andrewlewis committed -
PiperOrigin-RevId: 387301144
aquilescanta committed
-
- 28 Jul, 2021 2 commits
-
-
The dokka javadoc generation tool complains when parameter names don't match between a method and its override. This change updates occurrences where there is currently a mismatch. Notable renamings that might be controversial: - `onPlaybackStateChanged(int state)` to `onPlaybackStateChanged(int playbackState)` affected a lot of lines but seems more consistent with other '-Changed' methods. - `handleMessage(int messageType, Object payload)` to `handleMessage(int messageType, Object message)` - `ExtractorInput` and `DataSource` inherit `DataReader` which had `read(byte[] target, ...`, while data sources normally called the first parameter `buffer`. I have standardized these all to use `buffer` even though it looks out of place in the `ExtractorInput` interface (which has more `read` methods with `target`). PiperOrigin-RevId: 387290360
andrewlewis committed -
The documentation on ByteArrayOutputStream and GZIPOutputStream isn't completely clear that an IOException will *never* happen, so AssertionError seems a bit strong - but it seems very unlikely, so we just use IllegalStateException instead. #minor-release PiperOrigin-RevId: 387169297
ibaker committed
-
- 27 Jul, 2021 7 commits
-
-
In order to avoid confusion with HTTP 400 Bad request. PiperOrigin-RevId: 387145057
aquilescanta committed -
PiperOrigin-RevId: 387143625
aquilescanta committed -
PiperOrigin-RevId: 387143449
bachinger committed -
PiperOrigin-RevId: 387090075
bachinger committed -
In favor of setting the cause in the constructor, which allows some code simplifications. PiperOrigin-RevId: 387062636
aquilescanta committed -
PiperOrigin-RevId: 386970718
olly committed -
#minor-release PiperOrigin-RevId: 386966219
olly committed
-