Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to record audio with screen capture video separately. #2

Open
bhushanb02 opened this issue Nov 26, 2012 · 1 comment
Open

Comments

@bhushanb02
Copy link

Hello, I am using CaptureRecord Framework. I need to record the complete screen which has Front Camera Recording going on and also the audio the user speaks with that camera recording.

I wrote code:
[[CRRecorder sharedRecorder] setAlbumName:@"Capture Record"];
[[CRRecorder sharedRecorder] setOptions:CRRecorderOptionUserCameraRecording|CRRecorderOptionUserAudioRecording|CRRecorderOptionTouchRecording];

But problem is that, when i use this code camera recording is not showing in AVCaptureVideoPreviewLayer.
And need to record audio with screen capture video separately, not with the camera video.
Also need only screen capture video.

Please help me.
Thanks in advance.

@gabriel
Copy link
Owner

gabriel commented Nov 29, 2012

Oh, the recording won't work if the camera is in use by the app itself since you can't access the front and back camera at the same time. I'm not sure if its possible to workaround this without doing 2 separate recording sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants