- 11 Oct, 2017 5 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170980737
andrewlewis committed -
If the current output buffer is very late and the playback position is in a later group of pictures, drop all buffers to the keyframe preceding the playback position. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170975259
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170831088
andrewlewis committed -
imaPausedInAd could only be true when imaPlayingAd was true, so there are only three possible states. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170827974
andrewlewis committed -
This is useful to determine when a seek request was processed by the player and all playback state changes (mostly to BUFFERING) have been performed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170826793
tonihei committed
-
- 03 Oct, 2017 12 commits
-
-
* Always assume a renderer is ready if it's read to the end of its current stream and there's a subsequent period already prepared. This prevents getting stuck when a non-clock renderer has a short stream. * Switch to the standalone clock if the renderer providing the media clock has read to the end of its current stream, is no longer ready, and there's a subsequent period already prepared. This prevents getting stuck when a clock renderer has a short stream. * Remove unnecessary clock synchronization logic (since it would need to be made more complicated as a result of this change). * Don't update the playing period holder when playWhenReady is false. This avoids the position jumping to the start of the next period when seeking to the very end of the current period whilst paused (we still end up showing the first frame of video from the next period, but fixing that will have to wait). Github: #1874 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170717481
olly committed -
This works similar to the existing WaitForXXXX actions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170687058
tonihei committed -
* If speed <= 0.1, update every second. * If 0.1 < speed < 1, update approximately once per second in real time, aligned so that each second boundary in media time has a corresponding updatae. * If speed == 1, keep existing behavior. * If 1 < speed <= 5, update every second in media time * If speed > 5, update every 200ms. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170559037
olly committed -
Run next action immediately without using the handler when the requested delay is zero. This ensures that no other code can run between these two actions to improve deterministic test behaviour. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170456852
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170360487
tonihei committed -
This avoids spurious position reports following an underrun. Github: #1874 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170344399
olly committed -
In out libvpx extension, currently we always call vpxGetFrame and copy the data from the native decoder to output frame. However, if the inputBuffer has isDecoderOnly set, we can avoid populating the output buffer, but only setting BUFFER_FLAG_DECODE_ONLY. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170318527
hoangtc committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170318174
andrewlewis committed -
This change allows applications to provide custom AudioSinks, which could be based on android.media.AudioTrack like AudioTrackAudioSink, or could be completely custom. The refactoring is mostly mechanical and shouldn't result in any functionality changes. Some android.media.AudioTrack-specific details have to appear in the AudioSink interface so this change modifies the javadoc on the AudioTrack (now AudioSink) to note that some methods will have no effect. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170311083
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170268043
zhihuichen committed -
This allows simplified listener implementations as most listeners will not listen to all possible notifications. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170177821
tonihei committed -
By default, if a codec is instantiated during an ongoing playback, ExoPlayer will render the first frame that it receives (so that there's "something other than black" drawn to the surface). This frame is the key-frame before the current playback position, and may be as much as 5 seconds behind the current position. ExoPlayer then drops subsequent frames that are late until it's caught up to the current position again. For GTS tests that are counting dropped frames, this is not desirable behavior, since it will cause spurious test failures in cases where DummySurface is not supported. This change overrides the default behavior so that the player instead skips (rather than drops) frames until it's caught up to the current playback position, and only then renders the first frame. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170175944
olly committed
-
- 26 Sep, 2017 12 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170078933
olly committed -
Oliver Woodman committed
-
Fix primary hls playlist update
ojw28 committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169927989
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169919087
strobe committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169880369
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169830938
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169681768
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169668371
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169552239
aquilescanta committed -
Follow-up on the update to ABR logic in AdaptiveTrackSelection for live streaming case: - Do not reset liveEdgeTimeUs when user seek to a different position. - For HlsChunkSource, for non-independent segments, currently the bufferedDuration calculate will subtract previousChunk's duration. So to make it work with live-streaming ABR logic, we subtract timeToLiveEdgeUs a similar amount to compensate for that operation. - Minor update to DefaultSSChunkSource, only perform TrackSelection when needed (after checking necessary conditions). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169531275
hoangtc committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169522830
eguven committed
-
- 21 Sep, 2017 3 commits
- 20 Sep, 2017 4 commits
-
-
Issue: #3230 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169421873
olly committed -
This includes both cbcs and cenc. Will only work for streams that require a single pssh. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169382884
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169374725
olly committed -
There's no reason to perform the discontinuity check or skip the adaptation field if we don't have a payload reader for the packet. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169374609
olly committed
-
- 19 Sep, 2017 4 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169257339
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169256059
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169254794
olly committed -
This fixes infinite loop in LeastRecentlyUsedCacheEvictor.evictCache when index store fails. Also made CachedContentIndex not final so it can be mocked and added a package protected SimpleCache constructor so mock index can be injected. Issue: #3260 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169249517
eguven committed
-