Contents

send(_:discontinuity:hostTimeInNanoseconds:)

Sends a media sample to stream client.

Declaration

func send(_ sampleBuffer: CMSampleBuffer, discontinuity: CMIOExtensionStream.DiscontinuityFlags, hostTimeInNanoseconds: UInt64)

Parameters

  • sampleBuffer:

    A sample buffer that contains the media data to send.

  • discontinuity:

    A flag that indicates whether the sample buffer represents a discontinuity boundary.

  • hostTimeInNanoseconds:

    The host time in nanoseconds when the stream captured the buffer.

Discussion

Specify sample buffer timestamps that are relative to the clock timebase specified by the clockType property.

See Also

Processing Data