public abstract class DefaultCall extends java.lang.Object implements Call
| Modifier and Type | Field and Description |
|---|---|
protected CallDuration |
callDuration |
protected CallEventListener |
callEventListener |
protected CallFlowManager |
callFlowManager |
protected CallIdentifier |
callIdentifier |
protected CallStatus |
callStatus |
protected CallUpdateStatus |
callUpdateStatus |
protected User |
destination |
protected EventBus |
eventBus |
protected Gateway |
gateway |
protected boolean |
hasDisplayMedia |
protected boolean |
hasUserMedia |
protected boolean |
isIceConnected |
protected VideoOptions.CameraOrientation |
localCameraOrientation |
protected VideoCapturer |
localVideoCapturer |
protected VideoSource |
localVideoSource |
protected VideoTrack |
localVideoTrack |
protected NetworkQualityListener |
networkQualityListener |
protected PeerConnection |
peerConnection |
protected PeerConnectionMediaMonitor |
peerConnectionMediaMonitor |
protected VideoTrack |
remoteVideoTrack |
protected User |
source |
protected RtpTransceiver |
videoRtpTransceiver |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcallOptionsprotected final CallFlowManager callFlowManager
protected final EventBus eventBus
protected Gateway gateway
protected PeerConnection peerConnection
protected CallEventListener callEventListener
protected NetworkQualityListener networkQualityListener
protected CallIdentifier callIdentifier
protected CallStatus callStatus
protected CallDuration callDuration
protected boolean isIceConnected
protected VideoTrack localVideoTrack
protected VideoOptions.CameraOrientation localCameraOrientation
protected VideoSource localVideoSource
protected VideoCapturer localVideoCapturer
protected VideoTrack remoteVideoTrack
protected PeerConnectionMediaMonitor peerConnectionMediaMonitor
protected User source
protected User destination
protected CallUpdateStatus callUpdateStatus
protected RtpTransceiver videoRtpTransceiver
protected boolean hasDisplayMedia
protected boolean hasUserMedia
public java.lang.String correlationId()
correlationId in interface Callpublic CallStatus status()
public boolean hasLocalVideo()
hasLocalVideo in interface Callpublic boolean hasRemoteVideo()
hasRemoteVideo in interface Callpublic void localVideo(boolean localVideo)
localVideo in interface Callpublic void startScreenShare(ScreenCapturer screenCapturer)
startScreenShare in interface Callpublic void stopScreenShare()
stopScreenShare in interface Callpublic boolean hasScreenShare()
hasScreenShare in interface Callpublic RTCVideoTrack localVideoTrack()
localVideoTrack in interface Callpublic RTCVideoTrack remoteVideoTrack()
remoteVideoTrack in interface Callpublic void setEventListener(CallEventListener callEventListener)
setEventListener in interface Callpublic void setNetworkQualityListener(NetworkQualityListener networkQualityListener)
setNetworkQualityListener in interface Callpublic void sendDTMF(java.lang.String dtmf)
throws ActionFailedException
sendDTMF in interface CallActionFailedExceptionpublic void speakerphone(boolean enabled)
speakerphone in interface Callpublic boolean speakerphone()
speakerphone in interface Callpublic java.util.Date establishTime()
establishTime in interface Callpublic User destination()
destination in interface Callpublic void cameraOrientation(VideoOptions.CameraOrientation cameraOrientation)
cameraOrientation in interface Callpublic VideoOptions.CameraOrientation cameraOrientation()
cameraOrientation in interface Callpublic RecordingOptions recordingOptions()
recordingOptions in interface Callpublic void getTotalMediaStats(CallStatsListener callStatsListener)
public void onRTCMediaStreamCreated(RTCMediaStreamCreated event)
public void onRTCIceCandidateEvent(RTCIceCandidateEvent event)
public void onRTCIceConnectedEvent(RTCIceConnectedEvent event)
public void onRTCIceFailedEvent(RTCIceFailedEvent event)
public void onRTCHangupEvent(RTCHangupEvent event)
public void onRTCErrorEvent(RTCErrorEvent event)
public void onRTCTrickleIceEvent(RTCTrickleIceEvent event)
public void onRTCCallUpdatingEvent(RTCCallUpdatingEvent event)
public void onRTCCallUpdatedEvent(RTCCallUpdatedEvent event)
public void onRTCCallInfoEvent(RTCCallInfoEvent event)
public void onRTCNetworkQualityChangedEvent(RTCNetworkQualityChangedEvent event)
protected void onNetworkQualityChanged(NetworkQualityStatistics networkQualityStatistics)
protected void onRemoteNetworkQualityChanged(NetworkQualityChangedEvent remoteNetworkQualityChangedEvent)
protected void emitCallEstablishedEvent()
protected void createPeerConnectionMonitor()
protected void createPeerConnection()
protected AudioTrack createLocalAudioTrack()
protected void createLocalVideoTrack()
protected void handleRemoteCandidates()