Expose _captureSession.automaticallyConfiguresApplicationAudioSession property
CAMOBAP opened this issue · comments
Problem
I faced with case when I need mix micro audio with background audio (audio form iTunes player).
I have found solution to achieve this, one of step of this solution require
AVCaptureSession *session = [[AVCaptureSession alloc] init];
session.automaticallyConfiguresApplicationAudioSession = NO;
I noticed that PBJVision
expose 'similar' property _captureSession.usesApplicationAudioSession
so I think this isn't a big deal to add another one
Proposed solution
add @property (nonatomic) BOOL automaticallyConfiguresApplicationAudioSession;
to PBJVision
class (I can prepare a pull request if needed)
Pull request ready #312
@piemonte may I know the reason why it wasn't accepted?
sorry @camobap795 i thought it had been merged. can look at it for you tomorrow.
it looks like it was merged in, is there another PR?
@piemonte yes you are right, sorry for misleading
@camobap795 it is no problem, thanks for the contribution ✌️️