Commit 72846c4f by olly Committed by Ian Baker

Decrease polling rate for IMA Video Ads from 100ms to 200ms

PiperOrigin-RevId: 438634901
parent 30189f70
...@@ -84,12 +84,14 @@ import java.util.Map; ...@@ -84,12 +84,14 @@ import java.util.Map;
private static final String IMA_SDK_SETTINGS_PLAYER_VERSION = ExoPlayerLibraryInfo.VERSION; private static final String IMA_SDK_SETTINGS_PLAYER_VERSION = ExoPlayerLibraryInfo.VERSION;
/** /**
* Interval at which ad progress updates are provided to the IMA SDK, in milliseconds. 100 ms is * Interval at which ad progress updates are provided to the IMA SDK, in milliseconds. 200 ms is
* the interval recommended by the IMA documentation. * the interval recommended by the Media Rating Council (MRC) for minimum polling of viewable
* video impressions.
* http://www.mediaratingcouncil.org/063014%20Viewable%20Ad%20Impression%20Guideline_Final.pdf.
* *
* @see VideoAdPlayer.VideoAdPlayerCallback * @see VideoAdPlayer.VideoAdPlayerCallback
*/ */
private static final int AD_PROGRESS_UPDATE_INTERVAL_MS = 100; private static final int AD_PROGRESS_UPDATE_INTERVAL_MS = 200;
/** The value used in {@link VideoProgressUpdate}s to indicate an unset duration. */ /** The value used in {@link VideoProgressUpdate}s to indicate an unset duration. */
private static final long IMA_DURATION_UNSET = -1L; private static final long IMA_DURATION_UNSET = -1L;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment