Instance Property

usesApplicationAudioSession

Indicates whether the capture session will make use of the app’s shared audio session.

Declaration

@property(nonatomic) BOOL usesApplicationAudioSession;

Discussion

If the value of this property is NO, the capture session makes use of a private AVAudioSession instance for audio recording, which may cause interruption if your app uses its own audio session for playback.

For apps linked against iOS 7.0 or newer, this property defaults to YES, allowing simultaneous playback and recording.

See Also

Sharing the Application’s Audio Session

automaticallyConfiguresApplicationAudioSession

A Boolean value that indicates whether the capture session automatically changes settings in the app’s shared audio session.