Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

iOS AVPlayer rate property not effecting video playback speed

Posted on 2013-12-05
2
Medium Priority
?
3,119 Views
Last Modified: 2013-12-07
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
Comment
Question by:kevinvw1
  • 2
2 Comments
 

Accepted Solution

by:
kevinvw1 earned 0 total points
ID: 39703396
Never mine, I figured it out.  Rookie mistake.  I needed to set the rate after the [player play]

It is working fine now.
0
 

Author Comment

by:kevinvw1
ID: 39703398
"Never mind", not "Never mine"
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question