- 15 Jun, 2016 40 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123977520
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123976645
olly committed -
This allows the TrackRenderer superclass to do things when the renderer is reset, and makes resetting consistent with other 'events' on renderers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123974633
andrewlewis committed -
The allocator and buffering policy (e.g. how large the buffer is) is moving to the top level as part of playlist support, so it no longer makes sense to inject these parameters as args into ExtractorSampleSource's constructor. Instantiating the allocator and buffer size inside of the source is temporary and only until they're moved up. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123968976
olly committed -
It is possible to add use of this feature in the demo app, restricting the selected tracks to the viewport size. But it should be added in a future CL. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123965232
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123964784
eguven committed -
The bug this cl fixes is basically an uncaught case of [] Issue: #1567 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123963779
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123958609
olly committed -
This removes "message sent on dead thread" warnings in nearly all cases, and guarantees delivery of load cancelation to event listeners. Issue: #426 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123957691
olly committed -
- The main goal of this change is to remove the need for discardSamplesForDisabledTracks() in continueBuffering in HlsTrackStreamWrapper and ExtractorSampleSource. As a result we'll also save one Allocation per disabled track. - Another benefit of this change is that Allocator.trim calls can no longer be dropped. This could previously happen on player release if the playback thread's Looper quit before delivery of onLoadCanceled which performed the trim in the case that a load needed to be canceled at the time of the release. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123957434
olly committed -
Plus remove some unused util methods + make a few warnings go away. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123888046
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123885817
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123868547
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123851448
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123848524
eguven committed -
This is similar to suppression of failures disabling the renderers (in the block above). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123847812
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123847497
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123847017
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123845660
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123845317
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123739334
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123734239
olly committed -
- Remove need for SampleSources to ref ChunkSources. - Correctly propagate errors loading manifests through ChunkSource components. - Fix some misc warnings. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123732918
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123640738
eguven committed -
TestUtil.assertOutput() uses "*.unklen.dump" file if only it exists and simulateUnknownLength is true. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123638992
eguven committed -
Aside from deleting code, this change (a) adds retry functionality for initial manifest fetches, (b) uses the same loader for the utc timing fetch as for the manifest. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123634812
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123620174
aquilescanta committed -
TestUtil.assertOutput() uses ExtractorFactory to create a new instance of the Extractor for each combination of simulation parameters. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123506162
eguven committed -
The issue is visible for DRM playbacks because BUFFER_FLAG_ENCRYPTED is being cleared, which results in trying to play encrypted samples without decryption. The issue would have also incorrectly cleared key frame flags too, for both clear and encrypted playbacks, but I don't think we're using that flag downstream anywhere and so the issue wasn't visible. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123426582
olly committed -
We allow 2 configurations: Forcing seamless adaptiveness and allowing mixed mime types adaptation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123420364
aquilescanta committed -
Pull more logic up to HlsSampleSource. Somewhat regretfully, this also backs out the optimization work done toward the ref'd issue. I think that's one for another time perhaps... Issue: #551 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123417413
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123410989
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123410374
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123410274
olly committed -
FakeExtractorOutput dump() and assertEquals(..., String dumpFile) methods to facilitate extractor test writing. Changed OggExtractorFileTests to use dump files. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123407516
eguven committed -
It's not a comprehensive solution for setting the playback speed because (a) it doesn't apply when audio is disabled, and (b) we do some timestamp interpolation in a few places where we assume real time. However in practice it works pretty well and most apps probably don't allow disabling of audio, so I think it makes sense to expose it. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123406605
olly committed -
This is in preparation for changing the TrackStream while keeping the renderer enabled, to give seamless transitions for playlists. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123394733
andrewlewis committed -
Added a new method TestUtil.consumeTestData() to emulate the exact behaviour and modified OggExtractorFileTests to use it. Rest of the test will be fixed in follow up CLs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123320538
eguven committed -
Initially only the first source index is used. In a later change, ExoPlayerImplInternal will create SampleSources for different playlist item indices as necessary. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123312595
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123310694
olly committed
-