- 28 Jul, 2016 11 commits
-
-
As per the spec of MediaPeriod.getDurationUs, when a live stream ends we need to start returning the correct final duration. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128471183
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128471102
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128465118
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128461778
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128397367
cdrolle committed -
We were forgetting to reset renderers during track selections where muxed media is used. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128391816
olly committed -
It's only "needed" for HLS, and this requirement will go away soon. It's safe to remove the flag ahead of this because a TrackSelector can/should not attempt to adapt between multiple audio/text tracks. Also remove unnecessary restrictions on TrackGroups being non-empty and only of known types. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128376601
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128357449
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128353039
andrewlewis committed -
- Remove null checks (never happens). - Use "const".equals(Util.CONST) where possible. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128351654
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128345063
mishragaurav committed
-
- 22 Jul, 2016 26 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128190311
olly committed -
The classes these tests are written for have changed so much we'll have to write them again. We can refer to V1 if we want to look at what the old tests did, so there's no need to keep this file in the V2 tree at the moment. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128189076
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128160177
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128159118
olly committed -
- TrackSelection now exposes the selected formats, ordered by decreasing bandwidth. This removes the need for DASH, SS and HLS to do the sorting individually. - The change also removes the need to reconstruct TrackSelection instances with a different group index in various places (e.g. MergingMediaPeriod). - This is also a step toward potentially packaging the FormatEvaluator inside of the TrackSelection (TBD). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128159064
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128085240
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128082468
eguven committed -
According to the spec, there is no mandatory relation between segments' sequence numbers of different variants. This CL ignores sequence numbers when switching variants: * In vod, the switching playback position is obtained by adding the duration of previous segments. * In live playback this is not possible. It is assumed that the different live media playlists do not drift apart too much, so the playback position is obtained by subtracting the duration in reverse order. In later CLs, the described mechanisms will become the fallback methods by replacing them with the use of EXT-X-PROGRAM-DATE-TIME information or more reliable sources. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128072663aquilescanta committed -
ISSUE: #1681 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128071668
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128060676
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128045581
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128040579
sharjeel committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127951757
cdrolle committed -
It's the only place that uses it. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127927164
olly committed -
SmoothStreaming -> Ss MediaPresentationDescription -> DashManifest DashSingleSegmentIndex -> SingleSegmentIndex Moved DASH and Ss manifest classes to matching manifest packages for consistency. For Hls the package is called playlist still, since that's what they're widely known as. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127925961
olly committed -
This also removes direct use of HttpURLConnection and allows use of any HttpDataSource for license requests, which means those using OkHttp can finally use the same network stack for license requests as they're using for everything else, without having to implement their own callback. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127841045
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127825954
mishragaurav committed -
Issue: #548 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127821150
andrewlewis committed -
With this change, MediaCodecRenderer acquires a session from its DrmSessionManager whenever the DrmInitData in the format changes. The DrmSessionManager is permitted to return the same session if it can be re-used. This plumbing adds support for: 1. Key-rotation, in the case that a key-rotation-aware DrmSessionManager is used. Such an implementation will return the same DrmSession for every aquisition, but will be making use of multiple MediaDrm instances within that session to enable the rotation. 2. Playlists with mixed clear and protected content. One final piece to this will be to have each MediaPeriod provide its own license URL. We could also allow each MediaPeriod to specify the DRM UUID, but switching from PlayReady to Widevine in a playlist seems like quite a hypothetical thing. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127816046
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127811486
olly committed -
This is a no-op change to avoid an error-prone unnecessary boolean expression warning. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127787709
cushon committed -
There may be other ways to estimate bandwidth that don't require listening to our own transfers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127741651
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127737169
olly committed -
This was possible previously, but now we support things like multi-period DASH we need to do the injection in the form of factories rather than concrete instances. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127735816
olly committed -
- Cleaned up documentation - Removed getIndex from Renderer interface - Renamed reset to be positionReset ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127731006
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127551577
eguven committed
-
- 15 Jul, 2016 3 commits
-
-
This change restores ExoPlayer to its previous behaviour. I think we'll want a "resetPosition" boolean parameter on setMediaSource at some point, but no need to add it right now. Note that this would not always reset to the start of the source. For a live playback it will reset to the desired position (normally somewhere slightly behind the live edge). Issue: #1667 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127549700
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127536151
andrewlewis committed -
Renderer no longer extends RendererCapabilities after this change. Capabilities are instead accessed via a getter. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127532634
olly committed
-