Video and audio keeps buffering on Android 5.1 and on Samsung Note video freezes but audio keeps playing only when Widevine DRM is used
While Playing Widevine DRM protected video we are facing issue playing on Android 5.1. Video is playing fine on Android 7 and above. We have tested with different Streaming Server to eliminate any issues with encoding. Same source file plays well on all version when DRM is not used. I have create a demo apk if you would to test on your device. Kindly share email address to provide the same.
Below log is captured when connecting the device where we get audio track Underrun error message
01-25 08:44:55.171 2067-2067/? D/EventLogger: videoEnabled [0.95]
01-25 08:44:55.171 2067-2067/? D/EventLogger: audioEnabled [0.95]
01-25 08:44:55.451 2067-2067/? D/EventLogger: loading [false]
01-25 08:44:55.961 2067-2083/? I/art: Background partial concurrent mark sweep GC freed 642(44KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 3MB/5MB, paused 5.729ms total 93.185ms
01-25 08:44:58.201 2067-2573/? I/OMXClient: Using client-side OMX mux.
01-25 08:44:58.211 2067-2573/? E/OMXMaster: A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
01-25 08:44:58.241 2067-2067/? D/EventLogger: audioDecoderInitialized [4.03, OMX.google.aac.decoder]
01-25 08:44:58.241 2067-2067/? D/EventLogger: audioFormatChanged [4.03, id=audio/en/mp4a, mimeType=audio/mp4a-latm, bitrate=72665, channels=2, sample_rate=44100, language=eng]
01-25 08:44:58.251 2067-2578/? I/OMXClient: Using client-side OMX mux.
01-25 08:44:58.401 2067-2578/? I/ACodec: [OMX.qcom.video.decoder.avc] DRC Mode: Dynamic Buffer Mode
01-25 08:44:58.411 2067-2578/? I/ExtendedCodec: Decoder will be in frame by frame mode
01-25 08:44:58.431 2067-2067/? D/EventLogger: videoDecoderInitialized [4.22, OMX.qcom.video.decoder.avc]
01-25 08:44:58.431 2067-2067/? D/EventLogger: videoFormatChanged [4.22, id=video/avc1, mimeType=video/avc, bitrate=2565478, res=1280x720, fps=29.99927]
01-25 08:45:05.031 2067-2575/? I/SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels
01-25 08:45:05.141 2067-2067/? D/EventLogger: audioSessionId [190]
01-25 08:45:05.201 2067-2067/? D/EventLogger: state [10.98, true, R]
01-25 08:45:06.411 2067-2067/? E/EventLogger: internalError [12.19, audioTrackUnderrun [56448, 320, 502]]
01-25 08:45:07.121 2067-2067/? E/EventLogger: internalError [12.90, audioTrackUnderrun [56448, 320, 652]]
01-25 08:45:07.881 2067-2067/? E/EventLogger: internalError [13.66, audioTrackUnderrun [56448, 320, 670]]
01-25 08:45:08.591 2067-2067/? E/EventLogger: internalError [14.37, audioTrackUnderrun [56448, 320, 621]]
01-25 08:45:09.311 2067-2067/? E/EventLogger: internalError [15.09, audioTrackUnderrun [56448, 320, 633]]
01-25 08:45:09.361 2067-2067/? D/EventLogger: droppedFrames [15.15, 50]
01-25 08:45:09.981 2067-2067/? E/EventLogger: internalError [15.76, audioTrackUnderrun [56448, 320, 605]]
01-25 08:45:10.701 2067-2067/? E/EventLogger: internalError [16.48, audioTrackUnderrun [56448, 320, 652]]
01-25 08:45:11.441 2067-2067/? E/EventLogger: internalError [17.23, audioTrackUnderrun [56448, 320, 629]]
01-25 08:45:11.491 2067-2067/? D/EventLogger: loading [true]
01-25 08:45:11.731 2067-2067/? D/EventLogger: state [17.52, false, R]
01-25 08:45:11.851 2067-2067/? E/EventLogger: internalError [17.63, audioTrackUnderrun [56448, 320, 363]]
01-25 08:45:11.911 2067-2067/? D/EventLogger: droppedFrames [17.69, 30]
01-25 08:45:11.911 2067-2067/? D/EventLogger: loading [false]
01-25 08:45:15.941 2067-2067/? D/EventLogger: videoDisabled [21.72]
01-25 08:45:15.941 2067-2067/? D/EventLogger: audioDisabled [21.72]
01-25 08:45:15.981 2067-2067/? I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@1c21ea09 time:85317303
It sounds from the issue description like this was a device specific issue that Samsung resolved in their Android 7 update for Note. If that's the case there's probably not much we can do to help, and you should advise affected users to take the Android 7 update for there device. Have I misunderstood, or does that sound right?
Closing due to lack of clarification.