mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
Skip ad group on unknown load error
PiperOrigin-RevId: 233576600
This commit is contained in:
parent
c66d26b601
commit
3a5ed6b889
1 changed files with 2 additions and 1 deletions
|
|
@ -1374,7 +1374,8 @@ public final class ImaAdsLoader
|
|||
private static boolean isAdGroupLoadError(AdError adError) {
|
||||
// TODO: Find out what other errors need to be handled (if any), and whether each one relates to
|
||||
// a single ad, ad group or the whole timeline.
|
||||
return adError.getErrorCode() == AdErrorCode.VAST_LINEAR_ASSET_MISMATCH;
|
||||
return adError.getErrorCode() == AdErrorCode.VAST_LINEAR_ASSET_MISMATCH
|
||||
|| adError.getErrorCode() == AdErrorCode.UNKNOWN_ERROR;
|
||||
}
|
||||
|
||||
private static boolean hasMidrollAdGroups(long[] adGroupTimesUs) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue