AVPlayer changing rate is chopping audio

Hello everyone,


I'm woking on an app that is playing two HLS Live streams with AVPlayer, I need to control the rate of each player in order to be syncronised to each other.

I was trying to modify also the player rate when the user needs but everytime that I set something like:

avPlayer.rate = 1.5

The audio stops for few milliseconds and then it starts again with the new rate.


It happens also when I set the rate = 0.9.


Do you have any idea how to solve this issue? Have you ever faced it?


Thanks a lot,


Dario