- 24 Oct, 2016 1 commit
-
-
Oliver Woodman committed
-
- 20 Oct, 2016 5 commits
-
-
Update dev-v2-id3
ojw28 committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136697697
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136607848
aquilescanta committed -
Oliver Woodman committed
-
- 19 Oct, 2016 8 commits
-
-
Oliver Woodman committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136597149
olly committed -
Issue: #1965 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136595233
olly committed -
*** Reason for rollback *** Flag doesn't enforce what it says it enforces, due to redirects *** Original change description *** Add REQUIRE_HTTPS flag Note that it's not possible for the library to enforce that the flag is adhered to, since it's possible for applications to inject custom implementations of DataSource (there's no requirement they even extend HttpDataSource for network requesting implementations). It's possible for applications to replace pretty much anything in the library, so there's no other place we could put the flag where we could make this guarantee. Hence this is a best-effort that will work when... *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136583459
olly committed -
This is a problem when two invocations of getNextChunk that retrieve chunks (i.e. not playlists) occur too apart in time. In that case the last loaded chunk has a media sequence that is behind the current playlist. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136501291
aquilescanta committed -
Note that it's not possible for the library to enforce that the flag is adhered to, since it's possible for applications to inject custom implementations of DataSource (there's no requirement they even extend HttpDataSource for network requesting implementations). It's possible for applications to replace pretty much anything in the library, so there's no other place we could put the flag where we could make this guarantee. Hence this is a best-effort that will work when using HttpDataSource implementations that we provide. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136500947
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136399474
kapishnikov committed -
Use sha1 of content uri if a custom cache key or content id isn't provided. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136351830
eguven committed
-
- 18 Oct, 2016 2 commits
-
-
Oliver Woodman committed
-
Oliver Woodman committed
-
- 17 Oct, 2016 7 commits
-
-
Merge dev-v2 into dev-v2-id3
ojw28 committed -
Oliver Woodman committed
-
Oliver Woodman committed
-
Oliver Woodman committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136339035
olly committed -
This will allow asynchronous preparation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136176854
aquilescanta committed -
One issue with the previous implementation was that isUnsynchronized would not be set back to false if previously set to true and if the next header has majorVersion >= 4. In general, having the decoder be stateless is clearer (and thread safe, albeit that this property is not required).
Oliver Woodman committed
-
- 14 Oct, 2016 8 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136163292
klampert committed -
1. HttpMediaDrmCallback.executeProvisionRequest needs to specify an empty byte[], else we do a GET instead of a POST. 2. Content-Type should not be set when making the provision request, since there's no body. 3. DataSource implementations must correctly handle a non-null body with zero length. CronetDataSource was not handling this case. DefaultHttpDataSource was, but made a code modification to make it a little clearer. OkHttpDataSource seems to handle the case correctly, and it doens't look like the code can be made clearer. Issue #1925 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136042641
olly committed -
Note that actually handling CEA-708 is not yet implemented, and so this is a no-op change from a behavior point of view. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136038439
olly committed -
The method track(int id) currently has different behaviours across implementations. This CL maps ids to track outputs, which means that successive calls with the same id will return the same TrackOutput instance. Also fixes TsExtractor inconsistent behavior after a seek. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136026721
aquilescanta committed -
Issue:#1782 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136025847
aquilescanta committed -
A blocking call is necessary where we want to guarantee that the player wont access the surface after the method call has returned. We currently only do this for the case: Surface->Null But we should also do it for the case: SurfaceA->SurfaceB Since the caller may reasonably do something like destroy SurfaceA immediately after it's been replaced. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135921296
olly committed -
This allows the injectable reader factory to be a stateless factory, allows the seeking to be consistent and will allow multiple CC channel support later on. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135909712
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135819142
olly committed
-
- 12 Oct, 2016 2 commits
-
-
Oliver Woodman committed
-
Update dev-v2-id3 with dev-v2
ojw28 committed
-
- 11 Oct, 2016 7 commits
-
-
Issue: #1907 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135798950
olly committed -
- Fix issue in ExoPlayerImpl where the timeline was null'd but onTimelineChanged was not fired. - Add the ability to not reset the timeline. This is useful for retries where you know the timeline will be the same as it was previously. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135797577
olly committed -
playingPeriodHolder can be null in the case that the first period is still being prepared. We need to make sure we release the period that's being prepared in such cases, which is loadingPeriodHolder. Issue: #1914 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135793472
olly committed -
- Move nearly all logic onto the calling thread (i.e. the thread calling open/read/close), to make threading correctness more obvious. - Document which variables are read/written from which thread, and why the call sequences are safe. - Fix thread safety issue that I think could probably cause data corruption in the case of a read timeout followed by another request into the DataSource. Also: - Relaxed content length checking to be consistent with the other http DataSource implementations, and avoided parsing the headers where they're not used. - Fixed missing generics in CronetDataSourceFactory. - Added TODO to work with servers that don't support partial range requests. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135702217
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135700280
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135692709
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135682130
eguven committed
-