- 31 Aug, 2016 24 commits
-
-
SinglePeriodTimelines can all use the same identifier, as their identifier is wrapped in a pair with the (fixed) source index when they are concatenated with other sources' timelines. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130386297
andrewlewis committed -
This is a 1:1 mapping. This change formalises the fact, and makes it possible to easily query the mapping. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130375111
olly committed -
This was always a bit of a hack; for Play Movies. It may well no longer be necessary, and if not I'd like to think of a nicer or more general way of doing it. We can always bring it back if needed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130373433
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130369177
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130293908
eguven committed -
Also, fix clearing the timeline for source info changes. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130292700
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130289294
andrewlewis committed -
- This avoids the need to have to use the timeline to calculate a window duration, which can be awkward. - Window now represents a window of availability with an isSeekable flag, rather than a window of seekability. - Promoted Timeline and Window to top package; they're pretty important :). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130278509
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130266483
andrewlewis committed -
It's no longer safe to convert END_OF_SOURCE -> duration on the main therad, since the Timeline from which the duration is obtained is posted to the main thread, where-as the buffered position is passed by updating a volatile. Hence an update to the latter might become visible to the main thread before the corresponding Timeline. This change moves the conversion to the playback thread. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130265893
olly committed -
This is in preparation for making it so that periods aren't reused. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130113382
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130111048
olly committed -
This kind of mp4 files has been seen in Hls+fMp4 samples. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130094845
aquilescanta committed -
- For audio/video, we should report the minimum largest queued timestamp. This ensures that buffering continues rather than stops in the case of bad sample interleaving. - If there are "sparse" tracks then they should be ignored for this calculation, otherwise the buffered position can end up getting stuck at some small value (e.g. if there's a text track containing a single sample with a small timestamp). - In the edge case that there are only "sparse" tracks, we probably want to take the maximum largest queued time instead. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130094266
olly committed -
CacheSpan.isEOS (is end of stream) field shows whether the {@link CacheSpan} contains the end of the original stream. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130084365eguven committed -
*** Reason for rollback *** Referential equality was probably the right thing to do, since using .equals breaks track selection in the case that a source exposes two or more tracks whose formats are equal. We should fix the way overrides work instead. *** Original change description *** Fix multi-period transitions with track selection overrides An override applies across periods provided they expose the same track groups according to .equals, but the formats in the override are then compared against the period's formats according to ==. Use .equals consistently to fix. *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130083840
olly committed -
It's error prone (and more code) to report two ways ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129999117
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129993536
olly committed -
To generate the reports, under 'v2' folder run: ./gradlew createDebugCoverageReport ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129991223
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129987973
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129987709
olly committed -
This change allows MediaPeriod instances to replace SampleStream instances when the selection isn't changing. It also allows MediaPeriod instances to retain a SampleStream but indicate that the renderer consuming from it needs to be reset. The change is used to fix the ref'd bug, and is used to do the same thing in HLS without the need for the source to report a discontinuity. Note that reporting discontinuity could cause unnecessary failure when used as a child of MergingMediaSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129971782
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129966073
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129908648
vigneshv committed
-
- 10 Aug, 2016 16 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129892143
olly committed -
If a renderer is reading ahead of the playing period, seeking within the playing period would fail, because renderers would not be disabled but then try to read from SampleStreams that have a released period. Also, in the same circumstances, seeking within the reading period would fail, because all renderers would be disabled, but their sample streams have already been read. When they are reenabled they expect to see a format but don't receive one. In both cases, seeking can just clear the timeline. This only occurs in rare circumstances when the player is reading ahead, so the cost of re-preparing will not be incurred often, and allows the seeking logic to be simpler. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129891060
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129871792
olly committed -
It's no longer used. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129870115
olly committed -
Issue #1712 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129869936
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129869741
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129868070
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129867969
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129851843
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129849825
andrewlewis committed -
Referential equality is going to become important for detecting whether a SampleStream has been replaced, so we need to create new instances as we do elsewhere. This also enables multiple SampleStreams to be provided for a single TrackGroup, as is also true for DASH and SmoothStreaming. It's forbidden to ask for multiple SampleStreams from a single TrackGroup currently, but we may choose to relax that at some point (and indicate whether it's allowed as a flag on each TrackGroup). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129842336
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129787235
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129748865
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129747377
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129733571
olly committed -
- Add build test to [] so it runs in presubmit - Tweak README.md instructions - Use symlinks to make the extension usable in Android Studio internally, without taking any special action - Remove unnecessary dependencies - Simplify setup instructions in README.md ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129733466
olly committed
-