Interface PeerConnection.Listener
- Enclosing class:
PeerConnection
public static interface PeerConnection.Listener
What a peer connection tells the app as the call proceeds. Every
method is called on the EDT.
-
Method Summary
Modifier and TypeMethodDescriptionvoidiceCandidate(PeerConnection connection, IceCandidate candidate) A path to this device was found; send it to the other side.voidremoteTrack(PeerConnection connection, MediaTrack track) The other side's audio or video arrived.voidstateChanged(PeerConnection connection, String state) The connection moved to another of the states named onPeerConnection.
-
Method Details
-
iceCandidate
A path to this device was found; send it to the other side. -
stateChanged
The connection moved to another of the states named onPeerConnection. -
remoteTrack
The other side's audio or video arrived.
-