onPlayerError(PlaybackException error) { super.onPlayerError(error); // 处理错误 if (error.errorCode == PlaybackException.ERROR_CODE_IO_NETWORK_CONNECTION_FAILED) { // 网络连接失败 // 显示错误消息或重试播放 } else if (error.errorCode == PlaybackException.ERROR_CODE_DECODING_FAILED) { //...
mimeType + ", " + "secureCodeRequired:" + decoderInitializationException.secureDecoderRequired + ", " + "diagnosticInfo:" + decoderInitializationException.diagnosticInfo + ", " + "exceptionMessage:" + message; return new NoPlayerError(PlayerErrorType.RENDERER_DECODER, Detail...
07-31 10:14:30.436 e: [ExoPlayer][EventLogger] playerFailed [eventTime=51.65, mediaPos=626.49, window=0, period=0, errorCode=ERROR_CODE_DECODING_FAILED com.google.android.exoplayer2.q: MediaCodecVideoRenderer error, index=1, format=Format(0, null, null, video/avc, h264, 1827252, null,...
Remove two deprecatedHttpDataSource.InvalidResponseCodeExceptionconstructors, use a non-deprecated constructor that accepts additional fields(cause,responseBody) to enhance error logging. RemoveDownloadHelper.forProgressive,DownloadHelper.forHls,DownloadHelper.forDash, andDownloadHelper.forSmoothStreaming, useDown...
PlaybackException introduces an errorCode which identifies the cause of the failure in order to simplify error handling (#1611). Add a DefaultMediaDescriptionAdapter for the PlayerNotificationManager, that makes use of the Player MediaMetadata to populate the notification fields. Add @FallbackType to...
mimeType + ", " + "secureCodeRequired:" + decoderInitializationException.secureDecoderRequired + ", " + "diagnosticInfo:" + decoderInitializationException.diagnosticInfo + ", " + "exceptionMessage:" + message; return new NoPlayerError(PlayerErrorType.RENDERER_DECODER, DetailErrorType.INITIALISATI...
PlaybackException introduces an errorCode which identifies the cause of the failure in order to simplify error handling (#1611). Add a DefaultMediaDescriptionAdapter for the PlayerNotificationManager, that makes use of the Player MediaMetadata to populate the notification fields. Add @FallbackType to...
I'm trying to extract a single frame from a video by using ImageReader. However, my target device keeps failing to initialize its decoder: this is strange, because when I'm trying to playback the same video with the same source code, it ...
[REQUIRED] Issue description On Pixel 3 and probably 3a (Android 10) some mp4 videos cannot be played because of failed decoder initialization. On other android os or devices, they work. They also work on iOS and desktop. Link to video: ...
(omxError 0x80001001, internalError -2147483648) 4148-6324/com.vng.zalo.zmediaplayerdemo E/MediaCodec: Codec reported err 0x80001001, actionCode 0, while in state 6 4148-5336/com.vng.zalo.zmediaplayerdemo W/System.err: java.lang.IllegalStateException 4148-5336/com.vng.zalo.zmediaplayerdemo ...