Contents

init(localizedName:streamID:direction:clockType:source:)

Creates a stream.

Declaration

init(localizedName: String, streamID: UUID, direction: CMIOExtensionStream.Direction, clockType: CMIOExtensionStream.ClockType, source: any CMIOExtensionStreamSource)

Parameters

  • localizedName:

    A localized name for the stream.

  • streamID:

    A universally unique identifier for the stream.

  • direction:

    The direction of the source, which indicates if it produces or consumes samples.

  • clockType:

    A clock type for the stream.

  • source:

    The stream source object.

See Also

Creating a Stream