webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
DirectRTCClient (SignalingEvents events) | |
void | connectToRoom (RoomConnectionParameters connectionParameters) |
void | disconnectFromRoom () |
void | sendOfferSdp (final SessionDescription sdp) |
void | sendAnswerSdp (final SessionDescription sdp) |
void | sendLocalIceCandidate (final IceCandidate candidate) |
void | sendLocalIceCandidateRemovals (final IceCandidate[] candidates) |
void | onTCPConnected (boolean isServer) |
void | onTCPMessage (String msg) |
void | onTCPError (String description) |
void | onTCPClose () |
Implementation of AppRTCClient that uses direct TCP connection as the signaling channel. This eliminates the need for an external server. This class does not support loopback connections.
|
inline |
|
inline |
Connects to the room, roomId in connectionsParameters is required. roomId must be a valid IP address matching IP_PATTERN.
Implements org.appspot.apprtc.AppRTCClient.
|
inline |
Disconnect from room.
Implements org.appspot.apprtc.AppRTCClient.
|
inline |
If the client is the server side, this will trigger onConnectedToRoom.
Implements org.appspot.apprtc.TCPChannelClient.TCPChannelEvents.
|
inline |
|
inline |
|
inline |
Send answer SDP to the other participant.
Implements org.appspot.apprtc.AppRTCClient.
|
inline |
Send Ice candidate to the other participant.
Implements org.appspot.apprtc.AppRTCClient.
|
inline |
Send removed Ice candidates to the other participant.
Implements org.appspot.apprtc.AppRTCClient.
|
inline |
Send offer SDP to the other participant.
Implements org.appspot.apprtc.AppRTCClient.