iOS 11 the RPScreenRecorder output video frame is disorder

Area:

ReplayKit


Summary:

When i use iOS 11 RPScreenRecorder - (void)startCaptureWithHandler:(nullable void(^)(CMSampleBufferRef sampleBuffer, RPSampleBufferType bufferType, NSError * _Nullable error))captureHandler completionHandler:(nullable void(^)(NSError * _Nullable error))completionHandler;to get video frame,then i find that the video frame sequential is disorder(from a visual perspective),but when i print the sampleBuffer's PresentationTimeStamp, their show Incrementing timestamp


email: 598913725@qq.com


Steps to Reproduce:

using - (void)startCaptureWithHandler:^(CMSampleBufferRef sampleBuffer, RPSampleBufferType bufferType, NSError *error)



Expected Results:



Actual Results:



Version/Build: iPhone 7/ iOS 11.4