YuvSinkListener

@objc(GSYuvSinkListener)
public protocol YuvSinkListener

YUV sink listener.

  • Called when a frame is available.

    Declaration

    Swift

    func frameReady(sink: StreamSink, frame: SdkCoreFrame)

    Parameters

    sink

    YUV sink

    frame

    new frame available

  • Called when the stream sink has started.

    Declaration

    Swift

    func didStart(sink: StreamSink)

    Parameters

    sink

    YUV sink

  • Called when the stream sink has stopped.

    Declaration

    Swift

    func didStop(sink: StreamSink)

    Parameters

    sink

    YUV sink