Closed reuben-originatorkids closed 1 month ago
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? How many audio sources are being played at the same time? Are you able to provide any error logging?
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. https://github.com/user-attachments/assets/ea33b284-baa5-4051-b6f4-60198b44b272
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. If you haven't configured it in the player settings then Unity's default of 24kHz will be being used so I would advise changing that to 44.1kHz or 48kHz.
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