|
void | setPeerConnectionFactoryOptions (PeerConnectionFactory.Options options) |
|
void | createPeerConnectionFactory (final Context context, final PeerConnectionParameters peerConnectionParameters, final PeerConnectionEvents events) |
|
void | createPeerConnection (final EglBase.Context renderEGLContext, final VideoRenderer.Callbacks localRender, final VideoRenderer.Callbacks remoteRender, final VideoCapturer videoCapturer, final SignalingParameters signalingParameters) |
|
void | createPeerConnection (final EglBase.Context renderEGLContext, final VideoRenderer.Callbacks localRender, final List< VideoRenderer.Callbacks > remoteRenders, final VideoCapturer videoCapturer, final SignalingParameters signalingParameters) |
|
void | close () |
|
boolean | isVideoCallEnabled () |
|
boolean | isHDVideo () |
|
void | enableStatsEvents (boolean enable, int periodMs) |
|
void | setAudioEnabled (final boolean enable) |
|
void | setVideoEnabled (final boolean enable) |
|
void | createOffer () |
|
void | createAnswer () |
|
void | addRemoteIceCandidate (final IceCandidate candidate) |
|
void | removeRemoteIceCandidates (final IceCandidate[] candidates) |
|
void | setRemoteDescription (final SessionDescription sdp) |
|
void | stopVideoSource () |
|
void | startVideoSource () |
|
void | setVideoMaxBitrate (final Integer maxBitrateKbps) |
|
void | switchCamera () |
|
void | changeCaptureFormat (final int width, final int height, final int framerate) |
|
Peer connection client implementation.
All public methods are routed to local looper thread. All PeerConnectionEvents callbacks are invoked from the same looper thread. This class is a singleton.