0

I have been trying to apply H.264 encoding to a CMSampleBuffer using VideoToolBox in Swift, I am very new to Swift and do not know how to do this if the compression turns the CMSampleBuffer into a CVPixelBuffer that is fine too as I need to turn it into NSData in the end. All help would be appreciated!

Asra
  • 151
  • 1
  • 11

0 Answers0