Inherits from NSObject
Declared in WSCCallConfig.h

Overview

Call configuration interface. Call Configuration describes the audio/video send and receive capabilities of a call.

Properties

audioConfig

The audio direction configuration.

@property (readonly) WSCMediaDirection audioConfig

Discussion

The audio direction configuration.

Declared In

WSCCallConfig.h

videoConfig

The video direction configuration.

@property (readonly) WSCMediaDirection videoConfig

Discussion

The video direction configuration.

Declared In

WSCCallConfig.h

Instance Methods

description

Returns a string that represents the call config.

- (NSString *)description

Discussion

Returns a string that represents the call config.

Declared In

WSCCallConfig.h

init

Construct a WSCCallConfig with audio and video configurations set to WSCMediaDirectionNone.

- (instancetype)init

Discussion

Construct a WSCCallConfig with audio and video configurations set to WSCMediaDirectionNone.

Declared In

WSCCallConfig.h

initWithAudioVideoDirection:video:

Returns an initialized WSCCallConfig object with audio/video directions.

- (instancetype)initWithAudioVideoDirection:(WSCMediaDirection)audioMediaDirection video:(WSCMediaDirection)videoMediaDirection

Parameters

audioMediaDirection

The direction of the local audio media stream.

videoMediaDirection

The direction of the local video media stream.

Discussion

Returns an initialized WSCCallConfig object with audio/video directions.

Declared In

WSCCallConfig.h

shouldReceiveAudio

Checks if audio receive capability is supported.

- (BOOL)shouldReceiveAudio

Return Value

YES if audio capability is supported and NO otherwise

Discussion

Checks if audio receive capability is supported.

Declared In

WSCCallConfig.h

shouldReceiveVideo

Checks if video receive capability is supported.

- (BOOL)shouldReceiveVideo

Return Value

YES if video capability is supported and NO otherwise

Discussion

Checks if video receive capability is supported.

Declared In

WSCCallConfig.h

shouldSendAudio

Checks if audio send capability is supported.

- (BOOL)shouldSendAudio

Return Value

YES if audio capability is supported and NO otherwise

Discussion

Checks if audio send capability is supported.

Declared In

WSCCallConfig.h

shouldSendVideo

Checks if video send capability is supported.

- (BOOL)shouldSendVideo

Return Value

YES if video capability is supported and NO otherwise

Discussion

Checks if video send capability is supported.

Declared In

WSCCallConfig.h