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.
audioConfig
The audio direction configuration.
@property (readonly) WSCMediaDirection audioConfigDiscussion
The audio direction configuration.
Declared In
WSCCallConfig.h
videoConfig
The video direction configuration.
@property (readonly) WSCMediaDirection videoConfigDiscussion
The video direction configuration.
Declared In
WSCCallConfig.h
dataChannelConfigs
The data channel configurations.
@property (readonly) NSArray *dataChannelConfigsDiscussion
The data channel configurations.
Declared In
WSCCallConfig.h
– init
Constructs a WSCCallConfig with audio and video configurations set to WSCMediaDirectionNone.
- (instancetype)initDiscussion
Constructs a WSCCallConfig with audio and video configurations set to WSCMediaDirectionNone.
Declared In
WSCCallConfig.h
– initWithAudioDirection:withVideoDirection:withDataChannel:withMaxAudioBitrate:
Returns an initialized WSCCallConfig object with audio/video directions.
- (instancetype)initWithAudioDirection:(WSCMediaDirection)audioMediaDirection withVideoDirection:(WSCMediaDirection)videoMediaDirection withDataChannel:(NSArray *)dataChannelConfigs withMaxAudioBitrate:(long)maxAudioBitrateParameters
audioMediaDirection |
The direction of the local audio media stream |
|---|---|
videoMediaDirection |
The direction of the local video media stream |
dataChannelConfigs |
The configurations of data channel |
Discussion
Returns an initialized WSCCallConfig object with audio/video directions.
Declared In
WSCCallConfig.h
– shouldSendAudio
Checks if audio send capability is supported.
- (BOOL)shouldSendAudioReturn 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)shouldSendVideoReturn Value
YES if video capability is supported and NO otherwise
Discussion
Checks if video send capability is supported.
Declared In
WSCCallConfig.h
– shouldReceiveAudio
Checks if audio receive capability is supported.
- (BOOL)shouldReceiveAudioReturn 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)shouldReceiveVideoReturn Value
YES if video capability is supported and NO otherwise
Discussion
Checks if video receive capability is supported.
Declared In
WSCCallConfig.h
– description
Returns a string that represents the call config.
- (NSString *)descriptionDiscussion
Returns a string that represents the call config.
Declared In
WSCCallConfig.h
– hasMaxAudioBitrate
Checks if the audio bitrate should be set.
- (BOOL)hasMaxAudioBitrateDiscussion
Checks if the audio bitrate should be set.
Declared In
WSCCallConfig.h