- 14 Sep, 2021 15 commits
-
-
#exofixit PiperOrigin-RevId: 396658717
krocard committed -
Previously the released preacquired sessions would start their keepalive timeout, and so no additional resources would be freed in time for the manager to retry the session acquisition. This change adds an additional purge of keepalive sessions *after* the preacquired sessions are released, which fixes the problem. #exofixit #minor-release PiperOrigin-RevId: 396613352
ibaker committed -
This needs to match with the implementation for Dackka javadoc generation to succeed. PiperOrigin-RevId: 396377019
andrewlewis committed -
PiperOrigin-RevId: 396363113
olly committed -
Align redererDisableFlags (un)bundling with the other field by using an explicit temporary data structure (int array). PiperOrigin-RevId: 396358143
krocard committed -
PiperOrigin-RevId: 396354920
olly committed -
Also add `TYPE_USE` target on the @IntDef (and fix @Targets for other @IntDefs). #exofixit PiperOrigin-RevId: 396333212
andrewlewis committed -
#exo-fixit PiperOrigin-RevId: 396329591
kimvde committed -
This is was reported in #9257 where the PlaybackStatsListener may try to access an emtpy ArrayList. Issue: #9257 #minor-release #exofixit PiperOrigin-RevId: 396329373
christosts committed -
PiperOrigin-RevId: 396313679
bachinger committed -
#exofixit PiperOrigin-RevId: 396304941
andrewlewis committed -
PiperOrigin-RevId: 396303288
andrewlewis committed -
PiperOrigin-RevId: 396303242
claincly committed -
PiperOrigin-RevId: 396297834
andrewlewis committed -
PiperOrigin-RevId: 395936070
huangdarwin committed
-
- 10 Sep, 2021 4 commits
-
-
This is a candidate fix for #8906. As mentioned in that issue, negative positions within windows might be (kind of) valid in live streaming scenarios, where the window starts at some non-zero position within the period. However, negative positions within periods are definitely not valid. Neither are positions that exceed the period duration. There was already logic in ExoPlayerImplInternal to prevent a resolved seek position from exceeding the period duration. This fix adds the equivalent constraint for the start of the period. It also moves the application of the constraints into Timeline. This has the advantage that the constraints are applied as part of state masking in ExoPlayerImpl.seekTo, removing any UI flicker where the invalid seek position is temporarily visible. Issue: #8906 PiperOrigin-RevId: 395917413
olly committed -
Issue: #9416 The dash "-" in the brackets must be escaped, or it acts like a range operator. #minor-release PiperOrigin-RevId: 395909845
claincly committed -
PiperOrigin-RevId: 395896034
ibaker committed -
The new ConfigurationActivity can be used to configure settings specifying Transformer inputs, using checkboxes and submitted via a button. PiperOrigin-RevId: 395826358
huangdarwin committed
-
- 09 Sep, 2021 6 commits
-
-
PiperOrigin-RevId: 395727438
bachinger committed -
Instead of selecting the base URL initially or when a load error occurs, it is now selected when a chunk or initialization chunk is created. The selected base URL is then assigned to `RepresentationHolder.lastUsedBaseUrl` that is excluded in case of a load error. For a next chunk another base URL will be selected by using the `BaseUrlExclusionList`. #minor-release #exo-fixit PiperOrigin-RevId: 395721221
bachinger committed -
The new name is consistent with the corresponding parameters to `onVolumeChanged`, `setDeviceVolume` and `onDeviceVolumeChanged`. PiperOrigin-RevId: 395705288
andrewlewis committed -
Since playlist support was added, it's possible for the player to "have media" and be in STATE_IDLE. The STATE_IDLE documentation therefore became incorrect. Issue: #8946 #exofixit #minor-release PiperOrigin-RevId: 395653716
olly committed -
#exofixit PiperOrigin-RevId: 395518824
kimvde committed -
This fixes DefaultDrmSessionManager so it can be used by a new Player instance (by nulling out its reference to the playback thread, which is unique per-Player instance). This only works if the DefaultDrmSessionManager is 'fully released' before being used by the second Player instance, meaning that the reference count of the manager and all its sessions is zero. #exofixit #minor-release Issue: #9099 PiperOrigin-RevId: 395490506
ibaker committed
-
- 08 Sep, 2021 11 commits
-
-
#exofixit PiperOrigin-RevId: 395479329
kimvde committed -
I think this has been broken since https://github.com/google/ExoPlayer/commit/617267bfcf20c500fb4a3cfdff7104e4d88261a7 (which was trying to fix the same problem). This change initializes `rootDir` to always be the current project (i.e. ExoPlayer) directory. From the [Gradle docs](https://docs.gradle.org/current/userguide/working_with_files.html#sec:single_file_paths): > What happens in the case of multi-project builds? The file() method > will always turn relative paths into paths that are relative to the > current project directory, which may be a child project. We can also then remove exoplayerRoot completely and simplify the local dependency instructions. * #minor-release * #exofixit * Issue: #9403 PiperOrigin-RevId: 395478121
ibaker committed -
SubtitleExtractor is using IndexSeekMap with only one position to indicate that its output is seekable. SubtitleExtractor is keeping Cues in memory anyway so more seek points are not needed. SubtitleExtractor gets notified about seek occurrence through seek() method. Inside that method extractor saves seekTimeUs, and on the next call to read() extractor outputs all cues that should be displayed at this time and later. PiperOrigin-RevId: 395477127
apodob committed -
track types. PiperOrigin-RevId: 395460563
ibaker committed -
Some server will send partial URIs in the RTP-Info header, while the RTSP spec requires absolute URLs. Issue: #9346 #exofixit PiperOrigin-RevId: 395452741
claincly committed -
PiperOrigin-RevId: 395444714
samrobinson committed -
Issue #9284 PiperOrigin-RevId: 395443015
olly committed -
PiperOrigin-RevId: 395438728
claincly committed -
#minor-release #exofixit Issue: #9370 PiperOrigin-RevId: 395429794
bachinger committed -
The C2 MP3 decoder produces an extra output buffer when draining after end-of-stream is queued. This output buffer has a later timestamp than the last queued input buffer so we need to calculate its timestamp to detect a stream change in the correct position. Before this CL we used the original input buffer timestamp as the largest queued timestamp, which caused the stream change to be detected at the correct position because the original input buffer timestamp was slightly larger than the actual last output buffer timestamp. After this change we use exact calculated timestamp as the largest queued timestamp. I manually verified gapless continues to work on a device using the C2 MP3 decoder by comparing output of the MP3 gapless and MP3 gapless stripped playlists in the demo app, and that the last buffer timestamp now matches. #exofixit PiperOrigin-RevId: 395428928
andrewlewis committed -
PiperOrigin-RevId: 395395015
klhyun committed
-
- 07 Sep, 2021 4 commits
-
-
- Fix focus when pausing and resuming - Prevent repeated readout of the playback position when paused #exofixit #minor-release Issue #9111 PiperOrigin-RevId: 395301765
olly committed -
The current detection logic checks that the two byte terminator starts at an even position in the ID3 data, where-as it should check that it starts at an even position relative to the start of the string. #minor-release #exofixit Issue: #9087 PiperOrigin-RevId: 395274934
olly committed -
Simplifies the SubtitleExtractor implementation. Makes the extractor more aligned with the Extractor interface documentation by removing STATE_DECODING in which extractor was doing nothing in term of input and output while returning RESULT_CONTINUE at the same time. PiperOrigin-RevId: 395267468
apodob committed -
C should only hold constants. Also resolve the TODO in getErrorCodeForMediaDrmErrorCode(), and annotate the deprecated methods with Error Prone's @InlineMe to facilitate automated refactoring of callers. PiperOrigin-RevId: 395244855
ibaker committed
-