-
public final class LiveKitOverridesOverrides to replace LiveKit internally used components with custom implementations.
-
-
Field Summary
Fields Modifier and Type Field Description private final OkHttpClientokHttpClientprivate final VideoEncoderFactoryvideoEncoderFactoryprivate final VideoDecoderFactoryvideoDecoderFactoryprivate final AudioOptionsaudioOptionsprivate final EglBaseeglBaseprivate final PeerConnectionFactory.OptionspeerConnectionFactoryOptions
-
Constructor Summary
Constructors Constructor Description LiveKitOverrides(OkHttpClient okHttpClient, VideoEncoderFactory videoEncoderFactory, VideoDecoderFactory videoDecoderFactory, AudioOptions audioOptions, EglBase eglBase, PeerConnectionFactory.Options peerConnectionFactoryOptions)
-
Method Summary
Modifier and Type Method Description final OkHttpClientgetOkHttpClient()Override the OkHttpClient used by the library. final VideoEncoderFactorygetVideoEncoderFactory()Override the VideoEncoderFactory used by the library. final VideoDecoderFactorygetVideoDecoderFactory()Override the VideoDecoderFactory used by the library. final AudioOptionsgetAudioOptions()Override various audio options used by the library. final EglBasegetEglBase()Override the EglBase used by the library. final PeerConnectionFactory.OptionsgetPeerConnectionFactoryOptions()Override the options passed into the PeerConnectionFactory when building it. -
-
Constructor Detail
-
LiveKitOverrides
LiveKitOverrides(OkHttpClient okHttpClient, VideoEncoderFactory videoEncoderFactory, VideoDecoderFactory videoDecoderFactory, AudioOptions audioOptions, EglBase eglBase, PeerConnectionFactory.Options peerConnectionFactoryOptions)
-
-
Method Detail
-
getOkHttpClient
final OkHttpClient getOkHttpClient()
Override the OkHttpClient used by the library.
-
getVideoEncoderFactory
final VideoEncoderFactory getVideoEncoderFactory()
Override the VideoEncoderFactory used by the library.
-
getVideoDecoderFactory
final VideoDecoderFactory getVideoDecoderFactory()
Override the VideoDecoderFactory used by the library.
-
getAudioOptions
final AudioOptions getAudioOptions()
Override various audio options used by the library.
-
getEglBase
final EglBase getEglBase()
Override the EglBase used by the library.
If a non-null value is passed, the library does not take ownership of the object and will not release it upon Room.release. It is the responsibility of the owner to call EglBase.release when finished with it to prevent memory leaks.
-
getPeerConnectionFactoryOptions
final PeerConnectionFactory.Options getPeerConnectionFactoryOptions()
Override the options passed into the PeerConnectionFactory when building it.
-
-
-
-