0

No solution is working which I found on the internet to convert CMSampleBufferRef to UIIMage.

I need a screenshot of it.

@property (nonatomic, strong) AVSampleBufferDisplayLayer *displayLayer;

- (void)handleSampleBufferRef:(CMSampleBufferRef)sampleBuffer {
        [self.displayLayer enqueueSampleBuffer:sampleBuffer];
}
Vishwanath Deshmukh
  • 619
  • 1
  • 10
  • 32

0 Answers0