media/testutils/src/main/java/com/google/android/exoplayer2/testutil
hoangtc 5019da3e7b Update ABR logic in AdaptiveTrackSelection for live streaming case
In live streaming, if the playback position is very close to live edge,
the buffered duration will never reach minDurationForQualityIncreaseMs,
which prevents switching from ever happening. So we will provide the
durationToLiveEdgeUs to AdaptiveTrackSelection in live streaming case,
so it can handle this edge case.

GitHub: #3017

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=168535969
2017-09-15 23:33:10 +01:00
..
Action.java Implement shuffle mode logic in ExoPlayerImplInternal. 2017-08-29 22:50:49 +01:00
ActionSchedule.java Fix bug in ActionSchedule. 2017-09-15 23:25:45 +01:00
CacheAsserts.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
DebugRenderersFactory.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
DecoderCountersUtil.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Add listener callback for shuffle mode changes. 2017-08-22 16:23:27 +01:00
ExoPlayerTestRunner.java Allow ExoPlayerTestRunner to end when Player.stop() is called. 2017-09-08 22:22:57 +01:00
ExtractorAsserts.java Some extractor fixes 2017-08-02 17:44:41 +01:00
FakeAdaptiveDataSet.java Use TrackGroup instead of TrackSelection in FakeAdaptiveDataSet. 2017-08-01 16:23:39 +01:00
FakeAdaptiveMediaPeriod.java Release streams in fake adaptive media period. 2017-09-15 23:24:28 +01:00
FakeAdaptiveMediaSource.java Add fake adaptive media source. 2017-07-31 20:45:08 +01:00
FakeChunkSource.java Update ABR logic in AdaptiveTrackSelection for live streaming case 2017-09-15 23:33:10 +01:00
FakeClock.java Add postDelayed operation to Clock interface. 2017-09-05 16:34:44 +01:00
FakeDataSet.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
FakeDataSource.java Use Handler callback instead of sleep() to catch InteruptedException. 2017-09-15 23:28:13 +01:00
FakeExtractorInput.java Clean up MP3 synchronization and fix handling < 4 frames. 2016-09-16 18:52:42 +01:00
FakeExtractorOutput.java Propagate track type through ExtractorOutput.track 2017-02-15 16:49:47 +00:00
FakeMediaClockRenderer.java Allow multiple Formats per TrackGroup in testutil fake classes. 2017-07-17 23:08:52 +01:00
FakeMediaPeriod.java Add fake adaptive media period. 2017-07-31 20:43:51 +01:00
FakeMediaSource.java Add fake adaptive media source. 2017-07-31 20:45:08 +01:00
FakeRenderer.java Clear buffer in fake renderer in each iteration. 2017-09-08 22:24:19 +01:00
FakeSampleStream.java Propagate skipped input buffers through to CodecCounters 2017-07-31 21:14:23 +01:00
FakeShuffleOrder.java Add fake shuffle order. 2017-08-29 22:44:13 +01:00
FakeSimpleExoPlayer.java Support stop() in FakeExoPlayer and release media properly. 2017-09-15 23:26:56 +01:00
FakeTimeline.java Merge TimelineAsserts.FakeTimeline into FakeTimeline. 2017-07-05 15:02:39 +01:00
FakeTrackOutput.java Introduce CryptoData parameter object 2017-05-11 05:53:20 +01:00
HostActivity.java Remove unnecessary view casts 2017-08-29 22:57:17 +01:00
LogcatMetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
OggTestData.java Migrate remaining tests to Robolectric 2017-09-08 22:21:33 +01:00
TestUtil.java Migrate remaining tests to Robolectric 2017-09-08 22:21:33 +01:00
TimelineAsserts.java Support empty concatenations and empty timelines in concatenations. 2017-08-29 23:01:41 +01:00