iOS 18: VideoComponent conflicts with audio device sample rate

I have a plugin/standalone for iOS that loads multitrack audio and video separately. Up until iOS 17 I was able to set the audio device to any sample rate and the video would always play correctly, regardless of the sample rate. Now, with iOS 18 it seems that the videoComponent always tries to change the audio device sample rate to match the audio track in the video file.

This behavior can also be experienced with DemoRunner compiled for iOS. Once an external audio device is connected via USB, when a video is loaded into the Video Demo page, whatever the sample rate was, it is immediately changed to match the audio track in the video file and seems to hang until a new demo page is loaded. For example: the audio device is set to 44100, once a video is loaded (which is usually 48KHz), the audio settings change to 48K.

Is there a way to keep the behavior we had with iOS 17? Or, even better, I would like to find a way to open only the video stream and completely ignore the audio part of the video player.

Sample-rate handling on iOS 18 has been an on-going saga. It seems like the behaviour of the OS changed significantly, and no longer follows the documented behaviour. Workarounds were added on the develop branch very recently.

Please can you confirm that the issues are seeing are present on the current JUCE develop branch?

Yes, I forgot to say that I was using the latest development. As soon as I saw that there were improvements regarding the samplerate problem with iOS 18 I wanted to try my App and I must say that now everything seems to work correctly, except the fact that the videoComponent interferes with the audio settings.