- 26 Sep, 2017 9 commits
-
-
------------- 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
-
- 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 10 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 -
[] Issue: #2755 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169249093
eguven committed -
Issue:#2928 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169246424
aquilescanta committed -
Very subtle, but lastAvailableSegmentNum is shifted by RepresentationHolder.segmentNumShift. When accessing the index directly it's necessary to unshift. The easiest way to do this is to call through the holder, which does this for you. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169239928
olly committed -
This case may happen if the max span size is more than the max size the evictor is configured. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169101093
eguven committed -
1- Avoid dropped buffers by using a PriorityQueue instead of a set. 2- Process the end of stream after non-EOS buffers. Issue:#3250 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169077365
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169064003
eguven committed
-
- 15 Sep, 2017 17 commits
-
-
Issue: #3249 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168844850
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168834998
aquilescanta committed -
Also expose break_durations in microseconds instead of 90kHz. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168816992
aquilescanta committed -
1. Only tell sessions that want provisioning when provisioning occurs. 2. Also propagate failure to provision to these sessions. 3. If a session responsible for provisioning is released, start provisioning using another session instead. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168713918
olly committed -
- MediaDrmEventListener.onEvent is typically called on the app's main thread. mediaDrmHandler is instantiated on the playback thread. Hence mediaDrmHandler should be volatile to ensure visibility. - Nulling mediaDrmHandler could result in a NPE in onEvent. Instantiate mediaDrmHandler (and don't null it again) to avoid this. MediaDrmHandler.handleMessage will correctly discard any events for sessions that are now closed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168707938
olly committed -
AdsMediaSource lives in the core library so only ImaAdsLoader remains in the ima extension. AdsMediaSource takes an AdsLoader implementation. ImaAdsMediaSource is deprecated rather than removed for now. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168707921
andrewlewis committed -
This allows test runs to continue when the activity is paused (but not stopped), which is in line with what we do in the demo app's PlayerActivity. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168699521
olly committed -
Issue: #3258 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168669969
andrewlewis committed -
Currently, to make transition to next media period seamless, after the renderer has read until the end of the current SampleStream, we may send it the next SampleStream so the renderer may read from the next SampleStream ahead of the transition. For NoSampleRenderer, we should avoid doing this: skipping ahead for such renderer doesn't have any benefit (the renderer does not consume data from SampleStream), and it will change the provided rendererOffsetUs while the renderer is still rendering from the playing media period. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168669800
hoangtc committed -
This allows listeners to easily determine the source of the discontinuity. Reasons can be period transitions, seeks, and internal reasons. Listeners still using the deprecated ExoPlayer.EventListener interface were updated to Player.EventListener. GitHub: #3252 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168549612
tonihei committed -
Remove gapless functionality that relies on MediaCodec, and implement this in an AudioProcessor instead. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168547487
andrewlewis committed -
Currently our Renderer is always associated with and consume data from some SampleStreams, which were constructed from the provided MediaSource. There are use-cases, in which the users want to have simple Renderer implementation that does not consume data from SampleStream at all, but render using their custom logic at each rendering position - they mostly just need ExoPlayer to keep track of the playback position and enable/disable the renderer. This CL adds support for such Renderer by adding a TRACK_TYPE_NONE. Renderer of such type will be: - Associated with null TrackSelection as the result of track-selection operation. - Associated with EmptySampleStream. GitHub: #3212 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168545749
hoangtc committed -
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
hoangtc committed -
Issue: #3259 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168378650
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168366847
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168259911
olly committed -
The sleep used to simulate data load times is ignoring InterruptedExceptions. (This is intended and in line with SystemClock.sleep()). However, when a Loader cancels an ongoing load, it uses interrupts. To be able to catch these and to immediately return from the reading data source, a handler callback is used instead of the sleep() method which allows interuptable waiting. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168212652
tonihei committed
-