Contents

removeClipBufferingOutput(_:)

Declaration

func removeClipBufferingOutput(_ clipBufferingOutput: SCClipBufferingOutput) throws

Parameters

  • clipBufferingOutput:

    A SCClipBufferingOutput object

Discussion

Remove SCClipBufferingOutput from the SCStream to stop clip buffering and flush the buffer

Returns a BOOL denoting if the remove was successful. This method stops the accumulation of samples and releases all buffered content. Once removed, no new exports can be requested until clip buffering is added again. If the stream is stopped while clip buffering is active, clip buffering will be automatically stopped as well.