I want to record the screen using the feature that replaykit2 can record across app. Now I have integrated Broadcast Upload Extension and can use
- (void)processSampleBuffer:(CMSampleBufferRef)sampleBuffer withType:(RPSampleBufferType)sampleBufferType
to get each frame of data in CMSampleBufferRef format, how to synthesize these frames into video in real time?