public class RespokeCall
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
RespokeCall.Listener
A delegate protocol to notify the receiver of events occurring with the call
|
Modifier and Type | Field and Description |
---|---|
boolean |
audioOnly |
RespokeEndpoint |
endpoint |
java.util.Date |
timestamp |
Constructor and Description |
---|
RespokeCall(RespokeSignalingChannel channel) |
RespokeCall(RespokeSignalingChannel channel,
org.json.JSONObject sdp,
java.lang.String newSessionID,
java.lang.String newConnectionID,
RespokeEndpoint newEndpoint,
boolean directConnectionOnly,
java.util.Date newTimestamp) |
RespokeCall(RespokeSignalingChannel channel,
RespokeEndpoint newEndpoint,
boolean directConnectionOnly) |
Modifier and Type | Method and Description |
---|---|
void |
answer(android.content.Context context,
RespokeCall.Listener newListener) |
void |
answerReceived(org.json.JSONObject remoteSDP,
java.lang.String remoteConnection) |
void |
attachVideoRenderer(android.opengl.GLSurfaceView glView) |
boolean |
audioIsMuted() |
void |
commonConstructor(RespokeSignalingChannel channel) |
void |
connectedReceived() |
void |
directConnectionDidAccept(RespokeDirectConnection sender) |
void |
directConnectionDidClose(RespokeDirectConnection sender) |
void |
directConnectionDidOpen(RespokeDirectConnection sender) |
void |
disconnect() |
PeerConnection |
getPeerConnection() |
java.lang.String |
getSessionID() |
void |
hangup(boolean shouldSendHangupSignal) |
void |
hangupReceived() |
void |
iceCandidatesReceived(org.json.JSONArray candidates) |
boolean |
isCaller() |
void |
muteAudio(boolean mute) |
void |
muteVideo(boolean mute) |
void |
pause() |
void |
resume() |
static boolean |
sdpHasVideo(org.json.JSONObject sdp) |
void |
setListener(RespokeCall.Listener listener) |
void |
startCall(android.content.Context context,
android.opengl.GLSurfaceView glView,
boolean isAudioOnly) |
boolean |
videoIsMuted() |
public RespokeEndpoint endpoint
public boolean audioOnly
public java.util.Date timestamp
public RespokeCall(RespokeSignalingChannel channel)
public RespokeCall(RespokeSignalingChannel channel, RespokeEndpoint newEndpoint, boolean directConnectionOnly)
public RespokeCall(RespokeSignalingChannel channel, org.json.JSONObject sdp, java.lang.String newSessionID, java.lang.String newConnectionID, RespokeEndpoint newEndpoint, boolean directConnectionOnly, java.util.Date newTimestamp)
public static boolean sdpHasVideo(org.json.JSONObject sdp)
public void commonConstructor(RespokeSignalingChannel channel)
public void setListener(RespokeCall.Listener listener)
public java.lang.String getSessionID()
public void disconnect()
public void startCall(android.content.Context context, android.opengl.GLSurfaceView glView, boolean isAudioOnly)
public void attachVideoRenderer(android.opengl.GLSurfaceView glView)
public void answer(android.content.Context context, RespokeCall.Listener newListener)
public void hangup(boolean shouldSendHangupSignal)
public void muteVideo(boolean mute)
public boolean videoIsMuted()
public void muteAudio(boolean mute)
public boolean audioIsMuted()
public void pause()
public void resume()
public void hangupReceived()
public void answerReceived(org.json.JSONObject remoteSDP, java.lang.String remoteConnection)
public void connectedReceived()
public void iceCandidatesReceived(org.json.JSONArray candidates)
public boolean isCaller()
public PeerConnection getPeerConnection()
public void directConnectionDidAccept(RespokeDirectConnection sender)
public void directConnectionDidOpen(RespokeDirectConnection sender)
public void directConnectionDidClose(RespokeDirectConnection sender)