- 08 7月, 2016 40 次提交
-
-
由 olly 提交于
- 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
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126888556
-
由 andrewlewis 提交于
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
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126799524
-
由 olly 提交于
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 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126792706
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126792535
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126790829
-
由 aquilescanta 提交于
Also fixed language comparison using Locale's. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126703125
-
由 olly 提交于
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
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126691912
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126682871
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126672854
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126646585
-
由 olly 提交于
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 提交于
Also fix possible repeat-preparation for HlsTrackStreamWrapper and ExtractorSampleSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126640380
-
由 olly 提交于
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
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126631393
-
由 aquilescanta 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126324788
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126306436
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126286809
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126202210
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126196431
-
由 olly 提交于
This is causing getTrackIndex to fail for live playbacks. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126189387
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126175948
-
由 olly 提交于
- 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 提交于
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
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125951381
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125698923
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125691172
-
由 olly 提交于
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 提交于
- 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 提交于
- 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 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125670965
-
由 olly 提交于
Also, getBufferedPosition shouldn't be called if no tracks are selected. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125670213
-
由 olly 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125669080
-
由 olly 提交于
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
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125661172
-
由 andrewlewis 提交于
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125659817
-
由 eguven 提交于
Issue: #1332 Issue: #1101 Issue: #1083 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125659191
-