kCMSampleBufferConduitNotification_UpcomingOutputPTSRangeChanged
Posted on a conduit of video sample buffers to report information about the range of upcoming output presentation timestamps.
Declaration
let kCMSampleBufferConduitNotification_UpcomingOutputPTSRangeChanged: CFStringDiscussion
This information can be important for frame-reordered video and for certain types of decoding where samples are transmitted in a different order from the order they will be displayed. If you need to process frames in presentation order, you can use this information to ensure that you do not process a frame too early (that is, when there are upcoming frames that will have earlier presentation timestamps than a frame to be processed).
The userInfo dictionary for this notification contains the kCMSampleBufferConduitNotificationParameter_UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRange key. If the value for that key is kCFBooleanTrue, the dictionary also contains one or both of the kCMSampleBufferConduitNotificationParameter_MinUpcomingOutputPTS or kCMSampleBufferConduitNotificationParameter_MaxUpcomingOutputPTS keys providing information about the range of overlapping presentation timestamps.
See Also
Sample Buffer Conduit Notifications
kCMSampleBufferConduitNotification_ResetOutputkCMSampleBufferConduitNotification_InhibitOutputUntilkCMSampleBufferConduitNotificationParameter_UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRangekCMSampleBufferConduitNotificationParameter_MinUpcomingOutputPTSkCMSampleBufferConduitNotificationParameter_MaxUpcomingOutputPTSkCMSampleBufferConduitNotificationParameter_ResumeTag