Regarding the widevine encrypted stream with an audio sampling rate of 48KHz, the decryption on some Samsung phones and pads is too slow, resulting in impaired video quality

Equipment contains SM-G9300、SM-T820、Samsung Galaxy Tab A 8.0

Sound problems when playing videos on these devices

The video stream is encrypted by widevine. When the audio playback rate is 48KHZ and the video quality is relatively high, the sound decryption will be slower.

05-06 16:36:13.489 D/CryptoHal( 1079): found drm@1.0 ICryptoFactory clearkey
05-06 16:36:13.493 D/CryptoHal( 1079): found drm@1.0 ICryptoFactory default
05-06 16:36:13.495 D/CryptoHal( 1079): found drm@1.0 ICryptoFactory widevine
05-06 16:36:13.498 D/CryptoHal( 1079): found drm@1.1 ICryptoFactory clearkey
05-06 16:36:13.499 D/CryptoHal( 1079): found drm@1.1 ICryptoFactory widevine

queueSecureInputBuffer is slow, it takes about 30ms

dequeueOutputBuffer often returns -1, which is actually worthwhile