Package com.viam.sdk.core.webrtc
Interface PeerConnection
- All Known Implementing Classes:
PeerConnection
public interface PeerConnection
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
static enum
static class
static interface
static interface
static class
static enum
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIceCandidate
(ICECandidate candidate) void
close()
void
createAnswer
(SessionDescription.Observer observer) createDataChannel
(String label, DataChannel.Init dataChanInit) void
createOffer
(SessionDescription.Observer observer) void
setLocalDescription
(SessionDescription.Observer observer, SessionDescription sdp) void
setRemoteDescription
(SessionDescription.Observer observer, SessionDescription sdp)
-
Method Details
-
createDataChannel
-
getLocalDescription
SessionDescription getLocalDescription() -
getRemoteDescription
SessionDescription getRemoteDescription() -
createOffer
-
createAnswer
-
setLocalDescription
-
setRemoteDescription
-
addIceCandidate
-
close
void close()
-