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
  • 581
  • 1
  • 8
  • 30

0 Answers0