Contents

VTFrameSiloSetTimeRangesForNextPass(_:timeRangeCount:timeRangeArray:)

Begins a new pass of samples to be added to a frame silo object.

Declaration

func VTFrameSiloSetTimeRangesForNextPass(_ silo: VTFrameSilo, timeRangeCount: CMItemCount, timeRangeArray: UnsafePointer<CMTimeRange>) -> OSStatus

Parameters

  • silo:

    The frame silo object.

  • timeRangeCount:

    The count of time ranges in timeRangeArray.

  • timeRangeArray:

    The array of CMTimeRange structs.

Return Value

kVTFrameSiloInvalidTimeRangeErr if any time ranges are non-numeric, overlap, or are not in ascending order.

Discussion

Previously added sample buffers with decode timestamps within the time ranges are deleted from the frame silo object.

See Also

Configuring Frame Silos