> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# VIBroadcast

Class that represents broadcast screen sharing in a conference.

@objc class VIBroadcast

This class is designed to enable screen sharing on a device outside of the application using the ReplayKit framework and iOS application extension.

## Properties

### delegate

@objc weak var delegate: [VIBroadcastDelegate](/api-reference/iossdk/calls/vibroadcastdelegate)?

Broadcast delegate.

### duration

@objc var duration: TimeInterval \{ get }

Broadcast duration in seconds.

### endpointId

@objc var endpointId: String? \{ get }

Broadcast endpoint id.

### id

@objc var id: String \{ get }

Broadcast id.

### localVideoStream

@objc let localVideoStream: [VILocalVideoStream](/api-reference/iossdk/calls/vilocalvideostream)

Broadcast video stream.

### state

@objc var state: [VICallState](/api-reference/iossdk/calls/vicallstate) \{ get }

Broadcast state.

## Methods

### hangup(withHeaders:)

@objc func hangup(withHeaders headers: \[String : String]? = nil)

Stops the brodacst.

**Parameters**

**headers** \[String : String]?

Optional set of headers to be sent. Names must begin with “X-” to be processed by the SDK. The default value is nil.

### start()

@objc func start()

Starts the broadcast.

## Relationships

**Inherits From:** NSObject

**Conforms To:** ObjectiveC.NSObjectProtocol, Swift.CVarArg, Swift.CustomDebugStringConvertible, Swift.CustomStringConvertible, Swift.Equatable, Swift.Hashable