Package tvi.webrtc
Class PeerConnectionFactory.Builder
- java.lang.Object
-
- tvi.webrtc.PeerConnectionFactory.Builder
-
- Enclosing class:
- PeerConnectionFactory
public static class PeerConnectionFactory.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
setOptions
public PeerConnectionFactory.Builder setOptions(PeerConnectionFactory.Options options)
-
setAudioDeviceModule
public PeerConnectionFactory.Builder setAudioDeviceModule(AudioDeviceModule audioDeviceModule)
-
setAudioEncoderFactoryFactory
public PeerConnectionFactory.Builder setAudioEncoderFactoryFactory(AudioEncoderFactoryFactory audioEncoderFactoryFactory)
-
setAudioDecoderFactoryFactory
public PeerConnectionFactory.Builder setAudioDecoderFactoryFactory(AudioDecoderFactoryFactory audioDecoderFactoryFactory)
-
setVideoEncoderFactory
public PeerConnectionFactory.Builder setVideoEncoderFactory(VideoEncoderFactory videoEncoderFactory)
-
setVideoDecoderFactory
public PeerConnectionFactory.Builder setVideoDecoderFactory(VideoDecoderFactory videoDecoderFactory)
-
setAudioProcessingFactory
public PeerConnectionFactory.Builder setAudioProcessingFactory(AudioProcessingFactory audioProcessingFactory)
-
setFecControllerFactoryFactoryInterface
public PeerConnectionFactory.Builder setFecControllerFactoryFactoryInterface(FecControllerFactoryFactoryInterface fecControllerFactoryFactory)
-
setNetworkControllerFactoryFactory
public PeerConnectionFactory.Builder setNetworkControllerFactoryFactory(NetworkControllerFactoryFactory networkControllerFactoryFactory)
-
setNetworkStatePredictorFactoryFactory
public PeerConnectionFactory.Builder setNetworkStatePredictorFactoryFactory(NetworkStatePredictorFactoryFactory networkStatePredictorFactoryFactory)
-
setNetEqFactoryFactory
public PeerConnectionFactory.Builder setNetEqFactoryFactory(NetEqFactoryFactory neteqFactoryFactory)
Sets a NetEqFactoryFactory for the PeerConnectionFactory. When using a custom NetEqFactoryFactory, the AudioDecoderFactoryFactory will be set to null. The AudioDecoderFactoryFactory should be wrapped in the NetEqFactoryFactory.
-
createPeerConnectionFactory
public PeerConnectionFactory createPeerConnectionFactory()
-
-