WSCCallConfig Class Reference
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
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