diff --git a/app/build.gradle b/app/build.gradle index f3fca2fe..90f3e481 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -104,11 +104,11 @@ dependencies { implementation 'com.android.billingclient:billing:3.0.2' implementation 'com.google.code.gson:gson:2.8.6' - implementation 'com.google.android.exoplayer:exoplayer-core:2.11.4' - implementation 'com.google.android.exoplayer:exoplayer-dash:2.11.4' - implementation 'com.google.android.exoplayer:exoplayer-ui:2.11.4' - implementation 'com.google.android.exoplayer:extension-cast:2.11.4' - implementation 'com.google.android.exoplayer:extension-mediasession:2.11.4' + implementation 'com.google.android.exoplayer:exoplayer-core:2.12.2' + implementation 'com.google.android.exoplayer:exoplayer-dash:2.12.2' + implementation 'com.google.android.exoplayer:exoplayer-ui:2.12.2' + implementation 'com.google.android.exoplayer:extension-cast:2.12.2' + implementation 'com.google.android.exoplayer:extension-mediasession:2.12.2' implementation 'com.google.android:flexbox:2.0.1' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index cc655ddf..d5aacbb8 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -11,6 +11,7 @@ + drmSessionManager, - boolean playClearSamplesWithoutKeys, boolean enableDecoderFallback, - AudioProcessor[] audioProcessors, + AudioSink audioSink, Handler eventHandler, AudioRendererEventListener eventListener, ArrayList out) { - AudioProcessor[] audioProcessorList = { new TeeAudioProcessor(audioBufferSink) }; + super.buildAudioRenderers( context, extensionRendererMode, mediaCodecSelector, - drmSessionManager, - playClearSamplesWithoutKeys, enableDecoderFallback, - audioProcessorList, + audioSink, eventHandler, eventListener, out);