As shown by the code above, I've tried setting playback speed after loading the video and also when player changes it's state to playing. In none of then the speed was changed.
Also, player.availablePlaybackRates returns nil in both cases (that's strange because when I watch the same video using the YouTube app, I can change the playback speed).
I know that setting the playback speed is a suggestion to the player, but on the official YouTube app, changing the speed works for the same video that I'm trying to watch on my app.
I'm trying to set the playback speed, but nothing happens:
As shown by the code above, I've tried setting playback speed after loading the video and also when player changes it's state to
playing
. In none of then the speed was changed.Also,
player.availablePlaybackRates
returns nil in both cases (that's strange because when I watch the same video using the YouTube app, I can change the playback speed).I know that setting the playback speed is a suggestion to the player, but on the official YouTube app, changing the speed works for the same video that I'm trying to watch on my app.
Is there anything that I'm missing here?