Intel® Collaboration Suite for WebRTC  version 4.3
Open WebRTC Toolkit (OWT) Client SDK for Android*
ContextInitialization Class Reference

Initialization settings. More...

Collaboration diagram for ContextInitialization:

Classes

enum  NetworkType
 Network types: Ethernet, wifi, cellular, vpn and loopback. More...
 

Public Member Functions

ContextInitialization addIgnoreNetworkType (NetworkType ignoreNetworkType)
 Add the network type to be ignored during video or audio call. More...
 
ContextInitialization setApplicationContext (Context ctx)
 Set up Android application context to WebRTC runtime. More...
 
ContextInitialization setVideoHardwareAccelerationOptions (EglBase.Context localEglContext, EglBase.Context remoteEglContext)
 Set the EGL context used by hardware video encoder and decoder. More...
 
ContextInitialization addFieldTrials (String fieldTrial)
 Add a field trial used for enabling some features in WebRTC. More...
 
ContextInitialization setCustomizedVideoEncoderFactory (VideoEncoderFactory encoderFactory)
 Set the customized video encoder factory. More...
 
ContextInitialization setCustomizedVideoDecoderFactory (VideoDecoderFactory decoderFactory)
 Set the customized video decoder factory. More...
 
ContextInitialization setCustomizedAudioDeviceModule (AudioDeviceModule adm)
 Set the customized audio device module. More...
 
void initialize ()
 Initialize context settings.
 

Static Public Member Functions

static ContextInitialization create ()
 Get the ContextInitialization instance. More...
 

Detailed Description

Initialization settings.

ContextInitialization.initialize must be called before creating P2PClient or ConferenceClient.

Member Function Documentation

ContextInitialization addFieldTrials ( String  fieldTrial)
inline

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
fieldTrialfieldTrial to be added.
Returns
ContextInitialization
ContextInitialization addIgnoreNetworkType ( NetworkType  ignoreNetworkType)
inline

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
ignoreNetworkTypenetwork type to be ignored.
Returns
ContextInitialization
static ContextInitialization create ( )
inlinestatic

Get the ContextInitialization instance.

Returns
ContextInitialization
ContextInitialization setApplicationContext ( Context  ctx)
inline

Set up Android application context to WebRTC runtime.

Parameters
ctxAndroid application context.
Returns
ContextInitialization
ContextInitialization setCustomizedAudioDeviceModule ( AudioDeviceModule  adm)
inline

Set the customized audio device module.

Parameters
admAudioDeviceModule to be set.
Returns
ContextInitialization
ContextInitialization setCustomizedVideoDecoderFactory ( VideoDecoderFactory  decoderFactory)
inline

Set the customized video decoder factory.

Parameters
decoderFactoryVideoDecoderFactory to be set.
Returns
ContextInitialization
ContextInitialization setCustomizedVideoEncoderFactory ( VideoEncoderFactory  encoderFactory)
inline

Set the customized video encoder factory.

Parameters
encoderFactoryVideoEncoderFactory 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
localEglContextMust be the same as that used by VideoCapturerAndroid and any local video renderer.
remoteEglContextMust be the same as that used by any remote video renderer.
Returns
ContextInitialization