Need help in creating RTCVideoframe
This is the init method for RTCVideoframe
RTCVideoFrame(buffer: RTCVideoFrameBuffer, rotation: RTCVideoRotation, timeStampNs: Int64)
I am able to get input buffer as CVPixelBuffer
How can I convert CVpixelBuffer
to RTCVideoFrameBuffer
.
Thanks and any help is much appreciated