Contents

outputVideoEffectDidFail(for:withError:)

Declaration

optional func outputVideoEffectDidFail(for stream: SCStream, withError error: any Error)

Parameters

  • stream:

    The SCStream object

  • error:

    The error describing why the video effect failed

Discussion

outputVideoEffectDidFailForStream:withError:

Notifies the delegate that the video effect failed with an error. This can occur if the camera device is unavailable, permissions are missing, or an internal error occurs.