Commit ed5af632 by samrobinson Committed by microkatz

Turn off ExoPlayer metrics reporting when used by Transformer.

This avoids affecting ExoPlayer metrics with non-typical usage.

PiperOrigin-RevId: 506878231
parent bffa6a96
......@@ -165,7 +165,8 @@ public final class ExoPlayerAssetLoader implements AssetLoader {
.setMediaSourceFactory(mediaSourceFactory)
.setTrackSelector(trackSelector)
.setLoadControl(loadControl)
.setLooper(looper);
.setLooper(looper)
.setUsePlatformDiagnostics(false);
if (clock != Clock.DEFAULT) {
// Transformer.Builder#setClock is also @VisibleForTesting, so if we're using a non-default
// clock we must be in a test context.
......
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