TWCClientOptions Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TWCClientOptions.h |
Overview
TWCClientOptions specifies custom settings to use with your Client.
The options you provide persist to all Conversations started with this Client.
iceOptions
Custom ICE settings. See TWCIceOptions.h for more information.
@property (nonatomic, strong, readonly, nonnull) TWCIceOptions *iceOptionsDiscussion
Custom ICE settings. See TWCIceOptions.h for more information.
Declared In
TWCClientOptions.h
preferH264
Enable H.264 support (experimental).
@property (nonatomic, assign, readonly) BOOL preferH264Discussion
Enable H.264 support (experimental).
Defaults to NO. Both participants must support H.264 for the codec to be selected.
While this option does take advantage of the hardware encoder/decoder - software format conversions reduce its performance.
Declared In
TWCClientOptions.h
– initWithIceOptions:
Creates TWCClientOptions with ICE settings.
- (null_unspecified instancetype)initWithIceOptions:(nonnull TWCIceOptions *)optionsParameters
options |
The |
|---|
Return Value
A TWCClientOptions object.
Discussion
Creates TWCClientOptions with ICE settings.
Declared In
TWCClientOptions.h
– initWithIceOptions:preferH264:
Creates TWCClientOptions with ICE, and Codec settings.
- (null_unspecified instancetype)initWithIceOptions:(nonnull TWCIceOptions *)options preferH264:(BOOL)preferH264Parameters
options |
The |
|---|---|
preferH264 |
Prefer the H.264 codec over VP8. |
Return Value
A TWCClientOptions object.
Discussion
Creates TWCClientOptions with ICE, and Codec settings.
Declared In
TWCClientOptions.h