-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS - on older devices, FMOD audio stutters when resource load is high and video is opened #1969
Comments
Please note that AVPro Video version 2 has been depreciated and will no longer be receiving any fixes or updates. Are you able to retest using a trial version of AVPro Video 3? Are you using Unity audio or System Direct? It sounds like there aren't enough system resources to process all the audio. |
Thanks for your response! Yes, I will retest with a trial version of AVPro Video 3. We're using System Direct audio. There are approximately 5 audio sources playing at the time of stuttering. We're not receiving any errors but I will continue profiling and share any relevant findings. |
I retested on 3.0.8 and got the same result. Video below. I also tried changing to Unity audio rather than System Direct and that didn't seem to help things, either. I guess our next step is just to reduce system resource draw. |
If the video's audio needs to be resampled to match the sample rate set by Unity then that will put a strain on audio resources. Make sure your video's audio track's sample rate matches Unity's. |
Thank you, we will try this! |
Describe the issue
Our team has been using AVPro 2.9.* for a large amount of video content in our app. Recently, we have noticed that in certain situations, on somewhat older iOS devices (iPad 8 and lower), when playing multiple sounds (music, ambient, sfx, etc.) in FMOD and opening a video with AVPro at the same time, the audio will cut out or stutter. The weird thing is that this doesn't seem to happen on similarly low-resourced Android devices. Perhaps this is a quirk of the platform but we were wondering if others have seen similar interactions before. Thank you in advance for your help looking into this! Please let me know how I can assist with the process.
Your Setup (please complete the following information):
To Reproduce
Occurs when multiple FMOD sounds are playing and then a video is opened with AVPro.
Videos
https://github.com/user-attachments/assets/9dd5eeeb-27ac-4b9f-9517-91febee3580c
The text was updated successfully, but these errors were encountered: