public interface Core
Modifier and Type | Interface and Description |
---|---|
static class |
Core.LogCollectionUploadState |
Modifier and Type | Method and Description |
---|---|
void |
acceptCall(Call call)
Deprecated.
|
void |
acceptCallUpdate(Call call,
CallParams params)
Deprecated.
|
void |
acceptCallWithParams(Call call,
CallParams params)
Deprecated.
|
void |
acceptEarlyMedia(Call call)
Deprecated.
|
void |
acceptEarlyMediaWithParams(Call call,
CallParams params)
Deprecated.
|
boolean |
adaptiveRateControlEnabled()
Returns whether adaptive rate control is enabled.
|
void |
addAllToConference()
Add all current calls into the conference.
|
void |
addAuthInfo(AuthInfo info)
Adds authentication information to the #LinphoneCore.
|
void |
addFriend(Friend fr)
Deprecated.
|
void |
addFriendList(FriendList list)
Add a friend list.
|
void |
addLinphoneSpec(java.lang.String spec)
Add the given linphone specs to the list of functionalities the linphone client
supports.
|
void |
addListener(CoreListener listener) |
void |
addProxyConfig(ProxyConfig config)
Add a proxy configuration.
|
void |
addSupportedTag(java.lang.String tag)
This function controls signaling features supported by the core.
|
void |
addToConference(Call call)
Add a participant to the conference.
|
boolean |
audioAdaptiveJittcompEnabled()
Tells whether the audio adaptive jitter compensation is enabled.
|
boolean |
audioMulticastEnabled()
Use to get multicast state of audio stream.
|
boolean |
chatEnabled()
Returns whether chat is enabled.
|
void |
checkForUpdate(java.lang.String currentVersion)
Checks if a new version of the application is available.
|
void |
clearAllAuthInfo()
Clear all authentication information.
|
void |
clearCallLogs()
Erase the call log.
|
void |
clearProxyConfig()
Erase all proxies from config.
|
java.lang.String |
compressLogCollection()
Compress the log collection in a single file.
|
boolean |
conferenceServerEnabled()
Tells whether the conference server feature is enabled.
|
AccountCreator |
createAccountCreator(java.lang.String xmlrpcUrl)
Create a #LinphoneAccountCreator and set Linphone Request callbacks.
|
Address |
createAddress(java.lang.String address)
Create a #LinphoneAddress object by parsing the user supplied address, given as
a string.
|
AuthInfo |
createAuthInfo(java.lang.String username,
java.lang.String userid,
java.lang.String passwd,
java.lang.String ha1,
java.lang.String realm,
java.lang.String domain)
Deprecated.
|
CallLog |
createCallLog(Address from,
Address to,
Call.Dir dir,
int duration,
long startTime,
long connectedTime,
Call.Status status,
boolean videoEnabled,
float quality)
Creates a fake LinphoneCallLog.
|
CallParams |
createCallParams(Call call)
Create a #LinphoneCallParams suitable for linphone_core_invite_with_params(),
linphone_core_accept_call_with_params(),
linphone_core_accept_early_media_with_params(),
linphone_core_accept_call_update().
|
ChatRoom |
createChatRoom(Address participant) |
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
Address participant) |
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
java.lang.String subject,
Address[] participants)
Create a chat room.
|
ChatRoom |
createChatRoom(ChatRoomParams params,
java.lang.String subject,
Address[] participants)
Create a chat room.
|
ChatRoom |
createChatRoom(java.lang.String subject,
Address[] participants) |
ChatRoom |
createClientGroupChatRoom(java.lang.String subject,
boolean fallback)
Create a client-side group chat room.
|
ChatRoom |
createClientGroupChatRoom(java.lang.String subject,
boolean fallback,
boolean encrypted)
Create a client-side group chat room.
|
ConferenceParams |
createConferenceParams()
Create some default conference parameters for instanciating a a conference with
linphone_core_create_conference_with_params().
|
Conference |
createConferenceWithParams(ConferenceParams params)
Create a conference.
|
Config |
createConfig(java.lang.String filename)
Create a #LinphoneConfig object from a user config file.
|
Content |
createContent()
Create a content with default values from Linphone core.
|
ChatRoomParams |
createDefaultChatRoomParams()
Creates and returns the default chat room parameters.
|
Friend |
createFriend()
Create a default LinphoneFriend.
|
FriendList |
createFriendList()
Create a new empty #LinphoneFriendList object.
|
Friend |
createFriendWithAddress(java.lang.String address)
Create a #LinphoneFriend from the given address.
|
InfoMessage |
createInfoMessage()
Creates an empty info message.
|
Player |
createLocalPlayer(java.lang.String soundCardName,
java.lang.String videoDisplayName,
java.lang.Object windowId)
Create an independent media file player.
|
MagicSearch |
createMagicSearch()
Create a #LinphoneMagicSearch object.
|
NatPolicy |
createNatPolicy()
Create a new #LinphoneNatPolicy object with every policies being disabled.
|
NatPolicy |
createNatPolicyFromConfig(java.lang.String ref)
Create a new #LinphoneNatPolicy by reading the config of a #LinphoneCore
according to the passed ref.
|
Event |
createNotify(Address resource,
java.lang.String event)
Create an out-of-dialog notification, specifying the destination resource, the
event name.
|
Event |
createOneShotPublish(Address resource,
java.lang.String event)
Create a publish context for a one-shot publish.
|
PresenceActivity |
createPresenceActivity(PresenceActivity.Type acttype,
java.lang.String description)
Create a #LinphonePresenceActivity with the given type and description.
|
PresenceModel |
createPresenceModel()
Create a default LinphonePresenceModel.
|
PresenceModel |
createPresenceModelWithActivity(PresenceActivity.Type acttype,
java.lang.String description)
Create a #LinphonePresenceModel with the given activity type and activity
description.
|
PresenceModel |
createPresenceModelWithActivityAndNote(PresenceActivity.Type acttype,
java.lang.String description,
java.lang.String note,
java.lang.String lang)
Create a #LinphonePresenceModel with the given activity type, activity
description, note content and note language.
|
PresenceNote |
createPresenceNote(java.lang.String content,
java.lang.String lang)
Create a #LinphonePresenceNote with the given content and language.
|
PresencePerson |
createPresencePerson(java.lang.String id)
Create a #LinphonePresencePerson with the given id.
|
PresenceService |
createPresenceService(java.lang.String id,
PresenceBasicStatus basicStatus,
java.lang.String contact)
Create a #LinphonePresenceService with the given id, basic status and contact.
|
Address |
createPrimaryContactParsed()
Same as linphone_core_get_primary_contact() but the result is a
#LinphoneAddress object instead of const char *.
|
ProxyConfig |
createProxyConfig()
Create a proxy config with default values from Linphone core.
|
Event |
createPublish(Address resource,
java.lang.String event,
int expires)
Create a publish context for an event state.
|
Event |
createSubscribe(Address resource,
ProxyConfig proxy,
java.lang.String event,
int expires)
Create an outgoing subscription, specifying the destination resource, the event
name, and an optional content body.
|
Event |
createSubscribe(Address resource,
java.lang.String event,
int expires)
Create an outgoing subscription, specifying the destination resource, the event
name, and an optional content body.
|
XmlRpcSession |
createXmlRpcSession(java.lang.String url)
Create a #LinphoneXmlRpcSession for a given url.
|
void |
declineCall(Call call,
Reason reason)
Deprecated.
|
void |
deferCallUpdate(Call call)
Deprecated.
|
void |
deleteChatRoom(ChatRoom cr)
Removes a chatroom including all message history from the LinphoneCore.
|
void |
disableChat(Reason denyReason)
Inconditionnaly disable incoming chat messages.
|
boolean |
dnsSearchEnabled()
Tells whether DNS search (use of local domain if the fully qualified name did
return results) is enabled.
|
boolean |
dnsSrvEnabled()
Tells whether DNS SRV resolution is enabled.
|
boolean |
echoCancellationEnabled()
Returns TRUE if echo cancellation is enabled.
|
boolean |
echoLimiterEnabled()
Tells whether echo limiter is enabled.
|
void |
enableAdaptiveRateControl(boolean enabled)
Enable adaptive rate control.
|
void |
enableAudioAdaptiveJittcomp(boolean enable)
Enable or disable the audio adaptive jitter compensation.
|
void |
enableAudioMulticast(boolean yesno)
Use to enable multicast rtp for audio stream.
|
void |
enableChat()
Enable reception of incoming chat messages.
|
void |
enableConferenceServer(boolean enable)
Enable the conference server feature.
|
void |
enableDnsSearch(boolean enable)
Enable or disable DNS search (use of local domain if the fully qualified name
did return results).
|
void |
enableDnsSrv(boolean enable)
Enable or disable DNS SRV resolution.
|
void |
enableEchoCancellation(boolean val)
Enables or disable echo cancellation.
|
void |
enableEchoLimiter(boolean val)
Enables or disable echo limiter.
|
void |
enableFriendListSubscription(boolean enable)
Sets whether or not to start friend lists subscription when in foreground.
|
void |
enableIpv6(boolean val)
Turns IPv6 support on or off.
|
void |
enableKeepAlive(boolean enable)
Enables signaling keep alive, small udp packet sent periodically to keep udp
NAT association.
|
void |
enableLime(LimeState val)
Deprecated.
|
void |
enableLimeX3Dh(boolean enable)
Tells to LinphoneCore to use LIME X3DH.
|
void |
enableLogCollection(LogCollectionState state)
Enable the linphone core log collection to upload logs on a server.
|
void |
enableMic(boolean enable)
Enable or disable the microphone.
|
void |
enableQrcodeVideoPreview(boolean val)
Controls QRCode enablement.
|
void |
enableSdp200Ack(boolean enable)
Control when media offer is sent in SIP INVITE.
|
void |
enableSelfView(boolean val)
Enables or disable self view during calls.
|
void |
enableVideoAdaptiveJittcomp(boolean enable)
Enable or disable the video adaptive jitter compensation.
|
void |
enableVideoCapture(boolean enable)
Enable or disable video capture.
|
void |
enableVideoDisplay(boolean enable)
Enable or disable video display.
|
void |
enableVideoMulticast(boolean yesno)
Use to enable multicast rtp for video stream.
|
void |
enableVideoPreview(boolean val)
Controls video preview enablement.
|
void |
enableVideoSourceReuse(boolean enable)
Enable or disable video source reuse when switching from preview to actual
video call.
|
void |
enableWifiOnly(boolean val)
Turns Wifi only mode on or off.
|
void |
enterBackground()
This method is called by the application to notify the linphone core library
when it enters background mode.
|
void |
enterConference()
Join the local participant to the running conference.
|
void |
enterForeground()
This method is called by the application to notify the linphone core library
when it enters foreground mode.
|
boolean |
fileFormatSupported(java.lang.String fmt)
Returns whether a specific file format is supported.
|
AuthInfo |
findAuthInfo(java.lang.String realm,
java.lang.String username,
java.lang.String sipDomain)
Find authentication info matching realm, username, domain criteria.
|
Call |
findCallFromUri(java.lang.String uri)
Search from the list of current calls if a remote address match uri.
|
CallLog |
findCallLogFromCallId(java.lang.String callId)
Get the call log matching the call id, or NULL if can't be found.
|
ChatRoom |
findChatRoom(Address peerAddr,
Address localAddr)
Find a chat room.
|
Address[] |
findContactsByChar(java.lang.String filter,
boolean sipOnly)
Retrieves a list of #LinphoneAddress sort and filter.
|
Friend |
findFriend(Address addr)
Search a #LinphoneFriend by its address.
|
Friend[] |
findFriends(Address addr)
Search all #LinphoneFriend matching an address.
|
ChatRoom |
findOneToOneChatRoom(Address localAddr,
Address participantAddr)
Deprecated.
|
ChatRoom |
findOneToOneChatRoom(Address localAddr,
Address participantAddr,
boolean encrypted)
Find a one to one chat room.
|
java.lang.String |
getAdaptiveRateAlgorithm()
Returns which adaptive rate algorithm is currently configured for future calls.
|
int |
getAudioDscp()
Get the DSCP field for outgoing audio streams.
|
int |
getAudioJittcomp()
Returns the nominal audio jitter buffer size in milliseconds.
|
java.lang.String |
getAudioMulticastAddr()
Use to get multicast address to be used for audio stream.
|
int |
getAudioMulticastTtl()
Use to get multicast ttl to be used for audio stream.
|
PayloadType[] |
getAudioPayloadTypes()
Return the list of the available audio payload types.
|
int |
getAudioPort()
Gets the UDP port used for audio streaming.
|
Range |
getAudioPortsRange()
Get the audio port range from which is randomly chosen the UDP port used for
audio streaming.
|
AuthInfo[] |
getAuthInfoList()
Returns an unmodifiable list of currently entered #LinphoneAuthInfo.
|
AVPFMode |
getAvpfMode()
Return AVPF enablement.
|
int |
getAvpfRrInterval()
Return the avpf report interval in seconds.
|
Call |
getCallByRemoteAddress(java.lang.String remoteAddress)
Get the call with the remote_address specified.
|
Call |
getCallByRemoteAddress2(Address remoteAddress)
Get the call with the remote_address specified.
|
CallLog[] |
getCallHistory(Address peerAddr,
Address localAddr)
Get the list of call logs (past calls).
|
CallLog[] |
getCallHistoryForAddress(Address addr)
Deprecated.
|
CallLog[] |
getCallLogs()
Get the list of call logs (past calls).
|
java.lang.String |
getCallLogsDatabasePath()
Gets the database filename where call logs will be stored.
|
Call[] |
getCalls()
Gets the current list of calls.
|
int |
getCallsNb()
Get the number of Call.
|
int |
getCameraSensorRotation()
Get the camera sensor rotation.
|
java.lang.String |
getCaptureDevice()
Gets the name of the currently assigned sound device for capture.
|
java.lang.String |
getChatDatabasePath()
Deprecated.
|
ChatRoom |
getChatRoom(Address addr)
Get a basic chat room whose peer is the supplied address.
|
ChatRoom |
getChatRoom(Address peerAddr,
Address localAddr)
Get a basic chat room.
|
ChatRoom |
getChatRoomFromUri(java.lang.String to)
Get a basic chat room for messaging from a sip uri like
sip:joe@sip.linphone.org.
|
ChatRoom[] |
getChatRooms()
Returns an list of chat rooms.
|
Conference |
getConference()
Get a pointer on the internal conference object.
|
float |
getConferenceLocalInputVolume()
Get the set input volume of the local participant.
|
int |
getConferenceSize()
Get the number of participant in the running conference.
|
Config |
getConfig()
Returns the LpConfig object used to manage the storage (config) file.
|
ConsolidatedPresence |
getConsolidatedPresence()
Get my consolidated presence.
|
Call |
getCurrentCall()
Gets the current call.
|
Address |
getCurrentCallRemoteAddress()
Get the remote address of the current call.
|
VideoDefinition |
getCurrentPreviewVideoDefinition()
Get the effective video definition provided by the camera for the captured
video.
|
FriendList |
getDefaultFriendList()
Retrieves the first list of #LinphoneFriend from the core.
|
ProxyConfig |
getDefaultProxyConfig() |
int |
getDelayedTimeout()
Gets the delayed timeout See linphone_core_set_delayed_timeout() for details.
|
int |
getDeviceRotation()
Gets the current device orientation.
|
boolean |
getDnsSetByApp()
Tells if the DNS was set by an application.
|
int |
getDownloadBandwidth()
Retrieve the maximum available download bandwidth.
|
int |
getDownloadPtime()
Get audio packetization time linphone expects to receive from peer.
|
java.lang.String |
getEchoCancellerFilterName()
Get the name of the mediastreamer2 filter used for echo cancelling.
|
java.lang.String |
getFileTransferServer()
Get the globaly set http file transfer server to be used for content type
application/vnd.gsma.rcs-ft-http+xml.
|
Friend |
getFriendByRefKey(java.lang.String key)
Search a #LinphoneFriend by its reference key.
|
FriendList |
getFriendListByName(java.lang.String name)
Retrieves the list of #LinphoneFriend from the core that has the given display
name.
|
java.lang.String |
getFriendsDatabasePath()
Gets the database filename where friends will be stored.
|
FriendList[] |
getFriendsLists()
Retrieves the list of #LinphoneFriendList from the core.
|
boolean |
getGuessHostname()
Returns TRUE if hostname part of primary contact is guessed automatically.
|
java.lang.String |
getHttpProxyHost()
Get http proxy address to be used for signaling.
|
int |
getHttpProxyPort()
Get http proxy port to be used for signaling.
|
java.lang.String |
getIdentity()
Gets the default identity SIP address.
|
ImNotifPolicy |
getImNotifPolicy()
Get the #LinphoneImNotifPolicy object controlling the instant messaging
notifications.
|
int |
getInCallTimeout()
Gets the in call timeout See linphone_core_set_in_call_timeout() for details.
|
int |
getIncTimeout()
Returns the incoming call timeout See linphone_core_set_inc_timeout() for
details.
|
CallLog |
getLastOutgoingCallLog()
Get the latest outgoing call log.
|
java.lang.String |
getLimeX3DhServerUrl()
Get the x3dh server url.
|
java.lang.String |
getLinphoneSpecs()
Deprecated.
|
java.lang.String[] |
getLinphoneSpecsList()
Get the list of linphone specs string values representing what functionalities
the linphone client supports.
|
int |
getLogCollectionMaxFileSize()
Get the max file size in bytes of the files used for log collection.
|
java.lang.String |
getLogCollectionPath()
Get the path where the log files will be written for log collection.
|
java.lang.String |
getLogCollectionPrefix()
Get the prefix of the filenames that will be used for log collection.
|
java.lang.String |
getLogCollectionUploadServerUrl()
Gets the url of the server where to upload the collected log files.
|
int |
getLogLevelMask()
Deprecated.
|
int |
getMaxCalls()
Get the maximum number of simultaneous calls Linphone core can manage at a
time.
|
int |
getMaxSizeForAutoDownloadIncomingFiles()
Gets the size under which incoming files in chat messages will be downloaded
automatically.
|
java.lang.String |
getMediaDevice()
Gets the name of the currently assigned sound device for media.
|
MediaEncryption |
getMediaEncryption()
Get the media encryption policy being used for RTP packets.
|
Factory |
getMediastreamerFactory()
Gets the mediastreamer's factory
|
float |
getMicGainDb()
Get microphone gain in db.
|
int |
getMissedCallsCount()
Get the number of missed calls.
|
int |
getMtu()
Returns the maximum transmission unit size in bytes.
|
java.lang.String |
getNatAddress()
Get the public IP address of NAT being used.
|
void |
getNativePreviewWindowId()
Get the native window handle of the video preview window.
|
void |
getNativeVideoWindowId()
Get the native window handle of the video window.
|
NatPolicy |
getNatPolicy()
Get The policy that is used to pass through NATs/firewalls.
|
int |
getNortpTimeout()
Gets the value of the no-rtp timeout.
|
PayloadType |
getPayloadType(java.lang.String type,
int rate,
int channels)
Get payload type from mime type and clock rate.
|
java.lang.String |
getPlaybackDevice()
Gets the name of the currently assigned sound device for playback.
|
float |
getPlaybackGainDb()
Get playback gain in db before entering sound card.
|
java.lang.String |
getPlayFile()
Get the wav file that is played when putting somebody on hold, or when files
are used instead of soundcards (see linphone_core_set_use_files()).
|
float |
getPreferredFramerate()
Returns the preferred video framerate, previously set by
linphone_core_set_preferred_framerate().
|
VideoDefinition |
getPreferredVideoDefinition()
Get the preferred video definition for the stream that is captured and sent to
the remote party.
|
PresenceModel |
getPresenceModel()
Get my presence model.
|
VideoDefinition |
getPreviewVideoDefinition()
Get the definition of the captured video.
|
java.lang.String |
getPrimaryContact()
Returns the default identity when no proxy configuration is used.
|
Address |
getPrimaryContactParsed()
Deprecated.
|
java.lang.String |
getProvisioningUri()
Get provisioning URI.
|
ProxyConfig[] |
getProxyConfigList()
Returns an unmodifiable list of entered proxy configurations.
|
java.lang.String |
getRecordFile()
Get the wav file where incoming stream is recorded, when files are used instead
of soundcards (see linphone_core_set_use_files()).
|
java.lang.String |
getRemoteRingbackTone()
Get the ring back tone played to far end during incoming calls.
|
java.lang.String |
getRing()
Returns the path to the wav file used for ringing.
|
java.lang.String |
getRingback()
Returns the path to the wav file used for ringing back.
|
boolean |
getRingDuringIncomingEarlyMedia()
Tells whether the ring play is enabled during an incoming early media call.
|
java.lang.String |
getRingerDevice()
Gets the name of the currently assigned sound device for ringing.
|
java.lang.String |
getRootCa()
Gets the path to a file or folder containing the trusted root CAs (PEM format)
|
int |
getSipDscp()
Get the DSCP field for SIP signaling channel.
|
int |
getSipTransportTimeout()
Get the SIP transport timeout.
|
java.lang.String[] |
getSoundDevicesList()
Gets the list of the available sound devices.
|
java.lang.String |
getStaticPicture()
Get the path to the image file streamed when "Static picture" is set as the
video device.
|
float |
getStaticPictureFps()
Get the frame rate for static picture.
|
java.lang.String |
getStunServer()
Get the STUN server address being used.
|
java.lang.String[] |
getSupportedFileFormatsList()
Returns a null terminated table of strings containing the file format extension
supported for call recording.
|
PayloadType[] |
getTextPayloadTypes()
Return the list of the available text payload types.
|
int |
getTextPort()
Gets the UDP port used for text streaming.
|
Range |
getTextPortsRange()
Get the text port range from which is randomly chosen the UDP port used for
text streaming.
|
java.lang.String |
getTlsCert()
Gets the TLS certificate.
|
java.lang.String |
getTlsCertPath()
Gets the path to the TLS certificate file.
|
java.lang.String |
getTlsKey()
Gets the TLS key.
|
java.lang.String |
getTlsKeyPath()
Gets the path to the TLS key file.
|
Transports |
getTransports()
Retrieves the port configuration used for each transport (udp, tcp, tls).
|
Transports |
getTransportsUsed()
Retrieves the real port number assigned for each sip transport (udp, tcp, tls).
|
Tunnel |
getTunnel()
get tunnel instance if available
|
int |
getUnreadChatMessageCount()
Return the global unread chat message count.
|
int |
getUnreadChatMessageCountFromActiveLocals()
Return the unread chat message count for all active local address.
|
int |
getUnreadChatMessageCountFromLocal(Address address)
Return the unread chat message count for a given local address.
|
int |
getUploadBandwidth()
Retrieve the maximum available upload bandwidth.
|
int |
getUploadPtime()
Set audio packetization time linphone will send (in absence of requirement from
peer) A value of 0 stands for the current codec default packetization time.
|
java.lang.String |
getUpnpExternalIpaddress()
Return the external ip address of router.
|
UpnpState |
getUpnpState()
Return the internal state of uPnP.
|
boolean |
getUseFiles()
Gets whether linphone is currently streaming audio from and to files, rather
than using the soundcard.
|
boolean |
getUseInfoForDtmf()
Indicates whether SIP INFO is used to send digits.
|
java.lang.String |
getUserAgent() |
java.lang.String |
getUserCertificatesPath()
Get the path to the directory storing the user's certificates.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
boolean |
getUseRfc2833ForDtmf()
Indicates whether RFC2833 is used to send digits.
|
java.lang.String |
getVersion()
Returns liblinphone's version as a string.
|
VideoActivationPolicy |
getVideoActivationPolicy()
Get the default policy for video.
|
java.lang.String |
getVideoDevice()
Returns the name of the currently active video device.
|
java.lang.String[] |
getVideoDevicesList()
Gets the list of the available video capture devices.
|
java.lang.String |
getVideoDisplayFilter()
Get the name of the mediastreamer2 filter used for rendering video.
|
int |
getVideoDscp()
Get the DSCP field for outgoing video streams.
|
int |
getVideoJittcomp()
Returns the nominal video jitter buffer size in milliseconds.
|
java.lang.String |
getVideoMulticastAddr()
Use to get multicast address to be used for video stream.
|
int |
getVideoMulticastTtl()
Use to get multicast ttl to be used for video stream.
|
PayloadType[] |
getVideoPayloadTypes()
Return the list of the available video payload types.
|
int |
getVideoPort()
Gets the UDP port used for video streaming.
|
Range |
getVideoPortsRange()
Get the video port range from which is randomly chosen the UDP port used for
video streaming.
|
java.lang.String |
getVideoPreset()
Get the video preset used for video calls.
|
java.lang.String |
getZrtpSecretsFile()
Get the path to the file storing the zrtp secrets cache.
|
ZrtpPeerStatus |
getZrtpStatus(java.lang.String addr)
Get the zrtp sas validation status for a peer uri.
|
boolean |
hasBuiltinEchoCanceller()
Check whether the device has a hardware echo canceller.
|
boolean |
hasCrappyOpengl()
Check whether the device is flagged has crappy opengl.
|
boolean |
inCall()
Tells whether there is a call running.
|
Address |
interpretUrl(java.lang.String url)
See linphone_proxy_config_normalize_sip_uri for documentation.
|
Call |
invite(java.lang.String url)
Initiates an outgoing call.
|
Call |
inviteAddress(Address addr)
Initiates an outgoing call given a destination #LinphoneAddress The
#LinphoneAddress can be constructed directly using linphone_address_new, or
created by linphone_core_interpret_url().
|
Call |
inviteAddressWithParams(Address addr,
CallParams params)
Initiates an outgoing call given a destination #LinphoneAddress The
#LinphoneAddress can be constructed directly using linphone_address_new, or
created by linphone_core_interpret_url().
|
Call |
inviteWithParams(java.lang.String url,
CallParams params)
Initiates an outgoing call according to supplied call parameters The
application doesn't own a reference to the returned #LinphoneCall object.
|
boolean |
ipv6Enabled()
Tells whether IPv6 is enabled or not.
|
boolean |
isEchoCancellerCalibrationRequired()
Check whether the device is echo canceller calibration is required.
|
boolean |
isFriendListSubscriptionEnabled()
Returns whether or not friend lists subscription are enabled.
|
boolean |
isIncomingInvitePending()
Tells whether there is an incoming invite pending.
|
boolean |
isInConference()
Indicates whether the local participant is part of a conference.
|
boolean |
isMediaEncryptionMandatory()
Check if the configured media encryption is mandatory or not.
|
boolean |
isNetworkReachable()
return network state either as positioned by the application or by linphone
itself.
|
void |
iterate()
Main loop function.
|
boolean |
keepAliveEnabled()
Is signaling keep alive enabled.
|
void |
leaveConference()
Make the local participant leave the running conference.
|
boolean |
limeAvailable()
Deprecated.
|
LimeState |
limeEnabled()
Deprecated.
|
boolean |
limeX3DhAvailable()
Tells if LIME X3DH is available.
|
boolean |
limeX3DhEnabled()
Tells wether LIME X3DH is enabled or not.
|
void |
loadConfigFromXml(java.lang.String xmlUri)
Update current config with the content of a xml config file.
|
LogCollectionState |
logCollectionEnabled()
Tells whether the linphone core log collection is enabled.
|
boolean |
mediaEncryptionSupported(MediaEncryption menc)
Check if a media encryption type is supported.
|
boolean |
micEnabled()
Tells whether the microphone is enabled.
|
void |
migrateLogsFromRcToDb()
Migrates the call logs from the linphonerc to the database if not done yet.
|
void |
migrateToMultiTransport()
Migrate configuration so that all SIP transports are enabled.
|
void |
notifyAllFriends(PresenceModel presence)
Notify all friends that have subscribed.
|
void |
notifyNotifyPresenceReceived(Friend lf)
Notifies the upper layer that a presence status has been received by calling
the appropriate callback if one has been set.
|
void |
notifyNotifyPresenceReceivedForUriOrTel(Friend lf,
java.lang.String uriOrTel,
PresenceModel presenceModel)
Notifies the upper layer that a presence model change has been received for the
uri or telephone number given as a parameter, by calling the appropriate
callback if one has been set.
|
void |
pauseAllCalls()
Pause all currently running calls.
|
void |
pauseCall(Call call)
Deprecated.
|
void |
playDtmf(char dtmf,
int durationMs)
Plays a dtmf sound to the local user.
|
void |
playLocal(java.lang.String audiofile)
Plays an audio file to the local user.
|
void |
previewOglRender()
Call generic OpenGL render for a given core.
|
Event |
publish(Address resource,
java.lang.String event,
int expires,
Content body)
Publish an event state.
|
boolean |
qrcodeVideoPreviewEnabled()
Tells whether QRCode is enabled in the preview.
|
boolean |
realtimeTextEnabled()
Gets if realtime text is enabled or not.
|
void |
redirectCall(Call call,
java.lang.String redirectUri)
Deprecated.
|
void |
refreshRegisters()
force registration refresh to be initiated upon next iterate
|
void |
rejectSubscriber(Friend lf)
Black list a friend.
|
void |
reloadMsPlugins(java.lang.String path)
Reload mediastreamer2 plugins from specified directory.
|
void |
reloadSoundDevices()
Update detection of sound devices.
|
void |
reloadVideoDevices()
Update detection of camera devices.
|
void |
removeAuthInfo(AuthInfo info)
Removes an authentication information object.
|
void |
removeCallLog(CallLog callLog)
Remove a specific call log from call history list.
|
void |
removeFriendList(FriendList list)
Removes a friend list.
|
void |
removeFromConference(Call call)
Remove a call from the conference.
|
void |
removeLinphoneSpec(java.lang.String spec)
Remove the given linphone specs from the list of functionalities the linphone
client supports.
|
void |
removeListener(CoreListener listener) |
void |
removeProxyConfig(ProxyConfig config)
Removes a proxy configuration.
|
void |
removeSupportedTag(java.lang.String tag)
Remove a supported tag.
|
void |
resetLogCollection()
Reset the log collection by removing the log files.
|
void |
resetMissedCallsCount()
Reset the counter of missed calls.
|
void |
resumeCall(Call call)
Deprecated.
|
boolean |
sdp200AckEnabled()
Media offer control param for SIP INVITE.
|
boolean |
selfViewEnabled()
Tells whether video self view during call is enabled or not.
|
void |
serializeLogs()
Enable logs serialization (output logs from either the thread that creates the
linphone core or the thread that calls linphone_core_iterate()).
|
void |
setAdaptiveRateAlgorithm(java.lang.String algorithm)
Sets adaptive rate algorithm.
|
void |
setAudioDscp(int dscp)
Set the DSCP field for outgoing audio streams.
|
void |
setAudioJittcomp(int milliseconds)
Sets the nominal audio jitter buffer size in milliseconds.
|
void |
setAudioMulticastAddr(java.lang.String ip)
Use to set multicast address to be used for audio stream.
|
void |
setAudioMulticastTtl(int ttl)
Use to set multicast ttl to be used for audio stream.
|
void |
setAudioPayloadTypes(PayloadType[] payloadTypes)
Redefine the list of the available payload types.
|
void |
setAudioPort(int port)
Sets the UDP port used for audio streaming.
|
void |
setAudioPortRange(int minPort,
int maxPort)
Sets the UDP port range from which to randomly select the port used for audio
streaming.
|
void |
setAvpfMode(AVPFMode mode)
Enable RTCP feedback (also known as RTP/AVPF profile).
|
void |
setAvpfRrInterval(int interval)
Set the avpf report interval in seconds.
|
void |
setCallErrorTone(Reason reason,
java.lang.String audiofile)
Assign an audio file to be played locally upon call failure, for a given
reason.
|
void |
setCallLogsDatabasePath(java.lang.String path)
Sets the database filename where call logs will be stored.
|
void |
setCaptureDevice(java.lang.String devid)
Sets the sound device used for capture.
|
void |
setChatDatabasePath(java.lang.String path)
Deprecated.
|
void |
setConsolidatedPresence(ConsolidatedPresence presence)
Set my consolidated presence.
|
void |
setDefaultProxyConfig(ProxyConfig config)
Sets the default proxy.
|
void |
setDelayedTimeout(int seconds)
Set the in delayed timeout in seconds.
|
void |
setDeviceRotation(int rotation)
Tells the core the device current orientation.
|
void |
setDnsServers(java.lang.String[] servers)
Forces liblinphone to use the supplied list of dns servers, instead of system's
ones.
|
void |
setDnsServersApp(java.lang.String[] servers)
Forces liblinphone to use the supplied list of dns servers, instead of system's
ones and set dns_set_by_app at true or false according to value of servers
list.
|
void |
setDownloadBandwidth(int bw)
Sets maximum available download bandwidth This is IP bandwidth, in kbit/s.
|
void |
setDownloadPtime(int ptime)
Set audio packetization time linphone expects to receive from peer.
|
void |
setEchoCancellerFilterName(java.lang.String filtername)
Set the name of the mediastreamer2 filter to be used for echo cancelling.
|
void |
setExpectedBandwidth(int bw)
Sets expected available upload bandwidth This is IP bandwidth, in kbit/s.
|
void |
setFileTransferServer(java.lang.String serverUrl)
Globaly set an http file transfer server to be used for content type
application/vnd.gsma.rcs-ft-http+xml.
|
void |
setFriendsDatabasePath(java.lang.String path)
Sets the database filename where friends will be stored.
|
void |
setGuessHostname(boolean val)
Tells #LinphoneCore to guess local hostname automatically in primary contact.
|
void |
setHttpProxyHost(java.lang.String host)
Set http proxy address to be used for signaling during next channel connection.
|
void |
setHttpProxyPort(int port)
Set http proxy port to be used for signaling.
|
void |
setInCallTimeout(int seconds)
Set the in call timeout in seconds.
|
void |
setIncTimeout(int seconds)
Set the incoming call timeout in seconds.
|
void |
setLimeX3DhServerUrl(java.lang.String url)
Set the x3dh server url.
|
void |
setLinphoneSpecs(java.lang.String specs)
Deprecated.
|
void |
setLinphoneSpecsList(java.lang.String[] specs)
Set the linphone specs list value telling what functionalities the linphone
client supports.
|
void |
setLogCollectionMaxFileSize(int size)
Set the max file size in bytes of the files used for log collection.
|
void |
setLogCollectionPath(java.lang.String path)
Set the path of a directory where the log files will be written for log
collection.
|
void |
setLogCollectionPrefix(java.lang.String prefix)
Set the prefix of the filenames that will be used for log collection.
|
void |
setLogCollectionUploadServerUrl(java.lang.String serverUrl)
Set the url of the server where to upload the collected log files.
|
void |
setLogLevelMask(int mask)
Deprecated.
|
void |
setMaxCalls(int max)
Set the maximum number of simultaneous calls Linphone core can manage at a
time.
|
void |
setMaxSizeForAutoDownloadIncomingFiles(int size)
Sets the size under which incoming files in chat messages will be downloaded
automatically.
|
void |
setMediaDevice(java.lang.String devid)
Sets the sound device used for media.
|
void |
setMediaEncryption(MediaEncryption menc)
Choose the media encryption policy to be used for RTP packets.
|
void |
setMediaEncryptionMandatory(boolean m)
Define whether the configured media encryption is mandatory, if it is and the
negotation cannot result in the desired media encryption then the call will
fail.
|
void |
setMediaNetworkReachable(boolean value)
This method is called by the application to notify the linphone core library
when the media (RTP) network is reachable.
|
void |
setMicGainDb(float level)
Allow to control microphone level: gain in db.
|
void |
setMtu(int mtu)
Sets the maximum transmission unit size in bytes.
|
void |
setNatAddress(java.lang.String addr)
Set the public IP address of NAT when using the firewall policy is set to use
NAT.
|
void |
setNativePreviewWindowId(java.lang.Object id)
Set the native window id where the preview video (local camera) is to be
displayed.
|
void |
setNativeVideoWindowId(java.lang.Object id)
Set the native video window id where the video is to be displayed.
|
void |
setNatPolicy(NatPolicy policy)
Set the policy to use to pass through NATs/firewalls.
|
void |
setNetworkReachable(boolean value)
This method is called by the application to notify the linphone core library
when network is reachable.
|
void |
setNortpTimeout(int seconds)
Sets the no-rtp timeout value in seconds.
|
void |
setPlaybackDevice(java.lang.String devid)
Sets the sound device used for playback.
|
void |
setPlaybackGainDb(float level)
Allow to control play level before entering sound card: gain in db.
|
void |
setPlayFile(java.lang.String file)
Sets a wav file to be played when putting somebody on hold, or when files are
used instead of soundcards (see linphone_core_set_use_files()).
|
void |
setPreferredFramerate(float fps)
Set the preferred frame rate for video.
|
void |
setPreferredVideoDefinition(VideoDefinition vdef)
Set the preferred video definition for the stream that is captured and sent to
the remote party.
|
void |
setPreferredVideoSizeByName(java.lang.String name)
Deprecated.
|
void |
setPresenceModel(PresenceModel presence)
Set my presence model.
|
void |
setPreviewVideoDefinition(VideoDefinition vdef)
Set the video definition for the captured (preview) video.
|
void |
setPreviewVideoSizeByName(java.lang.String name)
Deprecated.
|
void |
setPrimaryContact(java.lang.String contact)
Sets the local "from" identity.
|
void |
setProvisioningUri(java.lang.String uri)
Set URI where to download xml configuration file at startup.
|
void |
setQrcodeDecodeRect(int x,
int y,
int w,
int h)
Set the rectangle where the decoder will search a QRCode.
|
void |
setRecordFile(java.lang.String file)
Sets a wav file where incoming stream is to be recorded, when files are used
instead of soundcards (see linphone_core_set_use_files()).
|
void |
setRemoteRingbackTone(java.lang.String ring)
Specify a ring back tone to be played to far end during incoming calls.
|
void |
setRing(java.lang.String path)
Sets the path to a wav file used for ringing.
|
void |
setRingback(java.lang.String path)
Sets the path to a wav file used for ringing back.
|
void |
setRingDuringIncomingEarlyMedia(boolean enable)
Enable or disable the ring play during an incoming early media call.
|
void |
setRingerDevice(java.lang.String devid)
Sets the sound device used for ringing.
|
void |
setRootCa(java.lang.String path)
Sets the path to a file or folder containing trusted root CAs (PEM format)
|
void |
setRootCaData(java.lang.String data)
Sets the trusted root CAs (PEM format)
|
void |
setSipDscp(int dscp)
Set the DSCP field for SIP signaling channel.
|
void |
setSipNetworkReachable(boolean value)
This method is called by the application to notify the linphone core library
when the SIP network is reachable.
|
void |
setSipTransportTimeout(int timeoutMs)
Set the SIP transport timeout.
|
void |
setStaticPicture(java.lang.String path)
Set the path to the image file to stream when "Static picture" is set as the
video device.
|
void |
setStaticPictureFps(float fps)
Set the frame rate for static picture.
|
void |
setStunServer(java.lang.String server)
Set the STUN server address to use when the firewall policy is set to STUN.
|
void |
setTextPayloadTypes(PayloadType[] payloadTypes)
Redefine the list of the available payload types.
|
void |
setTextPort(int port)
Sets the UDP port used for text streaming.
|
void |
setTextPortRange(int minPort,
int maxPort)
Sets the UDP port range from which to randomly select the port used for text
streaming.
|
void |
setTlsCert(java.lang.String tlsCert)
Sets a TLS certificate used for TLS authentication The certificate won't be
stored, you have to set it after each #LinphoneCore startup.
|
void |
setTlsCertPath(java.lang.String tlsCertPath)
Sets a TLS certificate path used for TLS authentication The path will be stored
in the rc file and automatically restored on startup.
|
void |
setTlsKey(java.lang.String tlsKey)
Sets a TLS key used for TLS authentication The key won't be stored, you have to
set it after each #LinphoneCore startup.
|
void |
setTlsKeyPath(java.lang.String tlsKeyPath)
Sets a TLS key path used for TLS authentication The path will be stored in the
rc file and automatically restored on startup.
|
void |
setTransports(Transports transports)
Sets the ports to be used for each of transport (UDP or TCP) A zero value port
for a given transport means the transport is not used.
|
void |
setUploadBandwidth(int bw)
Sets maximum available upload bandwidth This is IP bandwidth, in kbit/s.
|
void |
setUploadPtime(int ptime)
Set audio packetization time linphone will send (in absence of requirement from
peer) A value of 0 stands for the current codec default packetization time.
|
void |
setUseFiles(boolean yesno)
Ask the core to stream audio from and to files, instead of using the soundcard.
|
void |
setUseInfoForDtmf(boolean useInfo)
Sets whether SIP INFO is to be used to send digits.
|
void |
setUserAgent(java.lang.String uaName,
java.lang.String version)
Set the user agent string used in SIP messages.
|
void |
setUserCertificatesPath(java.lang.String path)
Set the path to the directory storing the user's x509 certificates (used by
dtls)
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
void |
setUseRfc2833ForDtmf(boolean useRfc2833)
Sets whether RFC2833 is to be used to send digits.
|
void |
setVideoActivationPolicy(VideoActivationPolicy policy)
Sets the default policy for video.
|
void |
setVideoDevice(java.lang.String id)
Sets the active video device.
|
void |
setVideoDisplayFilter(java.lang.String filtername)
Set the name of the mediastreamer2 filter to be used for rendering video.
|
void |
setVideoDscp(int dscp)
Set the DSCP field for outgoing video streams.
|
void |
setVideoJittcomp(int milliseconds)
Sets the nominal video jitter buffer size in milliseconds.
|
void |
setVideoMulticastAddr(java.lang.String ip)
Use to set multicast address to be used for video stream.
|
void |
setVideoMulticastTtl(int ttl)
Use to set multicast ttl to be used for video stream.
|
void |
setVideoPayloadTypes(PayloadType[] payloadTypes)
Redefine the list of the available video payload types.
|
void |
setVideoPort(int port)
Sets the UDP port used for video streaming.
|
void |
setVideoPortRange(int minPort,
int maxPort)
Sets the UDP port range from which to randomly select the port used for video
streaming.
|
void |
setVideoPreset(java.lang.String preset)
Set the video preset to be used for video calls.
|
void |
setZrtpSecretsFile(java.lang.String file)
Set the path to the file storing the zrtp secrets cache.
|
boolean |
soundDeviceCanCapture(java.lang.String device)
Tells whether a specified sound device can capture sound.
|
boolean |
soundDeviceCanPlayback(java.lang.String device)
Tells whether a specified sound device can play sound.
|
boolean |
soundResourcesLocked()
Check if a call will need the sound resources in near future (typically an
outgoing call that is awaiting response).
|
void |
start()
Start a #LinphoneCore object after it has been instantiated and not
automatically started.
|
void |
startConferenceRecording(java.lang.String path)
Start recording the running conference.
|
void |
startDtmfStream()
Special function to warm up dtmf feeback stream.
|
void |
startEchoCancellerCalibration()
Starts an echo calibration of the sound devices, in order to find adequate
settings for the echo canceler automatically.
|
void |
startEchoTester(int rate)
Start the simulation of call to test the latency with an external device.
|
void |
stop()
Stop a #LinphoneCore object after it has been instantiated and started.
|
void |
stopConferenceRecording()
Stop recording the running conference.
|
void |
stopDtmf()
Stops playing a dtmf started by linphone_core_play_dtmf().
|
void |
stopDtmfStream()
Special function to stop dtmf feed back function.
|
void |
stopEchoTester()
Stop the simulation of call.
|
void |
stopRinging()
Whenever the liblinphone is playing a ring to advertise an incoming call or
ringback of an outgoing call, this function stops the ringing.
|
Event |
subscribe(Address resource,
java.lang.String event,
int expires,
Content body)
Create an outgoing subscription, specifying the destination resource, the event
name, and an optional content body.
|
void |
takePreviewSnapshot(java.lang.String file)
Take a photo of currently from capture device and write it into a jpeg file.
|
void |
terminateAllCalls()
Terminates all the calls.
|
void |
terminateCall(Call call)
Deprecated.
|
void |
terminateConference()
Terminate the running conference.
|
void |
transferCall(Call call,
java.lang.String referTo)
Deprecated.
|
void |
transferCallToAnother(Call call,
Call dest)
Deprecated.
|
boolean |
tunnelAvailable()
True if tunnel support was compiled.
|
void |
updateCall(Call call,
CallParams params)
Deprecated.
|
void |
uploadLogCollection()
Upload the log collection to the configured server url.
|
boolean |
upnpAvailable()
Return the availability of uPnP.
|
void |
usePreviewWindow(boolean yesno)
Tells the core to use a separate window for local camera preview video, instead
of inserting local view within the remote video window.
|
boolean |
vcardSupported()
Tells whether VCARD support is builtin.
|
void |
verifyServerCertificates(boolean yesno)
Specify whether the tls server certificate must be verified when connecting to
a SIP/TLS server.
|
void |
verifyServerCn(boolean yesno)
Specify whether the tls server certificate common name must be verified when
connecting to a SIP/TLS server.
|
boolean |
videoAdaptiveJittcompEnabled()
Tells whether the video adaptive jitter compensation is enabled.
|
boolean |
videoCaptureEnabled()
Tells whether video capture is enabled.
|
boolean |
videoDisplayEnabled()
Tells whether video display is enabled.
|
boolean |
videoEnabled()
Returns TRUE if either capture or display is enabled, TRUE otherwise.
|
boolean |
videoMulticastEnabled()
Use to get multicast state of video stream.
|
boolean |
videoPreviewEnabled()
Tells whether video preview is enabled.
|
boolean |
videoSupported()
Test if video is supported.
|
boolean |
wifiOnlyEnabled()
Tells whether Wifi only mode is enabled or not.
|
Factory getMediastreamerFactory()
java.lang.String getAdaptiveRateAlgorithm()
void setAdaptiveRateAlgorithm(java.lang.String algorithm)
boolean adaptiveRateControlEnabled()
void enableAdaptiveRateControl(boolean enabled)
boolean audioAdaptiveJittcompEnabled()
void enableAudioAdaptiveJittcomp(boolean enable)
int getAudioDscp()
void setAudioDscp(int dscp)
int getAudioJittcomp()
void setAudioJittcomp(int milliseconds)
java.lang.String getAudioMulticastAddr()
void setAudioMulticastAddr(java.lang.String ip)
boolean audioMulticastEnabled()
void enableAudioMulticast(boolean yesno)
int getAudioMulticastTtl()
void setAudioMulticastTtl(int ttl)
PayloadType[] getAudioPayloadTypes()
void setAudioPayloadTypes(PayloadType[] payloadTypes)
int getAudioPort()
void setAudioPort(int port)
Range getAudioPortsRange()
AuthInfo[] getAuthInfoList()
AVPFMode getAvpfMode()
void setAvpfMode(AVPFMode mode)
int getAvpfRrInterval()
void setAvpfRrInterval(int interval)
CallLog[] getCallLogs()
java.lang.String getCallLogsDatabasePath()
void setCallLogsDatabasePath(java.lang.String path)
Call[] getCalls()
int getCallsNb()
int getCameraSensorRotation()
java.lang.String getCaptureDevice()
void setCaptureDevice(java.lang.String devid)
@Deprecated java.lang.String getChatDatabasePath()
@Deprecated void setChatDatabasePath(java.lang.String path)
boolean chatEnabled()
ChatRoom[] getChatRooms()
Conference getConference()
float getConferenceLocalInputVolume()
boolean conferenceServerEnabled()
void enableConferenceServer(boolean enable)
int getConferenceSize()
Config getConfig()
ConsolidatedPresence getConsolidatedPresence()
void setConsolidatedPresence(ConsolidatedPresence presence)
Call getCurrentCall()
Address getCurrentCallRemoteAddress()
VideoDefinition getCurrentPreviewVideoDefinition()
FriendList getDefaultFriendList()
ProxyConfig getDefaultProxyConfig()
void setDefaultProxyConfig(ProxyConfig config)
int getDelayedTimeout()
void setDelayedTimeout(int seconds)
int getDeviceRotation()
void setDeviceRotation(int rotation)
boolean dnsSearchEnabled()
void enableDnsSearch(boolean enable)
void setDnsServers(java.lang.String[] servers)
void setDnsServersApp(java.lang.String[] servers)
boolean getDnsSetByApp()
boolean dnsSrvEnabled()
void enableDnsSrv(boolean enable)
int getDownloadBandwidth()
void setDownloadBandwidth(int bw)
int getDownloadPtime()
void setDownloadPtime(int ptime)
boolean echoCancellationEnabled()
void enableEchoCancellation(boolean val)
java.lang.String getEchoCancellerFilterName()
void setEchoCancellerFilterName(java.lang.String filtername)
boolean echoLimiterEnabled()
void enableEchoLimiter(boolean val)
void setExpectedBandwidth(int bw)
java.lang.String getFileTransferServer()
void setFileTransferServer(java.lang.String serverUrl)
void enableFriendListSubscription(boolean enable)
java.lang.String getFriendsDatabasePath()
void setFriendsDatabasePath(java.lang.String path)
FriendList[] getFriendsLists()
boolean getGuessHostname()
void setGuessHostname(boolean val)
java.lang.String getHttpProxyHost()
void setHttpProxyHost(java.lang.String host)
int getHttpProxyPort()
void setHttpProxyPort(int port)
java.lang.String getIdentity()
ImNotifPolicy getImNotifPolicy()
int getInCallTimeout()
void setInCallTimeout(int seconds)
int getIncTimeout()
void setIncTimeout(int seconds)
boolean ipv6Enabled()
void enableIpv6(boolean val)
boolean isEchoCancellerCalibrationRequired()
boolean isFriendListSubscriptionEnabled()
boolean isInConference()
boolean isIncomingInvitePending()
boolean isMediaEncryptionMandatory()
boolean isNetworkReachable()
boolean keepAliveEnabled()
void enableKeepAlive(boolean enable)
CallLog getLastOutgoingCallLog()
boolean limeX3DhEnabled()
void enableLimeX3Dh(boolean enable)
java.lang.String getLimeX3DhServerUrl()
void setLimeX3DhServerUrl(java.lang.String url)
@Deprecated java.lang.String getLinphoneSpecs()
@Deprecated void setLinphoneSpecs(java.lang.String specs)
java.lang.String[] getLinphoneSpecsList()
void setLinphoneSpecsList(java.lang.String[] specs)
java.lang.String getLogCollectionUploadServerUrl()
void setLogCollectionUploadServerUrl(java.lang.String serverUrl)
int getMaxCalls()
void setMaxCalls(int max)
int getMaxSizeForAutoDownloadIncomingFiles()
void setMaxSizeForAutoDownloadIncomingFiles(int size)
java.lang.String getMediaDevice()
void setMediaDevice(java.lang.String devid)
MediaEncryption getMediaEncryption()
void setMediaEncryption(MediaEncryption menc)
void setMediaEncryptionMandatory(boolean m)
void setMediaNetworkReachable(boolean value)
boolean micEnabled()
void enableMic(boolean enable)
float getMicGainDb()
void setMicGainDb(float level)
int getMissedCallsCount()
int getMtu()
void setMtu(int mtu)
java.lang.String getNatAddress()
void setNatAddress(java.lang.String addr)
NatPolicy getNatPolicy()
void setNatPolicy(NatPolicy policy)
void getNativePreviewWindowId()
void setNativePreviewWindowId(java.lang.Object id)
void getNativeVideoWindowId()
void setNativeVideoWindowId(java.lang.Object id)
void setNetworkReachable(boolean value)
int getNortpTimeout()
void setNortpTimeout(int seconds)
java.lang.String getPlayFile()
void setPlayFile(java.lang.String file)
java.lang.String getPlaybackDevice()
void setPlaybackDevice(java.lang.String devid)
float getPlaybackGainDb()
void setPlaybackGainDb(float level)
float getPreferredFramerate()
void setPreferredFramerate(float fps)
VideoDefinition getPreferredVideoDefinition()
void setPreferredVideoDefinition(VideoDefinition vdef)
@Deprecated void setPreferredVideoSizeByName(java.lang.String name)
PresenceModel getPresenceModel()
void setPresenceModel(PresenceModel presence)
VideoDefinition getPreviewVideoDefinition()
void setPreviewVideoDefinition(VideoDefinition vdef)
@Deprecated void setPreviewVideoSizeByName(java.lang.String name)
java.lang.String getPrimaryContact()
void setPrimaryContact(java.lang.String contact)
@Deprecated Address getPrimaryContactParsed()
java.lang.String getProvisioningUri()
void setProvisioningUri(java.lang.String uri)
ProxyConfig[] getProxyConfigList()
boolean qrcodeVideoPreviewEnabled()
void enableQrcodeVideoPreview(boolean val)
boolean realtimeTextEnabled()
java.lang.String getRecordFile()
void setRecordFile(java.lang.String file)
java.lang.String getRemoteRingbackTone()
void setRemoteRingbackTone(java.lang.String ring)
java.lang.String getRing()
void setRing(java.lang.String path)
boolean getRingDuringIncomingEarlyMedia()
void setRingDuringIncomingEarlyMedia(boolean enable)
java.lang.String getRingback()
void setRingback(java.lang.String path)
java.lang.String getRingerDevice()
void setRingerDevice(java.lang.String devid)
java.lang.String getRootCa()
void setRootCa(java.lang.String path)
void setRootCaData(java.lang.String data)
boolean sdp200AckEnabled()
void enableSdp200Ack(boolean enable)
boolean selfViewEnabled()
void enableSelfView(boolean val)
int getSipDscp()
void setSipDscp(int dscp)
void setSipNetworkReachable(boolean value)
int getSipTransportTimeout()
void setSipTransportTimeout(int timeoutMs)
java.lang.String[] getSoundDevicesList()
java.lang.String getStaticPicture()
void setStaticPicture(java.lang.String path)
float getStaticPictureFps()
void setStaticPictureFps(float fps)
java.lang.String getStunServer()
void setStunServer(java.lang.String server)
java.lang.String[] getSupportedFileFormatsList()
PayloadType[] getTextPayloadTypes()
void setTextPayloadTypes(PayloadType[] payloadTypes)
int getTextPort()
void setTextPort(int port)
Range getTextPortsRange()
java.lang.String getTlsCert()
void setTlsCert(java.lang.String tlsCert)
java.lang.String getTlsCertPath()
void setTlsCertPath(java.lang.String tlsCertPath)
java.lang.String getTlsKey()
void setTlsKey(java.lang.String tlsKey)
java.lang.String getTlsKeyPath()
void setTlsKeyPath(java.lang.String tlsKeyPath)
Transports getTransports()
void setTransports(Transports transports)
Transports getTransportsUsed()
Tunnel getTunnel()
int getUnreadChatMessageCount()
int getUnreadChatMessageCountFromActiveLocals()
int getUploadBandwidth()
void setUploadBandwidth(int bw)
int getUploadPtime()
void setUploadPtime(int ptime)
java.lang.String getUpnpExternalIpaddress()
UpnpState getUpnpState()
boolean getUseFiles()
void setUseFiles(boolean yesno)
boolean getUseInfoForDtmf()
void setUseInfoForDtmf(boolean useInfo)
boolean getUseRfc2833ForDtmf()
void setUseRfc2833ForDtmf(boolean useRfc2833)
java.lang.String getUserAgent()
java.lang.String getUserCertificatesPath()
void setUserCertificatesPath(java.lang.String path)
VideoActivationPolicy getVideoActivationPolicy()
void setVideoActivationPolicy(VideoActivationPolicy policy)
boolean videoAdaptiveJittcompEnabled()
void enableVideoAdaptiveJittcomp(boolean enable)
boolean videoCaptureEnabled()
void enableVideoCapture(boolean enable)
java.lang.String getVideoDevice()
void setVideoDevice(java.lang.String id)
java.lang.String[] getVideoDevicesList()
boolean videoDisplayEnabled()
void enableVideoDisplay(boolean enable)
java.lang.String getVideoDisplayFilter()
void setVideoDisplayFilter(java.lang.String filtername)
int getVideoDscp()
void setVideoDscp(int dscp)
boolean videoEnabled()
int getVideoJittcomp()
void setVideoJittcomp(int milliseconds)
java.lang.String getVideoMulticastAddr()
void setVideoMulticastAddr(java.lang.String ip)
boolean videoMulticastEnabled()
void enableVideoMulticast(boolean yesno)
int getVideoMulticastTtl()
void setVideoMulticastTtl(int ttl)
PayloadType[] getVideoPayloadTypes()
void setVideoPayloadTypes(PayloadType[] payloadTypes)
int getVideoPort()
void setVideoPort(int port)
Range getVideoPortsRange()
java.lang.String getVideoPreset()
void setVideoPreset(java.lang.String preset)
boolean videoPreviewEnabled()
void enableVideoPreview(boolean val)
void enableVideoSourceReuse(boolean enable)
boolean wifiOnlyEnabled()
void enableWifiOnly(boolean val)
java.lang.String getZrtpSecretsFile()
void setZrtpSecretsFile(java.lang.String file)
@Deprecated void acceptCall(Call call)
@Deprecated void acceptCallUpdate(Call call, CallParams params)
@Deprecated void acceptCallWithParams(Call call, CallParams params)
@Deprecated void acceptEarlyMedia(Call call)
@Deprecated void acceptEarlyMediaWithParams(Call call, CallParams params)
void addAllToConference()
void addAuthInfo(AuthInfo info)
@Deprecated void addFriend(Friend fr)
void addFriendList(FriendList list)
void addLinphoneSpec(java.lang.String spec)
void addProxyConfig(ProxyConfig config)
void addSupportedTag(java.lang.String tag)
void addToConference(Call call)
void checkForUpdate(java.lang.String currentVersion)
void clearAllAuthInfo()
void clearCallLogs()
void clearProxyConfig()
AccountCreator createAccountCreator(java.lang.String xmlrpcUrl)
Address createAddress(java.lang.String address)
@Deprecated AuthInfo createAuthInfo(java.lang.String username, java.lang.String userid, java.lang.String passwd, java.lang.String ha1, java.lang.String realm, java.lang.String domain)
CallLog createCallLog(Address from, Address to, Call.Dir dir, int duration, long startTime, long connectedTime, Call.Status status, boolean videoEnabled, float quality)
CallParams createCallParams(Call call)
ChatRoom createChatRoom(ChatRoomParams params, java.lang.String subject, Address[] participants)
ChatRoom createChatRoom(ChatRoomParams params, Address localAddr, Address participant)
ChatRoom createChatRoom(ChatRoomParams params, Address localAddr, java.lang.String subject, Address[] participants)
ChatRoom createClientGroupChatRoom(java.lang.String subject, boolean fallback)
ChatRoom createClientGroupChatRoom(java.lang.String subject, boolean fallback, boolean encrypted)
ConferenceParams createConferenceParams()
Conference createConferenceWithParams(ConferenceParams params)
Config createConfig(java.lang.String filename)
Content createContent()
ChatRoomParams createDefaultChatRoomParams()
Friend createFriend()
FriendList createFriendList()
Friend createFriendWithAddress(java.lang.String address)
InfoMessage createInfoMessage()
Player createLocalPlayer(java.lang.String soundCardName, java.lang.String videoDisplayName, java.lang.Object windowId)
MagicSearch createMagicSearch()
NatPolicy createNatPolicy()
NatPolicy createNatPolicyFromConfig(java.lang.String ref)
Event createNotify(Address resource, java.lang.String event)
Event createOneShotPublish(Address resource, java.lang.String event)
PresenceActivity createPresenceActivity(PresenceActivity.Type acttype, java.lang.String description)
PresenceModel createPresenceModel()
PresenceModel createPresenceModelWithActivity(PresenceActivity.Type acttype, java.lang.String description)
PresenceModel createPresenceModelWithActivityAndNote(PresenceActivity.Type acttype, java.lang.String description, java.lang.String note, java.lang.String lang)
PresenceNote createPresenceNote(java.lang.String content, java.lang.String lang)
PresencePerson createPresencePerson(java.lang.String id)
PresenceService createPresenceService(java.lang.String id, PresenceBasicStatus basicStatus, java.lang.String contact)
Address createPrimaryContactParsed()
ProxyConfig createProxyConfig()
Event createPublish(Address resource, java.lang.String event, int expires)
Event createSubscribe(Address resource, ProxyConfig proxy, java.lang.String event, int expires)
Event createSubscribe(Address resource, java.lang.String event, int expires)
XmlRpcSession createXmlRpcSession(java.lang.String url)
@Deprecated void declineCall(Call call, Reason reason)
@Deprecated void deferCallUpdate(Call call)
void deleteChatRoom(ChatRoom cr)
void disableChat(Reason denyReason)
void enableChat()
@Deprecated void enableLime(LimeState val)
void enterBackground()
void enterConference()
void enterForeground()
boolean fileFormatSupported(java.lang.String fmt)
AuthInfo findAuthInfo(java.lang.String realm, java.lang.String username, java.lang.String sipDomain)
Call findCallFromUri(java.lang.String uri)
CallLog findCallLogFromCallId(java.lang.String callId)
Address[] findContactsByChar(java.lang.String filter, boolean sipOnly)
@Deprecated ChatRoom findOneToOneChatRoom(Address localAddr, Address participantAddr)
ChatRoom findOneToOneChatRoom(Address localAddr, Address participantAddr, boolean encrypted)
Call getCallByRemoteAddress(java.lang.String remoteAddress)
Call getCallByRemoteAddress2(Address remoteAddress)
CallLog[] getCallHistory(Address peerAddr, Address localAddr)
@Deprecated CallLog[] getCallHistoryForAddress(Address addr)
ChatRoom getChatRoom(Address addr)
ChatRoom getChatRoomFromUri(java.lang.String to)
Friend getFriendByRefKey(java.lang.String key)
FriendList getFriendListByName(java.lang.String name)
PayloadType getPayloadType(java.lang.String type, int rate, int channels)
int getUnreadChatMessageCountFromLocal(Address address)
ZrtpPeerStatus getZrtpStatus(java.lang.String addr)
boolean hasBuiltinEchoCanceller()
boolean hasCrappyOpengl()
boolean inCall()
Address interpretUrl(java.lang.String url)
Call invite(java.lang.String url)
Call inviteAddress(Address addr)
Call inviteAddressWithParams(Address addr, CallParams params)
Call inviteWithParams(java.lang.String url, CallParams params)
void iterate()
void leaveConference()
@Deprecated boolean limeAvailable()
@Deprecated LimeState limeEnabled()
boolean limeX3DhAvailable()
void loadConfigFromXml(java.lang.String xmlUri)
boolean mediaEncryptionSupported(MediaEncryption menc)
void migrateLogsFromRcToDb()
void migrateToMultiTransport()
void notifyAllFriends(PresenceModel presence)
void notifyNotifyPresenceReceived(Friend lf)
void notifyNotifyPresenceReceivedForUriOrTel(Friend lf, java.lang.String uriOrTel, PresenceModel presenceModel)
void pauseAllCalls()
@Deprecated void pauseCall(Call call)
void playDtmf(char dtmf, int durationMs)
void playLocal(java.lang.String audiofile)
void previewOglRender()
Event publish(Address resource, java.lang.String event, int expires, Content body)
@Deprecated void redirectCall(Call call, java.lang.String redirectUri)
void refreshRegisters()
void rejectSubscriber(Friend lf)
void reloadMsPlugins(java.lang.String path)
void reloadSoundDevices()
void reloadVideoDevices()
void removeAuthInfo(AuthInfo info)
void removeCallLog(CallLog callLog)
void removeFriendList(FriendList list)
void removeFromConference(Call call)
void removeLinphoneSpec(java.lang.String spec)
void removeProxyConfig(ProxyConfig config)
void removeSupportedTag(java.lang.String tag)
void resetMissedCallsCount()
@Deprecated void resumeCall(Call call)
void setAudioPortRange(int minPort, int maxPort)
void setCallErrorTone(Reason reason, java.lang.String audiofile)
void setQrcodeDecodeRect(int x, int y, int w, int h)
void setTextPortRange(int minPort, int maxPort)
void setUserAgent(java.lang.String uaName, java.lang.String version)
void setVideoPortRange(int minPort, int maxPort)
boolean soundDeviceCanCapture(java.lang.String device)
boolean soundDeviceCanPlayback(java.lang.String device)
boolean soundResourcesLocked()
void start()
void startConferenceRecording(java.lang.String path)
void startDtmfStream()
void startEchoCancellerCalibration()
void startEchoTester(int rate)
void stop()
void stopConferenceRecording()
void stopDtmf()
void stopDtmfStream()
void stopEchoTester()
void stopRinging()
Event subscribe(Address resource, java.lang.String event, int expires, Content body)
void takePreviewSnapshot(java.lang.String file)
void terminateAllCalls()
@Deprecated void terminateCall(Call call)
void terminateConference()
@Deprecated void transferCall(Call call, java.lang.String referTo)
@Deprecated void transferCallToAnother(Call call, Call dest)
@Deprecated void updateCall(Call call, CallParams params)
void uploadLogCollection()
void usePreviewWindow(boolean yesno)
void verifyServerCertificates(boolean yesno)
void verifyServerCn(boolean yesno)
boolean videoSupported()
java.lang.String compressLogCollection()
void enableLogCollection(LogCollectionState state)
int getLogCollectionMaxFileSize()
java.lang.String getLogCollectionPath()
java.lang.String getLogCollectionPrefix()
@Deprecated int getLogLevelMask()
java.lang.String getVersion()
LogCollectionState logCollectionEnabled()
void resetLogCollection()
void serializeLogs()
void setLogCollectionMaxFileSize(int size)
void setLogCollectionPath(java.lang.String path)
void setLogCollectionPrefix(java.lang.String prefix)
@Deprecated void setLogLevelMask(int mask)
boolean tunnelAvailable()
boolean upnpAvailable()
boolean vcardSupported()
void addListener(CoreListener listener)
void removeListener(CoreListener listener)
void setUserData(java.lang.Object data)
java.lang.Object getUserData()