Skip to navigation

VIConferenceSettings

VoximplantCalls · iOS SDK v3

View as Markdown

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? = nil,
    muteAudio: Bool = false,
    customData: String? = nil,
    extraHeaders: [String : String]? = nil,
    statsCollectionInterval: TimeInterval = 0,
    preferredVideoCodec: 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 event or Call History via Management API.

Maximum size is 200 bytes. Use the sendMessage(_:) method to pass a string over the limit; in order to pass a large data use media_session_access_url 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?

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

Preferred video codec for a particular call that these settings are applied to. The default codec is VIVideoCodec.auto.

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