[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3339
  • Last Modified:

iOS AVPlayer rate property not effecting video playback speed

I have an iOS app (running fine on iOS 6 and iOS 7).

The app plays .mp4 videos that it pulls from my web server.

The videos play fine.

But if I change the rate to try and slow down or speed up the video, nothing changes.
The video still plays back at normal speed.

I have tried these various ways -

[player setRate:0.50];
[player play];

player.rate = 0.50;
[player play];

[player setRate:2.0];
[player play];
0
kevinvw1
Asked:
kevinvw1
  • 2
1 Solution
 
kevinvw1Author Commented:
Never mine, I figured it out.  Rookie mistake.  I needed to set the rate after the [player play]

It is working fine now.
0
 
kevinvw1Author Commented:
"Never mind", not "Never mine"
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now