- 15 Jan, 2018 5 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=181135589
tonihei committed -
This lets apps fail-fast when they try to reuse media source instances. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180934445
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180929422
eguven committed -
If SimpleExoPlayer is using TextView as output, we can handle video rotation by automatically applying a matrix transformation to the TextureView when we have this information available from the video (from video's metadata). GitHub: #91 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180925571
hoangtc committed -
In certain conditions CacheDataSource switch to reading from upstream without writing back to cache. This change makes it detect the change of these conditions and switch to reading from or writing to cache. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180901463
eguven committed
-
- 04 Jan, 2018 11 commits
-
-
DASH manifests can now contain non-null but incomplete DRM init data. Hence using the manifest init data when non-null is not always the correct thing to do. This change merges the sample and manifest formats (which correctly merges the DRM init data) and then uses the result. Issue: #3630 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180787784
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180782164
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180778084
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180777553
olly committed -
Issue: #2147 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180678595
andrewlewis committed -
- Parse multiple kids from default_KID. It's specified as a whitespace separated list of UUIDs rather than a single UUID. - Opportunistically proceed with playback in cases where the manifest only defines a single SchemeData with the common PSSH UUID. In such cases the manifest isn't saying anything about which specific DRM schemes it supports. Issue: #3630 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180675056
olly committed -
This removes the need to calculate the time needed to run the doSomeWork method. Consequently, we can use both the real Clock/Handler and the FakeClock without changing the way the playback loop works and without violating the interfaces of Clock or Handler. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180665647
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180661355
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180660349
tonihei committed -
Issue: #3645 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180659855
olly committed -
Simplified and clarified the code. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180649983
eguven committed
-
- 03 Jan, 2018 18 commits
-
-
Issue: #3645 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180559196
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180558741
olly committed -
Some readability fixes for PlayerMessage and the handling in ExoPlayerImplInternal. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180544294
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180543378
olly committed -
Whilst the previous behavior was WAI and had the advantage of updating the position to be more exact when known, there were a couple of disadvantages: 1. If seeking to the very end of a period in a playlist when paused, the position adjustment could trigger a position discontinuity to the next period. 2. We de-duplicate seeks to the current playback position. The position adjustment can prevent this from being effective. This is particularly important with the new SeekParameters support. When seeking to nearest sync point it's often possible to de-duplicate seeks, but we cannot do so if the playback position adjusts away from the sync point's time. Issue: #2439 Issue: #2882 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180540736
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180538379
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180254437
tonihei committed -
Issue:#3631 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=180197723
eguven committed -
This ensures that simulated playbacks always use the current player implementation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179929911
tonihei committed -
This ensures message order if multiple custom messages running on the playback thread and direct player commands are called immedately after each other. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179925852
tonihei committed -
Issue: #3379 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179925320
andrewlewis committed -
This allows to inject a FakeClock for tests. Other playback components (e.g. some media sources) still use SystemClock but they can be amended in the future if needed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179921889
tonihei committed -
Especially this removes the need for the Clock interface to directly implement Handler methods. Instead, we have a separate Handler interface and the FakeClock is able to construct such a Handler. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179918255
tonihei committed -
If ClippingMediaSource contains a child MediaSource with embedded metadata stream, and the embedded stream is being used, it can lead to ClippingMediaSource not be able to stop after the clipping end point. The reason being the metadata stream cannot read anymore sample, but it's also not end of source at that point. This CL fix this by changing the condition to check if the child stream cannot read anymore sample and it has read past the clipping end point. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179918038
hoangtc committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179917833
olly committed -
This prevents NPE when release or stop is called before tracks have been selected. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179911907
tonihei committed -
This adds options to ExoPlayer.sendMessages which allow to specify a window index and position at which the message should be sent. Additionally, the options can be configured to use a custom Handler for the messages and whether the message should be repeated when playback reaches the same position again. The internal player converts these window positions to period index and position at the earliest possibility. The internal player also attempts to update these when the source info is refreshed. A sorted list of pending posts is kept and the player triggers these posts when the playback position moves over the specified position. Issue:#2189 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179683841
tonihei committed -
*** Original change description *** Add possiblity to send messages at playback position. This adds options to ExoPlayer.sendMessages which allow to specify a window index and position at which the message should be sent. Additionally, the options can be configured to use a custom Handler for the messages and whether the message should be repeated when playback reaches the same position again. The internal player converts these window positions to period index and position at the earliest possibility. The internal player also at... *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179666357
tiffanywong committed
-
- 02 Jan, 2018 2 commits
-
-
This adds options to ExoPlayer.sendMessages which allow to specify a window index and position at which the message should be sent. Additionally, the options can be configured to use a custom Handler for the messages and whether the message should be repeated when playback reaches the same position again. The internal player converts these window positions to period index and position at the earliest possibility. The internal player also attempts to update these when the source info is refreshed. A sorted list of pending posts is kept and the player triggers these posts when the playback position moves over the specified position. Issue:#2189 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179563355
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179406910
olly committed
-
- 15 Dec, 2017 4 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179227114
olly committed -
- Lint doesn't like a static import of something not available on the minimum API level. - The method linked to in the Javadoc was incorrect (wrong signature). I couldn't really work out why it was there, so I got rid of it rather than updating. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179222587
olly committed -
Update PlaybackControlView and SimpleExoPlayerView so when showTimeoutMs is set while the controller is shown, the new timeout takes effect immediately. GitHub: #3554 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179171727
hoangtc committed -
Previously the ad/content progress updates were toggled based on whether the player was playing ads or content. After this change, we switch based on whether playAd/stopAd has been called instead. This seems to resolve an issue where occasionally the player would get stuck at the start of an ad, but as I don't have a root cause for that issue and it's only sporadically reproducible I'm not certain this is a reliable fix. Issue: #3525 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179169296
andrewlewis committed
-