Initialization settings.
More...
Initialization settings.
ContextInitialization.initialize must be called before creating P2PClient or ConferenceClient.
Add a field trial used for enabling some features in WebRTC.
This method can be called multiple times in case there are multiple field trials that needed to be added.
- Parameters
-
fieldTrial | fieldTrial to be added. |
- Returns
- ContextInitialization
Add the network type to be ignored during video or audio call.
This method can be called multiple times in case there are multiple network types that needed to be ignored.
- Parameters
-
ignoreNetworkType | network type to be ignored. |
- Returns
- ContextInitialization
Set up Android application context to WebRTC runtime.
- Parameters
-
ctx | Android application context. |
- Returns
- ContextInitialization
Set the customized audio device module.
- Parameters
-
adm | AudioDeviceModule to be set. |
- Returns
- ContextInitialization
Set the customized video decoder factory.
- Parameters
-
decoderFactory | VideoDecoderFactory to be set. |
- Returns
- ContextInitialization
Set the customized video encoder factory.
- Parameters
-
encoderFactory | VideoEncoderFactory to be set. |
- Returns
- ContextInitialization
ContextInitialization setVideoHardwareAccelerationOptions |
( |
EglBase.Context |
localEglContext, |
|
|
EglBase.Context |
remoteEglContext |
|
) |
| |
|
inline |
Set the EGL context used by hardware video encoder and decoder.
- Parameters
-
localEglContext | Must be the same as that used by VideoCapturerAndroid and any local video renderer. |
remoteEglContext | Must be the same as that used by any remote video renderer. |
- Returns
- ContextInitialization