SIGN UP

VICallSettings

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

Properties

@property (strong, nonatomic) NSString *customData

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 (strong, nonatomic) NSDictionary<NSString *, NSString *> *extraHeaders

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

@property (assign, nonatomic) VIVideoCodec preferredVideoCodec

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

@property (strong, nonatomic) VIVideoFlags *videoFlags

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