ASScreenRecorder icon indicating copy to clipboard operation
ASScreenRecorder copied to clipboard

How to Capture AVCaptureVideoPreviewLayer? (camera.previewlayer)

Open LegoTechApps opened this issue 7 years ago • 4 comments

trying capture screen with camera.previewlayer

LegoTechApps avatar May 06 '17 10:05 LegoTechApps

Me too!, I read in this Issue https://github.com/alskipp/ASScreenRecorder/issues/9 that maybe it is possible. Could you help as?

PacoIntelectiva avatar May 11 '17 09:05 PacoIntelectiva

hi. i don't capture screen (the screen is black) when play a video or show camera. Could you held this problem?

nvphi91 avatar May 18 '17 07:05 nvphi91

Please help on this. I am having the same issue. @LegoTechApps @PacoIntelectiva

uditbatra avatar Jun 20 '17 06:06 uditbatra

I've managed to record the preview layer by rendering each frame into a CALayer. https://github.com/endel/react-native-camera/commit/e739b50ca76bdef58b37c82e91ef1849f18efecc

endel avatar Nov 06 '17 17:11 endel