mirror of
https://github.com/samsonjs/media.git
synced 2026-04-09 11:55:46 +00:00
Turn off ExoPlayer metrics reporting when used by Transformer.
This avoids affecting ExoPlayer metrics with non-typical usage. PiperOrigin-RevId: 506878231
This commit is contained in:
parent
bffa6a9653
commit
ed5af63227
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue