mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Notify the client when ExoPlayer fallbacks to a different codec.
PiperOrigin-RevId: 377602447
This commit is contained in:
parent
efdd55fad5
commit
71fb7411ce
1 changed files with 1 additions and 0 deletions
|
|
@ -1038,6 +1038,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
|||
DecoderInitializationException exception =
|
||||
new DecoderInitializationException(
|
||||
inputFormat, e, mediaCryptoRequiresSecureDecoder, codecInfo);
|
||||
onCodecError(exception);
|
||||
if (preferredDecoderInitializationException == null) {
|
||||
preferredDecoderInitializationException = exception;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue