PeerConnection
Java-land version of the PeerConnection APIs; wraps the C++ API http://www.webrtc.org/reference/native-apis, which in turn is inspired by the JS APIs: http://dev.w3.org/2011/webrtc/editor/webrtc.html and http://www.w3.org/TR/mediacapture-streams/
Types
Link copied to clipboard
enum AdapterType
Link copied to clipboard
enum BundlePolicy
Java version of PeerConnectionInterface.
Link copied to clipboard
Java version of PeerConnectionInterface.
Link copied to clipboard
Java version of PeerConnectionInterface.
Link copied to clipboard
enum IceConnectionState
Tracks PeerConnectionInterface::IceConnectionState
Link copied to clipboard
enum IceGatheringState
Tracks PeerConnectionInterface::IceGatheringState
Link copied to clipboard
enum IceTransportsType
Java version of PeerConnectionInterface.
Link copied to clipboard
enum PeerConnectionState
Tracks PeerConnectionInterface::PeerConnectionState
Link copied to clipboard
enum PortPrunePolicy
Java version of webrtc::PortPrunePolicy
Link copied to clipboard
Java version of PeerConnectionInterface.
Link copied to clipboard
enum RtcpMuxPolicy
Java version of PeerConnectionInterface.
Link copied to clipboard
enum SdpSemantics
Java version of webrtc::SdpSemantics.
Link copied to clipboard
enum SignalingState
Tracks PeerConnectionInterface::SignalingState
Link copied to clipboard
enum TcpCandidatePolicy
Java version of PeerConnectionInterface.
Link copied to clipboard
enum TlsCertPolicy
Tracks PeerConnectionInterface::TlsCertPolicy
Functions
Link copied to clipboard
Link copied to clipboard
Adds a new MediaStream to be sent on this peer connection.
Link copied to clipboard
Adds a new media stream track to be sent on this peer connection, and returns the newly created RtpSender.
Link copied to clipboard
Creates a new RtpTransceiver and adds it to the set of transceivers.
open fun addTransceiver(track: MediaStreamTrack, @Nullable init: RtpTransceiver.RtpTransceiverInit): RtpTransceiver
open fun addTransceiver(mediaType: MediaStreamTrack.MediaType, @Nullable init: RtpTransceiver.RtpTransceiverInit): RtpTransceiver
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates an RtpSender without a track.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets stats using the new stats collection API, see webrtc/api/stats/.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Removes the given media stream from this peer connection.
Link copied to clipboard
Stops sending media from sender.
Link copied to clipboard
Tells the PeerConnection that ICE should be restarted.
Link copied to clipboard
Enables/disables playout of received audio streams.
Link copied to clipboard
Enables/disables recording of transmitted audio streams.
Link copied to clipboard
Limits the bandwidth allocated for all RTP streams sent by this PeerConnection.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Starts recording an RTC event log.
Link copied to clipboard
Stops recording an RTC event log.