PeerConnectionFactory
Java wrapper for a C++ PeerConnectionFactoryInterface. Main entry point to the PeerConnection API for clients.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun createPeerConnection(iceServers: List<PeerConnection.IceServer>, observer: PeerConnection.Observer): PeerConnection
open fun createPeerConnection(rtcConfig: PeerConnection.RTCConfiguration, observer: PeerConnection.Observer): PeerConnection
open fun createPeerConnection(rtcConfig: PeerConnection.RTCConfiguration, dependencies: PeerConnectionDependencies): PeerConnection
open fun createPeerConnection(iceServers: List<PeerConnection.IceServer>, constraints: MediaConstraints, observer: PeerConnection.Observer): PeerConnection
open fun createPeerConnection(rtcConfig: PeerConnection.RTCConfiguration, constraints: MediaConstraints, observer: PeerConnection.Observer): PeerConnection
Deprecated.
Link copied to clipboard
Same as above with alignTimestamps set to true.
Create video source with given parameters.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a pointer to the native OwnedFactoryAndThreads object
Link copied to clipboard
Returns a pointer to the native webrtc::PeerConnectionFactoryInterface.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Loads and initializes WebRTC.
Link copied to clipboard
Link copied to clipboard
Print the Java stack traces for the critical threads used by PeerConnectionFactory, namely; signaling thread, worker thread, and network thread.
Link copied to clipboard
Deprecated, use non-static version instead.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard