AVSampleBufferDisplayLayer example displays video from the devices camera. An option exists to encode video locally before using AVSampleBufferDisplayLayer to decode, or not.
mpattanaik7/VideoCamera
AVSampleBufferDisplayLayer example displays video from the devices camera.
Objective-C