public interface LinphoneCall
LinphoneCore.invite(LinphoneAddress)
or passed to the application by listener LinphoneCoreListener.callState(org.linphone.core.LinphoneCore, org.linphone.core.LinphoneCall, org.linphone.core.LinphoneCall.State, java.lang.String)
Modifier and Type | Interface and Description |
---|---|
static interface |
LinphoneCall.LinphoneCallListener
LinphoneCall listener
|
static class |
LinphoneCall.State
Linphone call states
|
Modifier and Type | Method and Description |
---|---|
boolean |
cameraEnabled() |
void |
enableCamera(boolean enabled) |
void |
enableEchoCancellation(boolean enable)
Enables or disable echo cancellation.
|
void |
enableEchoLimiter(boolean enable)
Enables or disable echo limiter cancellation.
|
LinphoneCallStats |
getAudioStats()
Get the audio statistics associated with this call.
|
String |
getAuthenticationToken()
Used by ZRTP encryption mechanism.
|
float |
getAverageQuality()
Returns call quality averaged over all the duration of the call.
|
LinphoneCallLog |
getCallLog()
get the call log associated to this call.
|
LinphoneChatRoom |
getChatRoom()
Create a new chat room for messaging from a call if not already existing, else return existing one
|
LinphoneConference |
getConference()
Get the conference instance which the call is part of.
|
LinphoneCallParams |
getCurrentParamsCopy() |
float |
getCurrentQuality()
Obtain real-time quality rating of the call
Based on local RTP statistics and RTCP feedback, a quality rating is computed and updated
during all the duration of the call.
|
CallDirection |
getDirection()
get direction of the call (incoming or outgoing).
|
LinphoneAddress |
getDiversionAddress()
Returns the diversion address associated to this call if one exists.
|
int |
getDuration() |
ErrorInfo |
getErrorInfo()
Returns last error reported for the call.
|
LinphonePlayer |
getPlayer()
Get a call player
Call player enable to stream a media file through a call
|
float |
getPlayVolume() |
Reason |
getReason() |
LinphoneAddress |
getRemoteAddress()
Returns the remote address associated to this call
|
String |
getRemoteContact()
Obtain the remote sip contact string.
|
LinphoneCallParams |
getRemoteParams()
Get call's remote parameters, as proposed by far end.
|
String |
getRemoteUserAgent()
Obtain the remote user agent string.
|
LinphoneCall |
getReplacedCall()
Returns the object associated to a call this one is replacing.
|
LinphoneCall.State |
getState()
Retrieves the call's current state.
|
LinphoneCall |
getTransfererCall()
Returns the transferer if this call was started automatically as a result of an incoming transfer request.
|
LinphoneCall.State |
getTransferState()
If a call transfer has been initiated for this call, returns the call state of the new call performed at the remote end as a result of the transfer request.
|
LinphoneCall |
getTransferTargetCall()
When this call has received a transfer request, returns the new call that was automatically created as a result of the transfer.
|
Object |
getUserData()
Returns user data from a call. return null if any
|
LinphoneCallStats |
getVideoStats()
Get the video statistics associated with this call.
|
boolean |
isAuthenticationTokenVerified()
Used by ZRTP encryption mechanism.
|
boolean |
isEchoCancellationEnabled()
get EC status
|
boolean |
isEchoLimiterEnabled()
get EL status
|
boolean |
isInConference()
Checks wether the call is part of a conferece.
|
boolean |
mediaInProgress()
Indicates whether an operation is in progress at the media side.
|
void |
sendInfoMessage(LinphoneInfoMessage msg)
Send an info message to remote peer.
|
void |
setAuthenticationTokenVerified(boolean verified)
Used by ZRTP encryption mechanism.
|
void |
setListener(LinphoneCall.LinphoneCallListener listener)
Set the callbacks associated with the LinphoneCall.
|
void |
setUserData(Object obj)
attached a user data to a call
|
void |
startRecording()
Start call recording.
|
void |
stopRecording()
Stop call recording.
|
void |
takeSnapshot(String path)
Take a photo of currently received video and write it into a jpeg file.
|
void |
zoomVideo(float factor,
float cx,
float cy)
Scale the video by factor, and center it using cx,cy point
|
LinphoneCall.State getState()
LinphoneAddress getRemoteAddress()
CallDirection getDirection()
LinphoneCallLog getCallLog()
LinphoneAddress getDiversionAddress()
LinphoneCallStats getAudioStats()
LinphoneCallStats getVideoStats()
LinphoneCallParams getRemoteParams()
LinphoneCallParams getCurrentParamsCopy()
void enableCamera(boolean enabled)
boolean cameraEnabled()
void enableEchoCancellation(boolean enable)
enable
- boolean isEchoCancellationEnabled()
void enableEchoLimiter(boolean enable)
enable
- boolean isEchoLimiterEnabled()
LinphoneCall getReplacedCall()
int getDuration()
float getCurrentQuality()
float getAverageQuality()
String getAuthenticationToken()
boolean isAuthenticationTokenVerified()
void setAuthenticationTokenVerified(boolean verified)
verified
- true when displayed SAS is correctboolean isInConference()
LinphoneConference getConference()
boolean mediaInProgress()
float getPlayVolume()
String getRemoteUserAgent()
String getRemoteContact()
void takeSnapshot(String path)
void zoomVideo(float factor, float cx, float cy)
void startRecording()
void stopRecording()
LinphoneCall.State getTransferState()
void sendInfoMessage(LinphoneInfoMessage msg)
LinphoneCall getTransfererCall()
LinphoneCall getTransferTargetCall()
Reason getReason()
ErrorInfo getErrorInfo()
void setUserData(Object obj)
Object getUserData()
LinphonePlayer getPlayer()
LinphoneChatRoom getChatRoom()
void setListener(LinphoneCall.LinphoneCallListener listener)