setDelegate(_:queue:)
Sets the receiver’s delegate and the dispatch queue on which the delegate will be called.
Declaration
func setDelegate(_ delegate: (any AVCaptureBroadcastVideoOutputDelegate)?, queue delegateCallbackQueue: dispatch_queue_t?)Parameters
- delegate:
An object conforming to the Avcapturebroadcastvideooutputdelegate protocol that will receive broadcast video output notifications.
- delegateCallbackQueue:
A dispatch queue on which all Avcapturebroadcastvideooutputdelegate methods will be called.