Home > Forum > audio bug in the MediaPlayer SDK if first stream has more than 6 channels

audio bug in the MediaPlayer SDK if first stream has more than 6 channels

Dec 21 (9 months ago)
luiks wrote
Hello, I encountered an unusual audio bug in the MediaPlayer SDK. The issue arises when the audio stream contains more than 6 channels, and the 'audio enhancements' feature is activated.

If the video file has only one audio stream with more than 6 channels or multiple audio streams where the first one exceeds 6 channels, the audio fails to play when 'audio enhancements' are enabled, even if a <=6 channel audio stream is selected.

However, when the video file contains multiple audio streams, and the first stream has <=6 channels while the others streams have 7+ channels, everything works correctly, including 7+ channel streams with 'audio enhancements' enabled.

It appears that the audio renderer fails when the first audio stream has more than 6 channels and 'audio enhancements' are turned on.
Reply
2 Answers
Dec 21 (9 months ago)
luiks wrote
i included two sample files.

"sample 1.mkv" - first stream 6 channels and second stream 8 channels, and everything works fine when "enhancements" are enabled including 8 channel stream.

"sample 2.mkv" - first stream 8 channels and second stream 6 channels, and audio fails when "enhancements" are enabled.

https://www.upload.ee/files/16079189/sample_1.mkv.html
https://www.upload.ee/files/16079191/sample_2.mkv.html
Dec 23 (9 months ago)
Roman Miniailov agent wrote
Hi

Interesting issue. We'll work on it.