- 27 Feb, 2018 6 commits
-
-
Use the pattern "string literal".equals(something) to prevent NPE …
ojw28 committed -
Add abstract logging methods to EventLogger
ojw28 committed -
replace 'compile' with 'implementation'
ojw28 committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187026802
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187021822
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187021535
olly committed
-
- 26 Feb, 2018 6 commits
-
-
Oliver Woodman committed
-
The util package is, in practice, for things that are misc enough to not warrant their own package. If something is deserving of a package, it's IMO best placed somewhere else (I know you could argue it's a util, but you could argue that about almost anything else as well). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187010018
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186999051
olly committed -
AdsMediaSource must be top-level. Currently the (deprecated) ImaAdsMediaSource can't be used because it prepares its contained AdsMediaSource as a child source. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186990882
andrewlewis committed -
Allow the position to jump on receiving the first presentable input buffer, if and only if the buffer timestamp differs significantly from what was expected. This prevents a stuck buffering case for streams that are thought to start at t=0, but actually start at t=large_value. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186990214
olly committed -
Aditya Anand committed
-
- 23 Feb, 2018 1 commit
-
-
Cory Charlton committed
-
- 22 Feb, 2018 7 commits
-
-
Cory Charlton committed
-
r2.7.0
ojw28 committed -
Oliver Woodman committed
-
Oliver Woodman committed
-
Oliver Woodman committed
-
Oliver Woodman committed
-
Allow the position to jump on receiving the first presentable input buffer, if and only if the buffer timestamp differs significantly from what was expected. This prevents a stuck buffering case for streams that are thought to start at t=0, but actually start at t=large_value.
Oliver Woodman committed
-
- 21 Feb, 2018 2 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186454715
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186454715
olly committed
-
- 20 Feb, 2018 18 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186305613
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186305613
olly committed -
Oliver Woodman committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186291489
olly committed -
Oliver Woodman committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186291489
olly committed -
Oliver Woodman committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186200840
olly committed -
Occasionally the player could transition from playing content to playing an ad after IMA called playAd. The discontinuity triggered faking the content position, and the fake position was passed to IMA when content resumed causing the wrong ad group to be loaded. Fix this by only faking the position if the player transitions before playAd. Also fix the calculation of the expected ad group index for a postroll ad, and wait for the player to transition back from ad to content before passing a content progress update. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185994229
andrewlewis committed -
If an exception is thrown in an IMA callback it crashes the process with lots of logging from WebView (including several stack traces, etc.). This change wraps ImaAdsLoader code that might throw, skips any remaining ads (as the errors are not recoverable, in general) and notifies a new load error callback so that the application can implement its own handling. The intention is to make the loader robust to unexpected requests from IMA and avoid crashes. Also handle IMA loading an ad in an ad group that has no available ads. In rare cases IMA will try to load an ad for which an error was previously notified, so this drops those load requests allowing playback of the content to continue. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185985850
andrewlewis committed -
Issue:#3340 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185973510
aquilescanta committed -
All media periods are part of a queue of windows buffered and played by ExoPlayer. When repeating windows, the current MediaPeriodId is insufficient to distinguish between the repetitions of the same period. This makes it hard to see to which media period load events belong to, and it is also difficult to determine whether two media periods belong to the same logical window or whether they are part of different repetitions of the same window. Therefore this change adds a unique sequence number to each window in the sequence of windows and this sequence number is saved as part of the MediaPeriodId. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185829509
tonihei committed -
If there was no preroll and the pending content position was set before the first midroll, the pending content position was never cleared so loading the ad was never triggered. Only set a pending content position if we know that we need to trigger playing an ad for the current position and IMA will poll for an ad (because there is a midroll ad group). Clearing the pending content position happens when IMA pauses content to play the ad. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185818315
andrewlewis committed -
IMA sometimes delivers an ad group load error just after the time of the ad group, which is problematic now that we set the expected ad group index based on the last returned content progress. Only update the expected ad group index once we are within a fixed preloading threshold of the next ad. Also fix updating the ad group to use the new ad count, and check for ad group load errors when we have no expected ad group defensively. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185803086
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185681751
tonihei committed -
Content progress is only polled if there are midroll ad groups. If the ad tag had only preroll/postroll ads, the pending content position was not provided to IMA, which meant that the postroll ad could never play. Only set the pending content position if there are midroll ads. Issue: #3715 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185680803
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185676652
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185526653
eguven committed
-