liblinphone
3.6.1
|
Initializing liblinphone | |
Placing and receiving calls | The LinphoneCall object represents an incoming or outgoing call managed by the LinphoneCore. Outgoing calls can be created using linphone_core_invite() or linphone_core_invite_address(), while incoming calls are notified to the application through the LinphoneCoreVTable::call_state_changed callback |
Obtaining information about a running call: sound volumes, quality indicators | When a call is running, it is possible to retrieve in real time current measured volumes and quality indicator |
Controlling media parameters | |
Managing proxies | User registration is controled by LinphoneProxyConfig settings. Each LinphoneProxyConfig object can be configured with registration informations like proxy address , user id , refresh period , and so on. A created proxy config using linphone_proxy_config_new(), once configured, must be added to LinphoneCore using function linphone_core_add_proxy_config(). It is recommended to set a default proxy config using function linphone_core_set_default_proxy(). Once done, if a proxy config has been configured with attribute enable register , next call to linphone_core_iterate() triggers a SIP register. Registration status is reported by LinphoneRegistrationStateCb. This pseudo code demonstrates basic registration operations: |
Controlling network parameters (ports, mtu...) | |
Managing authentication: userid and passwords | |
Managing Buddies and buddy list and presence | Buddies and buddy list Each buddy is represented by a LinphoneFriend object created by function linphone_friend_new(). Buddy configuration parameters like sip uri or status publication policy for this friend are configurable for each buddy. Here under a typical buddy creation: |
Chat room and Messaging | Exchanging text messages Messages are sent using LinphoneChatRoom object. First step is to create a chat room from a peer sip uri |
Managing call logs | |
SIP address parser API. | This api is useful for manipulating SIP addresses ('from' or 'to' headers) |
Making an audio conference. | This API allows to create a conference entirely managed by the client. No server capabilities are required. The way such conference is created is by doing the following: The application shall makes "normal" calls to several destinations (using linphone_core_invite() ), one after another. While initiating the second call, the first one is automatically paused. Then, once the second call is established, the application has the possibility to merge the two calls to form a conference where each participant (the local participant, the remote destination of the first call, the remote destination of the second call) can talk together. This must be done by adding the two calls to the conference using linphone_call_add_to_conference() |
Miscenalleous: logs, version strings, config storage | |
▼Tutorials: | |
Basic buddy status notification | |
Chat room and messaging | |
Basic call | |
Basic registration | |
▼Portability: | |
IOS | |
Tunnel |