Post

Replies

Boosts

Views

Activity

How to connect AVCaptureVideoDataOutput to AVCaptureVideoPreviewLayer
In the attached picture, the presenter is implying that a video data output can be associated with a video preview layer. I don't see an explicit way to make such an association happen. Can someone drop sample code here or point to me to relevant documentation? From what I have gathered so far, a AVCaptureConnection can only be created between a video input port to a preview layer but that doesn't allow us to gain any of the benefits outlined in the presentation. Thanks
1
0
994
Jun ’22