UnityPlugin-AVProVideo
UnityPlugin-AVProVideo copied to clipboard
[Android] Video with 96 kHz sampling rate has no sound on Meta Quest
Unity version
2022.3.54f1
Unity editor platform
Windows
AVPro Video edition
Trial
AVPro Video version
3.2.6
Device hardware
Meta Quest 2/3
Which Android OS version are you using?
14
Unity Graphics API
OpenGLES 3
Video API
media3/ExoPlayer
Texture format
BGRA
Audio output
Unity
Any other Media Player component configuration required to reproduce the issue.
No response
Which output component(s) are you using?
Apply to Mesh
Any other component configuration required to reproduce the issue.
No response
The issue
Videos with smapling rate of 96 kHz have no sound on Meta Quest 2/3. I set Video API to Exo Player in Android section in Platform Speicifcs. After I lauched build on Meta Quest 2/3 no audio was present in played video. I play video via Media Reference. Using ffmpeg I changed sampling rate of video to 48 kHz and sound appeared. Additionaly, changing Exo Player to MediaPlayer fixes sound problem, but perfomance drops down too much.
Steps to reproduce:
- Open demo project
- Open Demo_360Stereo scene
- Change Video API to Exo Player in Android Platform Specifics. Set Audio Output to Unity
- Build APK for Meta Quest, install and run it.
Media information
No response
Logcat output