iphone Programming Glossary: capturevideopreviewlayer
Avfoundation - Play and record video (along with audio and preview) simultaneously http://stackoverflow.com/questions/6991452/avfoundation-play-and-record-video-along-with-audio-and-preview-simultaneous AVCaptureVideoPreviewLayer previewLayer AVCaptureVideoPreviewLayer alloc initWithSession captureManager session self.captureVideoPreviewLayer previewLayer UIView view self cameraView CALayer viewLayer view layer viewLayer setMasksToBounds YES CGRect bounds view.. UIView view self cameraView CALayer viewLayer view layer viewLayer setMasksToBounds YES CGRect bounds view bounds captureVideoPreviewLayer setFrame bounds if captureVideoPreviewLayer isOrientationSupported captureVideoPreviewLayer setOrientation AVCaptureVideoOrientationPortrait.. view layer viewLayer setMasksToBounds YES CGRect bounds view bounds captureVideoPreviewLayer setFrame bounds if captureVideoPreviewLayer isOrientationSupported captureVideoPreviewLayer setOrientation AVCaptureVideoOrientationPortrait captureVideoPreviewLayer..
|