func frameAvailable(_ sampleBuffer: CMSampleBuffer!) {
}
Is there a way to convert the format of a sampleBuffer with OutputFormat.BGRA to YUV here? I’m planning to create an H.264 video for video streaming, and I’m wondering if there’s a method like the one mentioned above or if there’s another solution available.