- 08 Jul, 2016 2 commits
-
-
- The package is renamed to avoid conflicts with v1, should any app wish to include both v1 and v2 for a period of time. This is similar to the approach used by some other open source projects (e.g. okhttp). - Copyright year is updated everywhere for completeness. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126895326
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126888556
andrewlewis committed
-
- 07 Jul, 2016 38 commits
-
-
Before this change, calling seekTo then setPlayWhenReady would cause the player throw an error, due to using the sample source provider before it's set. Transition to the buffering state in seekToInternal only if we have a sample source provider. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126804528
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126799524
olly committed -
1. Suppress onContinueLoadingRequested until a source is prepared (since such calls are not supposed to be made until after preparation has completed). 2. Don't use the format evaluator in HlsChunkSource prior to prepration completing. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126794616
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126792706
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126792535
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126790829
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126789395
olly committed -
Also fixed language comparison using Locale's. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126703125
aquilescanta committed -
Also attempt to clear up naming a little, using "buffering" to mean the user visible buffering state, and "loading" to mean a source being loaded. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126693592
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126691912
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126682871
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126672854
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126646585
olly committed -
This fixes HlsChunkSource to allow selection of variants other than the first one (as originally ordered in the master playlist) in the case that the first one is blacklisted. Having done this, the two disabled tests can be restored. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126646547
olly committed -
Also fix possible repeat-preparation for HlsTrackStreamWrapper and ExtractorSampleSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126640380
olly committed -
At a high level, everything that we need to load in sync with anything else now implements a new SequenceableLoader class. This includes ChunkTrackStream, since multiple demuxed tracks in DASH/SS need to be loaded in sync with one another. At a higher level, SampleSources are also SequenceableLoaders, which allows them to be kept in sync by MultiSampleSource. CompositeSequenceableLoader is able to load multiple instances SequenceableLoaders in sync with one another, and is used in various places where this is required. This change also removes LoadControl registration, which was complicated and error prone. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126632861
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126631393
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126622342
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126324788
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126306436
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126286809
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126202210
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126196431
olly committed -
This is causing getTrackIndex to fail for live playbacks. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126189387
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126175948
olly committed -
- Removes the load delay that was previously present after source preparation. - Prevents premature failure in the case that the buffering source fails to prepare. - SampleSource.Callback will get a second method in a subsequent CL, approximately meaning "tell me if I can load more stuff". This will remove the need for LoadControl and the complexity that comes with it. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126172573
olly committed -
This is required for buffering to work properly across playlist transitions. It's also much simpler, since specifying the buffering policy becomes independent of the type of media being played (i.e. the source). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126051755
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125951381
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125698923
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125691172
andrewlewis committed -
1. The readiness of the timeline is only relevant if there aren't any enabled renderers. It's also only ready if the source after the playing source is actually prepared (if not, we're waiting for preparation). 2. Prevent early transition to the ENDED state when the playback position hits the duration, but we're not at the final entry in the playlist. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125685193
olly committed -
- Always continue loading if we've got less than the minimum amount of media in the buffer. - Use LoadControl in ExtractorSampleSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125679669
olly committed -
- Update playbackInfo duration/position/bufferedPosition in a single place. - Remove sampleSource variable, and remove side effects from getSampleSource. There was actually a subtle bug where getSampleSource wasn't called by anything where no renderers where enabled (meaning the source never transitioned). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125676540
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125670965
olly committed -
Also, getBufferedPosition shouldn't be called if no tracks are selected. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125670213
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125669080
olly committed -
Also do some naming cleanup + do ms->us seek conversion in ExoPlayerImpl, since that's where we now do all the conversions coming out of the player. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125662973
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125661172
andrewlewis committed
-