- 15 Jul, 2016 33 commits
-
-
We should only give a TrackSelector access to what it needs, not the whole Renderer. This is particular true if [] happens, since more Renderer methods will become publicly visible. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127526473
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127441130
aquilescanta committed -
DashMediaPeriod.releasePeriod resets duration to 0, but instances are currently being re-used through multiple prepare/release cycles. Hence the duration needs to be retained. This change fixes this issue, and also makes variables final in DashMediaPeriod where possible. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127440080
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127436600
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127415273
olly committed -
1. Rename "extensions" package to "decoder". It's used by both text and (should be used by) metadata, so it's no longer just for extensions. 2. Move Buffer objects move into the decoder package. 3. Rename SubtitleParser and MetadataParser to SubtitleDecoder and MetadataDecoder respectively, since they extend Decoder. Ditto for all subclasses. 4. Subtitle and Metadata decoders now throw their own exception types rather than ParserException. 5. Move MediaCodec classes into a mediacodec package, with the exception of the concrete audio and video renderers. 6. Create an audio package to hold the two audio renderer classes plus related util classes. 7. Create a video package to hold the one video renderer class plus related util classes. After this change the following nice properties hold: 1. Want a video renderer? Look in the video package. Ditto for audio, text and metadata. 2. All TrackRenderer implementations use a decoder of some kind to decode buffers received from the source, so we have consistent terminology there. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127326805
olly committed -
The BandwidthMeter should only be used by MediaSource instances and the objects they reference, so there's really no reason for the player to need to know about it. This change sacrifices DebugTextViewHelper showing the estimated bandwidth, but I think that's a price worth paying. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127316755
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127315877
eguven committed -
Issue: #1658 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127312721
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127300225
[]inger committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127294338
andrewlewis committed -
I think these were needed for Eclipse only. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127232262
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127232159
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127216536
vigneshv committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127196797
andrewlewis committed -
It doesn't look like TrackSelectionPolicy is going to be useful other than with DefaultTrackSelector, and it's kinda confusing dealing with both "selector" and "policy" terminology. This change does the following: DefaultTrackSelector -> selector.MappingTrackSelector DefaultTrackSelectionPolicy -> selector.DefaultTrackSelector TrackSelectionPolicy -> [deleted] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127196326
olly committed -
- Chunk package is only useful to source packages. - BehindLiveWindowException is a source exception. - SequenceableLoader is related to sources. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127195307
olly committed -
Also, only enable the workaround when the resolution isn't changing but the format is changing. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127192637
andrewlewis committed -
Also addded result constants to C to remove the dependency on TrackStream from extractor.DefaultTrackOutput. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127192488
olly committed -
There aren't really enough classes to justify it right now, but if we're going to do a VideoView equivalent and sensible player controls at some point, it's worth making now to get classes into the correct place. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127184374
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127179274
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127102633
andrewlewis committed -
All other MediaCodec specific classes are prefixed MediaCodec, and we now have other decoders that aren't not related to MediaCodec. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127093330
olly committed -
The volantis H.264/AVC decoder could get stuck when adapting between certain stream formats where there was no change in resolution. Queue a small Baseline profile SPS, PPS and IDR slice during adaptation on this device, to force reallocation of reference frames. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127091330
andrewlewis committed -
As multi period DASH isn't supported yet use the duration of the first period only. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127086808
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127073630
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127073328
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127073129
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127065122
olly committed -
SampleSourceProvider -> MediaSource SampleSource -> MediaPeriod ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126914964
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126913487
olly committed -
Also make filterHdVideoTracks override setMaxVideoSize. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126904080
aquilescanta committed -
Issue: #377 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126901901
olly committed
-
- 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 5 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
-