Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacMan988

macrumors 6502a
Original poster
Jul 7, 2012
895
176
Hi, I'm trying to make an existing iOS 7 app compatible with the iOS 6.1. The app is using AVPlayer to play a streamed content. I've read that the AVPlayer's volume property is only available in iOS 7 onwards. Trying to change the volume (through a UISlider) causes the app to crash.

Is there any workaround to change volume of an AVPlayer instance?
 
Hi, I'm trying to make an existing iOS 7 app compatible with the iOS 6.1. The app is using AVPlayer to play a streamed content. I've read that the AVPlayer's volume property is only available in iOS 7 onwards. Trying to change the volume (through a UISlider) causes the app to crash.

Is there any workaround to change volume of an AVPlayer instance?

As you say, the docs indicate that the volume property on AVPlayer is only available in iOS 7.

My guess is that if you want to control the volume of your streamed content you'll need to use a different API.

It might be helpful if you posted your code (using code tags of course...)
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.