<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureBroadcastVideoOutput/setDelegate(_:queue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureBroadcastVideoOutput(im)setDelegate:queue:"
  },
  "title" : "setDelegate(_:queue:)"
}
-->

# setDelegate(_:queue:)

Sets the receiver’s delegate and the dispatch queue on which the delegate will be called.

```
func setDelegate(_ delegate: (any AVCaptureBroadcastVideoOutputDelegate)?, queue delegateCallbackQueue: dispatch_queue_t?)
```

## Parameters

`delegate`

An object conforming to the [`AVCaptureBroadcastVideoOutputDelegate`](/documentation/AVFoundation/AVCaptureBroadcastVideoOutputDelegate) protocol that will receive broadcast video output notifications.

`delegateCallbackQueue`

A dispatch queue on which all [`AVCaptureBroadcastVideoOutputDelegate`](/documentation/AVFoundation/AVCaptureBroadcastVideoOutputDelegate) methods will be called.

## See Also

[`delegate`](/documentation/AVFoundation/AVCaptureBroadcastVideoOutput/delegate)

The receiver’s delegate.

[`AVCaptureBroadcastVideoOutputDelegate`](/documentation/AVFoundation/AVCaptureBroadcastVideoOutputDelegate)

Protocol for receiving broadcast video output events and data.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)