Call settings with additional call parameters, such as preferred video codec, custom data, extra headers etc.



@property (nonatomic, strong) NSString *customData

A custom string associated with the call session.

It can be passed to the cloud to be obtained from the CallAlerting event or Call History using HTTP API.

Maximum size is 200 bytes. Use the [VICall sendMessage:] method to pass a string over the limit; in order to pass a large data use media_session_access_url on your backend.


@property (nonatomic, strong) NSDictionary<NSString *, NSString *> *extraHeaders

An optional set of headers to be sent to the Voximplant cloud. Names must begin with "X-" to be processed by SDK.


@property (nonatomic, assign) VIVideoCodec preferredVideoCodec

A preferred video codec for a particular call that this VICallSettings are applied to. VIVideoCodecAuto by default.


@property (nonatomic, strong) VIVideoFlags *videoFlags

Specify video settings (send and receive) for the new call. Video is enabled by default.