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

# VIConferenceSettings

Conference settings with additional conference parameters, such as the preferred video codec, custom data, extra headers, etc.

@objc class VIConferenceSettings

## Initializers

### init()

override init()

Creates the conference settings.

### init(localVideoStream:muteAudio:customData:extraHeaders:statsCollectionInterval:preferredVideoCodec:simulcast:)

@objc init(\
    localVideoStream: [VILocalVideoStream](/api-reference/iossdk/calls/vilocalvideostream)? = nil,\
    muteAudio: Bool = false,\
    customData: String? = nil,\
    extraHeaders: \[String : String]? = nil,\
    statsCollectionInterval: TimeInterval = 0,\
    preferredVideoCodec: [VIVideoCodec](/api-reference/iossdk/calls/vivideocodec) = .auto,\
    simulcast: Bool = false\
)

Creates the conference settings.

## Properties

### customData

@objc var customData: String?

Custom string associated with the conference session.

It can be passed to the cloud to be obtained from the [CallAlerting](https://voximplant.com/docs/references/voxengine/appevents#callalerting) event or [Call History](https://voximplant.com/docs/references/httpapi/history#getcallhistory) via Management API.

Maximum size is 200 bytes. Use the [sendMessage(\_:)](/api-reference/iossdk/calls/vicall#symbol-00b3ae0590e5710f) method to pass a string over the limit; in order to pass a large data use [media_session_access_url](https://voximplant.com/docs/references/httpapi/scenarios#startscenarios) on your backend.

### description

override var description: String \{ get }

Settings description.

### extraHeaders

@objc var extraHeaders: \[String : String]?

Optional set of headers to be sent to the Voximplant cloud. Names should begin with “X-” to be processed by SDK.

### localVideoStream

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

Local video stream to be sent in a conference.

### muteAudio

@objc var muteAudio: Bool

Whether the audio should be muted when the user joins a conference.

The default value is false.

### preferredVideoCodec

@objc var preferredVideoCodec: [VIVideoCodec](/api-reference/iossdk/calls/vivideocodec)

Preferred video codec for a particular call that these settings are applied to. The default codec is [VIVideoCodec.auto](/api-reference/iossdk/calls/vivideocodec#symbol-5b8401b82eef932d).

### simulcast

@objc var simulcast: Bool

Whether simulcast is enabled.

The default value is false.

### statsCollectionInterval

@objc var statsCollectionInterval: TimeInterval

Conference statistics collection interval in seconds.

The default value is 0, meaning that the statistics collection feature is disabled.

The interval value should be multiple of 0.5, otherwise the provided value is rounded to a less value that is multiple of 0.5.

## Relationships

**Inherits From:** NSObject

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