- 11 Jun, 2020 14 commits
-
-
Add a new scheduling mode that stops ExoPlayer main loop when the audio offload buffer is full and resume it when it has been partially played. This mode needs to be enabled and dissabled manually by the app for now. #exo-offload PiperOrigin-RevId: 315860373
krocard committed -
This seems to match DecoderVideoRenderer more closely: https://github.com/google/ExoPlayer/blob/b1e56304a1fda8075fc637074927c0886f49fdf1/library/core/src/main/java/com/google/android/exoplayer2/video/DecoderVideoRenderer.java#L300 Although MediaCodecRenderer does it in onReset() and then calls that from onDisable(): https://github.com/google/ExoPlayer/blob/b1e56304a1fda8075fc637074927c0886f49fdf1/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java#L754 PiperOrigin-RevId: 315859212
ibaker committed -
PiperOrigin-RevId: 315857270
kimvde committed -
PiperOrigin-RevId: 315794031
Oliver Woodman committed -
PiperOrigin-RevId: 315720712
aquilescanta committed -
Delete the AsynchronousMediaCodecAdapter, the MultiLockAsyncMediaCodecAdapter and their tests. PiperOrigin-RevId: 315694296
christosts committed -
The option to cancel ongoing loads as part of the queue size evalation was added recently. This split out the decision to a new method so that a TrackSelection implementation can independently cancel loads and discard upstream data. It also clarifies that evaluateQueueSize will only be called if there is no ongoing load. Issue: #2848 PiperOrigin-RevId: 315659735
tonihei committed -
This flag was always set even if the load was canceled and not completed. PiperOrigin-RevId: 315659262
tonihei committed -
If the previous chunk didn't finish loading, we need to find the appropriate next chunk based on the current loading position (or the previous chunk's start time if not independent). PiperOrigin-RevId: 315658435
tonihei committed -
An integer multiple/divide can be removed without loss of precision. PiperOrigin-RevId: 315653905
andrewlewis committed -
PiperOrigin-RevId: 315516836
krocard committed -
Issue: #5507 PiperOrigin-RevId: 315512207
olly committed -
In a later change it will be necessary to be able to destroy the ads manager if all ads are skipped while creating ads rendering settings. This change prepares for doing that by not having the ads manager passed into the method (so the caller can null or initialize it). PiperOrigin-RevId: 315488830
andrewlewis committed -
PiperOrigin-RevId: 315485985
kimvde committed
-
- 09 Jun, 2020 6 commits
-
-
Issue: #7410 PiperOrigin-RevId: 315480798
olly committed -
PiperOrigin-RevId: 315480048
aquilescanta committed -
Reasoning and screenshots here: https://github.com/google/ExoPlayer/issues/7475#issuecomment-640770791 Issue: #7475 PiperOrigin-RevId: 315475888
ibaker committed -
Add experimental APIs to set the MediaCodecOperationMode separately for audio and video. PiperOrigin-RevId: 315467157
christosts committed -
This is in preparation for refactoring the logic to support not playing an ad before the resume position (optionally). PiperOrigin-RevId: 315431483
andrewlewis committed -
PiperOrigin-RevId: 315334491
samrobinson committed
-
- 08 Jun, 2020 9 commits
-
-
PiperOrigin-RevId: 315283926
kimvde committed -
This change makes the media item argument in any constructors of the SinglePeriodTimeline non-null. Further a dummy media item is created for deprecated constructors using a tag only. PiperOrigin-RevId: 315283842
bachinger committed -
PiperOrigin-RevId: 315283645
aquilescanta committed -
ANSI/CTA-608-E R-2014 Annex B.5 says: "The concept of a movable base row for a roll-up caption is new." It means "new" compared to TC1 and TC2 (released in or before 1985). Issue: #7475 PiperOrigin-RevId: 315258859
ibaker committed -
This also gives some general test coverage for HLS' WebvttExtractor Issue: #7462 PiperOrigin-RevId: 315257252
ibaker committed -
PiperOrigin-RevId: 315243493
andrewlewis committed -
Output timestamps are calculated by the codec based on the buffers, which is offset in Codec2. This adjusts the input timestamps as they are passed in so they will match the output timestamps produced by the MediaCodec. PiperOrigin-RevId: 314963830
samrobinson committed -
Previously the fake ads loader listener would always pass the same ad durations to the fake player, but actually the known ad durations can change during playback. Make the fake behavior more realistic by only exposing durations for ads that have loaded. PiperOrigin-RevId: 314956223
andrewlewis committed -
sravan1213 committed
-
- 05 Jun, 2020 9 commits
-
-
PiperOrigin-RevId: 314925639
olly committed -
Issue: #7462 PiperOrigin-RevId: 314919210
ibaker committed -
This introduces an option to turn on offload in the audio sink. #exo-offload PiperOrigin-RevId: 314907088
krocard committed -
PiperOrigin-RevId: 314904897
bachinger committed -
PiperOrigin-RevId: 314903986
olly committed -
FakeMediaSource and FakeTimeline should put a media item to the window just as other media sources and timelines do. This change provides a fake media item for both of them. Further the MaskingMediaSource needs to provide a media item for when the real timeline of the masked media source is not available. This can be easily done by using mediaSource.getMediaItem() once available. For now a dummy is used to make ExoPlayerTest run green. This can be easily change to use mediaSource.getMediaSource as soon as this method is defined by the MediaSource interface. PiperOrigin-RevId: 314897474
bachinger committed -
SilenceMediaSource never overloaded MediaSource#getTag, and default behavior is to return null. PiperOrigin-RevId: 314779832
olly committed -
This can hide errors as the lint is pretty smart to understand SDK level checks. PiperOrigin-RevId: 314728030
krocard committed -
PiperOrigin-RevId: 314723830
kimvde committed
-
- 04 Jun, 2020 2 commits
-
-
bear_vorbis_gap.ogg is a copy of bear_vorbis.ogg with 10 garbage bytes (DE AD BE EF DE AD BE EF DE AD) inserted before the second capture pattern and 3 garbage bytes inserted at the end (DE AD BE). Issue: #7230 PiperOrigin-RevId: 314715729
ibaker committed -
Issue: #7453 PiperOrigin-RevId: 314710328
olly committed
-