public static interface RTCPeerConnection.PeerConnectionEvents
| Modifier and Type | Method and Description |
|---|---|
void |
onConnected()
Callback fired once DTLS connection is established (PeerConnectionState
is CONNECTED).
|
void |
onDisconnected()
Callback fired once DTLS connection is disconnected (PeerConnectionState
is DISCONNECTED).
|
void |
onIceCandidate(IceCandidate candidate)
Callback fired once local Ice candidate is generated.
|
void |
onIceCandidatesRemoved(IceCandidate[] candidates)
Callback fired once local ICE candidates are removed.
|
void |
onIceConnected()
Callback fired once connection is established (IceConnectionState is
CONNECTED).
|
void |
onIceDisconnected()
Callback fired once connection is disconnected (IceConnectionState is
DISCONNECTED).
|
void |
onLocalDescription(SessionDescription sdp)
Callback fired once local SDP is created and set.
|
void |
onPeerConnectionClosed()
Callback fired once peer connection is closed.
|
void |
onPeerConnectionError(java.lang.String description)
Callback fired once peer connection error happened.
|
void onLocalDescription(SessionDescription sdp)
void onIceCandidate(IceCandidate candidate)
void onIceCandidatesRemoved(IceCandidate[] candidates)
void onIceConnected()
void onIceDisconnected()
void onConnected()
void onDisconnected()
void onPeerConnectionClosed()
void onPeerConnectionError(java.lang.String description)