4

I am using UIImagePickerController for recording video in one of my application. i have successfully Recorded video. But now i want to mute mic (video without audio) while recording video. i have searched Alot but not a single clue about it. please help me about this issue. is it possible or not. if possible than how. thanks in advance.

jamil
  • 2,419
  • 3
  • 37
  • 64

2 Answers2

3

If you want your app to be in app store , then there is no apple approved method to actually mute whole iPhone.There are certain libraries but they are not approved.

Apple's documentation on Audio Session

According to the documentation you can only ask the user to have the phone silenced physically and you can respond to certain audio changes such as other sounds,phone calls, email sounds but you cannot mute programmatically.

Also See this Documentation on Programming in iPhone See the part 3.3 for Audio.(Events that can be accessed and performed in iOS).

Abhishek Singh
  • 6,068
  • 1
  • 23
  • 25
  • THANKS @roronoa. please share a link so that i can tell my client that this task of "mute mic" is illegal. – jamil May 29 '12 at 08:05
1

You can use AVFoundation framework to record a video without the sound, check at this :

AVFoundation Programming Guide

Johnmph
  • 3,391
  • 24
  • 32
  • Can you please share some code snippet for video recording without sound. thanks in advance – jamil May 29 '12 at 12:53