Liblinphone
5.3.0
|
Placing and receiving calls. More...
Typedefs | |
typedef void(* | LinphonePlayerCbsEofReachedCb) (LinphonePlayer *player) |
Callback for notifying end of play (file). More... | |
typedef enum _LinphoneRecorderFileFormat | LinphoneRecorderFileFormat |
Enum representing the file format of a recording. | |
typedef enum _LinphoneRecorderState | LinphoneRecorderState |
Enum representing the state of a recording. | |
typedef enum _LinphoneVideoSourceType | LinphoneVideoSourceType |
Enum representing the type of a video source. | |
typedef enum _LinphoneMediaDirection | LinphoneMediaDirection |
Indicates for a given media the stream direction. | |
typedef struct _LinphonePlayer | LinphonePlayer |
Player interface. | |
typedef struct _LinphonePlayerCbs | LinphonePlayerCbs |
An object to handle the callbacks for the handling a LinphonePlayer objects. | |
typedef enum LinphonePlayerState | LinphonePlayerState |
The state of a LinphonePlayer. | |
typedef enum _LinphonePrivacy | LinphonePrivacy |
Defines privacy policy to apply as described by rfc3323. | |
typedef unsigned int | LinphonePrivacyMask |
A mask of LinphonePrivacy values. | |
typedef void(* | LinphoneCallCbsDtmfReceivedCb) (LinphoneCall *call, int dtmf) |
Callback for being notified of received DTMFs. More... | |
typedef void(* | LinphoneCallCbsGoClearAckSentCb) (LinphoneCall *call) |
GoClear ACK sent callback. More... | |
typedef void(* | LinphoneCallCbsEncryptionChangedCb) (LinphoneCall *call, bool_t on, const char *authentication_token) |
Call encryption changed callback. More... | |
typedef void(* | LinphoneCallCbsSendMasterKeyChangedCb) (LinphoneCall *call, const char *send_master_key) |
Call send master key changed callback. More... | |
typedef void(* | LinphoneCallCbsReceiveMasterKeyChangedCb) (LinphoneCall *call, const char *receive_master_key) |
Call receive master key changed callback. More... | |
typedef void(* | LinphoneCallCbsInfoMessageReceivedCb) (LinphoneCall *call, const LinphoneInfoMessage *message) |
Callback for receiving info messages. More... | |
typedef void(* | LinphoneCallCbsStateChangedCb) (LinphoneCall *call, LinphoneCallState state, const char *message) |
Call state notification callback. More... | |
typedef void(* | LinphoneCallCbsStatsUpdatedCb) (LinphoneCall *call, const LinphoneCallStats *stats) |
Callback for receiving quality statistics for calls. More... | |
typedef void(* | LinphoneCallCbsTransferStateChangedCb) (LinphoneCall *call, LinphoneCallState state) |
Callback for notifying progresses of transfers. More... | |
typedef void(* | LinphoneCallCbsAckProcessingCb) (LinphoneCall *call, LinphoneHeaders *ack, bool_t is_received) |
Callback for notifying the processing SIP ACK messages. More... | |
typedef void(* | LinphoneCallCbsTmmbrReceivedCb) (LinphoneCall *call, int stream_index, int tmmbr) |
Callback for notifying a received TMMBR. More... | |
typedef void(* | LinphoneCallCbsSnapshotTakenCb) (LinphoneCall *call, const char *file_path) |
Callback for notifying a snapshot taken. More... | |
typedef void(* | LinphoneCallCbsNextVideoFrameDecodedCb) (LinphoneCall *call) |
Callback to notify a next video frame has been decoded. More... | |
typedef void(* | LinphoneCallCbsCameraNotWorkingCb) (LinphoneCall *call, const char *camera_name) |
Callback to notify that the camera is not working and has been changed to "No Webcam". More... | |
typedef void(* | LinphoneCallCbsVideoDisplayErrorOccurredCb) (LinphoneCall *call, int error_code) |
Callback to notify that there are errors from the video rendering. More... | |
typedef void(* | LinphoneCallCbsAudioDeviceChangedCb) (LinphoneCall *call, LinphoneAudioDevice *audio_device) |
Callback to notify that the audio device has been changed. More... | |
typedef void(* | LinphoneCallCbsRemoteRecordingCb) (LinphoneCall *call, bool_t recording) |
Callback to notify that the call is being recorded by the remote. More... | |
typedef struct _LinphoneCall | LinphoneCall |
This object represents a call issued or received by the LinphoneCore. More... | |
typedef struct _LinphoneCallCbs | LinphoneCallCbs |
That class holds all the callbacks which are called by LinphoneCall objects. More... | |
typedef struct _LinphoneCallParams | LinphoneCallParams |
An object containing various parameters of a LinphoneCall. More... | |
typedef struct _LinphoneRecorder | LinphoneRecorder |
Object used to record the audio or video of a call. | |
typedef struct _LinphoneRecorderParams | LinphoneRecorderParams |
Object containing various parameters of a LinphoneRecorder. | |
typedef struct _LinphoneVideoSourceDescriptor | LinphoneVideoSourceDescriptor |
Object that is used to describe a video source. | |
typedef enum _LinphoneCallState | LinphoneCallState |
LinphoneCallState enum represents the different states a call can reach into. More... | |
Functions | |
void | linphone_call_params_add_custom_header (LinphoneCallParams *call_params, const char *header_name, const char *header_value) |
Add a custom SIP header in the INVITE for a call. More... | |
const char * | linphone_call_params_get_custom_header (const LinphoneCallParams *call_params, const char *header_name) |
Get a custom SIP header. More... | |
MS2_DEPRECATED LinphoneCallParams * | linphone_call_params_copy (const LinphoneCallParams *call_params) |
Copy an existing LinphoneCallParams object to a new LinphoneCallParams object. More... | |
bool_t | linphone_call_params_early_media_sending_enabled (const LinphoneCallParams *call_params) |
Indicate whether sending of early media was enabled. More... | |
void | linphone_call_params_enable_early_media_sending (LinphoneCallParams *call_params, bool_t enabled) |
Enable sending of real early media (during outgoing calls). More... | |
void | linphone_call_params_enable_low_bandwidth (LinphoneCallParams *call_params, bool_t enabled) |
Indicate low bandwith mode. More... | |
void | linphone_call_params_enable_audio (LinphoneCallParams *call_params, bool_t enabled) |
Enable audio stream. More... | |
void | linphone_call_params_enable_capability_negotiations (LinphoneCallParams *params, bool_t enabled) |
Enable capability negotiations (RFC5939). More... | |
void | linphone_call_params_enable_cfg_lines_merging (LinphoneCallParams *params, bool_t enabled) |
Enable merging of cfg lines with consecutive indexes if capability negotiations (RFC5939) is enabled. More... | |
void | linphone_call_params_enable_tcap_line_merging (LinphoneCallParams *params, bool_t enabled) |
Enable merging of tcap lines with consecutive indexes if capability negotiations (RFC5939) is enabled. More... | |
void | linphone_call_params_set_supported_encryptions (LinphoneCallParams *params, bctbx_list_t *encs) |
Sets the list of supported encryptions. More... | |
void | linphone_call_params_enable_video (LinphoneCallParams *call_params, bool_t enabled) |
Enable video stream. More... | |
LinphoneConferenceLayout | linphone_call_params_get_conference_video_layout (const LinphoneCallParams *params) |
Set video layout for conference. More... | |
void | linphone_call_params_set_conference_video_layout (LinphoneCallParams *params, LinphoneConferenceLayout layout) |
Set video layout for conference. More... | |
bool_t | linphone_call_params_get_local_conference_mode (const LinphoneCallParams *call_params) |
Tell whether the call is part of the locally managed conference. More... | |
LinphoneMediaEncryption | linphone_call_params_get_media_encryption (const LinphoneCallParams *call_params) |
Get the kind of media encryption selected for the call. More... | |
LinphonePrivacyMask | linphone_call_params_get_privacy (const LinphoneCallParams *call_params) |
Get requested level of privacy for the call. More... | |
float | linphone_call_params_get_received_framerate (const LinphoneCallParams *call_params) |
Get the framerate of the video that is received. More... | |
const LinphoneVideoDefinition * | linphone_call_params_get_received_video_definition (const LinphoneCallParams *call_params) |
Get the definition of the received video. More... | |
const char * | linphone_call_params_get_record_file (const LinphoneCallParams *call_params) |
Get the path for the audio recording of the call. More... | |
const char * | linphone_call_params_get_rtp_profile (const LinphoneCallParams *call_params) |
Get the RTP profile being used. More... | |
float | linphone_call_params_get_sent_framerate (const LinphoneCallParams *call_params) |
Get the framerate of the video that is sent. More... | |
const LinphoneVideoDefinition * | linphone_call_params_get_sent_video_definition (const LinphoneCallParams *call_params) |
Get the definition of the sent video. More... | |
const char * | linphone_call_params_get_session_name (const LinphoneCallParams *call_params) |
Get the session name of the media session (ie in SDP). More... | |
const LinphonePayloadType * | linphone_call_params_get_used_audio_payload_type (const LinphoneCallParams *call_params) |
Get the audio payload type that has been selected by a call. More... | |
const LinphonePayloadType * | linphone_call_params_get_used_video_payload_type (const LinphoneCallParams *call_params) |
Get the video payload type that has been selected by a call. More... | |
const LinphonePayloadType * | linphone_call_params_get_used_text_payload_type (const LinphoneCallParams *call_params) |
Get the text payload type that has been selected by a call. More... | |
bool_t | linphone_call_params_low_bandwidth_enabled (const LinphoneCallParams *call_params) |
Tell whether the call has been configured in low bandwidth mode or not. More... | |
void | linphone_call_params_set_audio_bandwidth_limit (LinphoneCallParams *call_params, int bandwidth) |
Refine bandwidth settings for this call by setting a bandwidth limit for audio streams. More... | |
void | linphone_call_params_set_media_encryption (LinphoneCallParams *call_params, LinphoneMediaEncryption encryption) |
Set requested media encryption for a call. More... | |
void | linphone_call_params_set_privacy (LinphoneCallParams *call_params, LinphonePrivacyMask privacy) |
Set requested level of privacy for the call. More... | |
void | linphone_call_params_set_record_file (LinphoneCallParams *call_params, const char *path) |
Enable recording of the call. More... | |
void | linphone_call_params_set_session_name (LinphoneCallParams *call_params, const char *name) |
Set the session name of the media session (ie in SDP). More... | |
bool_t | linphone_call_params_audio_enabled (const LinphoneCallParams *call_params) |
Tell whether audio is enabled or not. More... | |
bool_t | linphone_call_params_video_enabled (const LinphoneCallParams *call_params) |
Tell whether video is enabled or not. More... | |
LinphoneMediaDirection | linphone_call_params_get_audio_direction (const LinphoneCallParams *call_params) |
Get the audio stream direction. More... | |
LinphoneMediaDirection | linphone_call_params_get_video_direction (const LinphoneCallParams *call_params) |
Get the video stream direction. More... | |
void | linphone_call_params_set_audio_direction (LinphoneCallParams *call_params, LinphoneMediaDirection direction) |
Set the audio stream direction. More... | |
void | linphone_call_params_set_video_direction (LinphoneCallParams *call_params, LinphoneMediaDirection direction) |
Set the video stream direction. More... | |
void | linphone_call_params_set_account (LinphoneCallParams *params, LinphoneAccount *account) |
Set the LinphoneAccount to use for the call. More... | |
LinphoneAccount * | linphone_call_params_get_account (const LinphoneCallParams *params) |
Get the LinphoneAccount that is used for the call. More... | |
void | linphone_call_params_enable_avpf (LinphoneCallParams *params, bool_t enable) |
Toggle feedback extension for AVP. More... | |
bool_t | linphone_call_params_avpf_enabled (const LinphoneCallParams *params) |
Whether or not the feedback extension will be used for AVP. More... | |
bool_t | linphone_call_params_is_recording (const LinphoneCallParams *params) |
Indicates whether the call is being recorded. More... | |
void | linphone_call_params_set_from_header (LinphoneCallParams *call_params, const char *from_value) |
Force the from header of a call when instanciating it (if set, it precludes the search in proxy and primary contact) More... | |
const char * | linphone_call_params_get_from_header (const LinphoneCallParams *call_params) |
Get the from header in the CallParams. More... | |
int | linphone_call_params_get_audio_bandwidth_limit (const LinphoneCallParams *params) |
bool_t | linphone_call_params_real_early_media_enabled (const LinphoneCallParams *params) |
bool_t | linphone_call_params_has_avpf_enabled_been_set (const LinphoneCallParams *params) |
bool_t | linphone_call_params_mandatory_media_encryption_enabled (const LinphoneCallParams *params) |
void | linphone_call_params_enable_mandatory_media_encryption (LinphoneCallParams *params, bool_t value) |
uint16_t | linphone_call_params_get_avpf_rr_interval (const LinphoneCallParams *params) |
void | linphone_call_params_set_avpf_rr_interval (LinphoneCallParams *params, uint16_t value) |
void * | linphone_call_params_get_user_data (const LinphoneCallParams *call_params) |
Get the user data associated with the call params. More... | |
void | linphone_call_params_set_user_data (LinphoneCallParams *call_params, void *user_data) |
Assign a user data to the call params. More... | |
LinphoneCallParams * | linphone_call_params_ref (LinphoneCallParams *call_params) |
Acquire a reference to the call params. More... | |
void | linphone_call_params_unref (LinphoneCallParams *call_params) |
Release a reference to the call params. More... | |
void | linphone_call_params_set_input_audio_device (LinphoneCallParams *params, LinphoneAudioDevice *audio_device) |
Sets the given LinphoneAudioDevice as default input for a call to be created later. More... | |
void | linphone_call_params_set_output_audio_device (LinphoneCallParams *params, LinphoneAudioDevice *audio_device) |
Sets the given LinphoneAudioDevice as default output for a call to be created later. More... | |
const LinphoneAudioDevice * | linphone_call_params_get_input_audio_device (const LinphoneCallParams *params) |
Gets the default input audio device for a call that will be created using this call params. More... | |
const LinphoneAudioDevice * | linphone_call_params_get_output_audio_device (const LinphoneCallParams *params) |
Gets the default output audio device for a call that will be created using this call params. More... | |
MS2_DEPRECATED MSVideoSize | linphone_call_params_get_received_video_size (const LinphoneCallParams *call_params) |
Get the size of the video that is received. More... | |
MS2_DEPRECATED MSVideoSize | linphone_call_params_get_sent_video_size (const LinphoneCallParams *call_params) |
Gets the size of the video that is sent. More... | |
MS2_DEPRECATED void | linphone_call_params_set_proxy_config (LinphoneCallParams *params, LinphoneProxyConfig *proxy_config) |
Set the LinphoneProxyConfig to use for the call. More... | |
MS2_DEPRECATED LinphoneProxyConfig * | linphone_call_params_get_proxy_config (const LinphoneCallParams *params) |
Get the LinphoneProxyConfig that is used for the call. More... | |
LinphoneConferenceParams * | linphone_conference_params_new (const LinphoneCore *core) |
Create an object of type a LinphoneConferenceParams. More... | |
LinphoneConferenceParams * | linphone_conference_params_ref (LinphoneConferenceParams *params) |
Take a reference on a LinphoneConferenceParams. More... | |
void | linphone_conference_params_unref (LinphoneConferenceParams *params) |
Release a LinphoneConferenceParams. More... | |
MS2_DEPRECATED void | linphone_conference_params_free (LinphoneConferenceParams *params) |
Free a LinphoneConferenceParams. More... | |
LinphoneConferenceParams * | linphone_conference_params_clone (const LinphoneConferenceParams *params) |
Clone a LinphoneConferenceParams. More... | |
void | linphone_conference_params_set_subject (LinphoneConferenceParams *params, const char *subject) |
Set the conference subject. More... | |
const char * | linphone_conference_params_get_subject (const LinphoneConferenceParams *params) |
Get the conference subject. More... | |
MS2_DEPRECATED void | linphone_conference_params_set_audio_enabled (LinphoneConferenceParams *params, bool_t enable) |
Enable audio capabilities. More... | |
void | linphone_conference_params_enable_audio (LinphoneConferenceParams *params, bool_t enable) |
Enable audio capabilities. More... | |
MS2_DEPRECATED bool_t | linphone_conference_params_is_audio_enabled (const LinphoneConferenceParams *params) |
Check whether audio capabilities are enabled. More... | |
bool_t | linphone_conference_params_audio_enabled (const LinphoneConferenceParams *params) |
Check whether audio capabilities are enabled. More... | |
MS2_DEPRECATED void | linphone_conference_params_set_video_enabled (LinphoneConferenceParams *params, bool_t enable) |
Enable video capabilities. More... | |
MS2_DEPRECATED bool_t | linphone_conference_params_is_video_enabled (const LinphoneConferenceParams *params) |
Check whether video capabilities are enabled. More... | |
void | linphone_conference_params_enable_video (LinphoneConferenceParams *params, bool_t enable) |
Enable video capabilities. More... | |
bool_t | linphone_conference_params_video_enabled (const LinphoneConferenceParams *params) |
Check whether video capabilities are enabled. More... | |
MS2_DEPRECATED void | linphone_conference_params_set_chat_enabled (LinphoneConferenceParams *params, bool_t enable) |
Enable chat capabilities. More... | |
void | linphone_conference_params_enable_chat (LinphoneConferenceParams *params, bool_t enable) |
Enable chat capabilities. More... | |
MS2_DEPRECATED bool_t | linphone_conference_params_is_chat_enabled (const LinphoneConferenceParams *params) |
Check whether chat capabilities are enabled. More... | |
bool_t | linphone_conference_params_chat_enabled (const LinphoneConferenceParams *params) |
Check whether chat capabilities are enabled. More... | |
LinphoneAccount * | linphone_conference_params_get_account (const LinphoneConferenceParams *params) |
Returns the account for the conference. More... | |
MS2_DEPRECATED LinphoneProxyConfig * | linphone_conference_params_get_proxy_cfg (const LinphoneConferenceParams *params) |
Returns the proxy configuration for the conference. More... | |
MS2_DEPRECATED void | linphone_conference_params_set_local_participant_enabled (LinphoneConferenceParams *params, bool_t enable) |
Enable local participant to enter the conference. More... | |
void | linphone_conference_params_enable_local_participant (LinphoneConferenceParams *params, bool_t enable) |
Enable local participant to enter the conference. More... | |
MS2_DEPRECATED bool_t | linphone_conference_params_is_local_participant_enabled (const LinphoneConferenceParams *params) |
Returns whether local participant has to enter the conference. More... | |
bool_t | linphone_conference_params_local_participant_enabled (const LinphoneConferenceParams *params) |
Returns whether local participant has to enter the conference. More... | |
MS2_DEPRECATED void | linphone_conference_params_set_one_participant_conference_enabled (LinphoneConferenceParams *params, bool_t enable) |
Enable conference with one participant. More... | |
void | linphone_conference_params_enable_one_participant_conference (LinphoneConferenceParams *params, bool_t enable) |
Enable conference with one participant. More... | |
MS2_DEPRECATED bool_t | linphone_conference_params_is_one_participant_conference_enabled (const LinphoneConferenceParams *params) |
Returns whether conference can have only one participant. More... | |
bool_t | linphone_conference_params_one_participant_conference_enabled (const LinphoneConferenceParams *params) |
Returns whether conference can have only one participant. More... | |
LinphoneConferenceSecurityLevel | linphone_conference_params_get_security_level (const LinphoneConferenceParams *params) |
Retrieve the desired security level of the conference. More... | |
void | linphone_conference_params_set_security_level (LinphoneConferenceParams *params, LinphoneConferenceSecurityLevel security_level) |
Set the desired security level of the conference. More... | |
LinphoneConference * | linphone_conference_ref (LinphoneConference *conference) |
Take a reference on a LinphoneConference. More... | |
void | linphone_conference_unref (LinphoneConference *conference) |
Release a LinphoneConference. More... | |
MS2_DEPRECATED bctbx_list_t * | linphone_conference_get_participants (const LinphoneConference *conference) |
Get URIs of all participants of one conference The returned bctbx_list_t contains URIs of all participants. More... | |
bctbx_list_t * | linphone_conference_get_participant_list (const LinphoneConference *conference) |
Get list of all participants of a conference. More... | |
bctbx_list_t * | linphone_conference_get_participant_device_list (const LinphoneConference *conference) |
Get list of all participant devices of a conference including me if it is in. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_conference_remove_participant (LinphoneConference *conference, const LinphoneAddress *uri) |
LinphoneStatus | linphone_conference_remove_participant_2 (LinphoneConference *conference, LinphoneParticipant *participant) |
MS2_DEPRECATED LinphoneStatus | linphone_conference_remove_participant_3 (LinphoneConference *conference, LinphoneCall *call) |
LinphoneParticipant * | linphone_conference_find_participant (LinphoneConference *conference, const LinphoneAddress *uri) |
Find a participant from a conference. More... | |
LinphoneStatus | linphone_conference_invite_participants (LinphoneConference *conference, const bctbx_list_t *addresses, const LinphoneCallParams *params) |
Invite participants to the conference, by supplying a list of LinphoneAddress If the conference is in the state LinphoneConferenceStateCreationPending, then the conference will start on the input and output audio devices used for the currently active call, if any. More... | |
LinphoneStatus | linphone_conference_add_participants (LinphoneConference *conference, const bctbx_list_t *calls) |
Add participants to the conference, by supplying a list of LinphoneCall. More... | |
LinphoneStatus | linphone_conference_add_participants_2 (LinphoneConference *conference, const bctbx_list_t *addresses) |
Add participants to the conference, by supplying a list of LinphoneAddress. More... | |
LinphoneStatus | linphone_conference_add_participant (LinphoneConference *conference, LinphoneCall *call) |
Join an existing call to the conference. More... | |
LinphoneStatus | linphone_conference_add_participant_2 (LinphoneConference *conference, const LinphoneAddress *uri) |
Join a participant to the conference. More... | |
int | linphone_conference_update_params (LinphoneConference *conference, const LinphoneConferenceParams *params) |
Update parameters of the conference. More... | |
const LinphoneConferenceParams * | linphone_conference_get_current_params (const LinphoneConference *conference) |
Get current parameters of the conference. More... | |
const char * | linphone_conference_get_subject (const LinphoneConference *conference) |
Get the conference subject. More... | |
void | linphone_conference_set_subject (LinphoneConference *conference, const char *subject) |
Set the conference subject. More... | |
const char * | linphone_conference_get_username (const LinphoneConference *conference) |
Get the conference username. More... | |
void | linphone_conference_set_username (LinphoneConference *conference, const char *username) |
Set the conference username. More... | |
void | linphone_conference_set_local_participant_stream_capability (LinphoneConference *conference, const LinphoneMediaDirection direction, const LinphoneStreamType type) |
Set stream capability on me device of a local conference. More... | |
int | linphone_conference_get_duration (const LinphoneConference *conference) |
Get the conference duration. More... | |
time_t | linphone_conference_get_start_time (const LinphoneConference *conference) |
Get the conference start time. More... | |
int | linphone_conference_get_participant_count (const LinphoneConference *conference) |
Get number of participants without me. More... | |
LinphoneParticipant * | linphone_conference_get_me (const LinphoneConference *conference) |
For a local audio video conference, this function returns the participant hosting the conference For a remote audio video conference, this function returns the local participant of the conference. More... | |
int | linphone_conference_terminate (LinphoneConference *conference) |
Terminates conference. More... | |
void | linphone_conference_set_participant_admin_status (LinphoneConference *conference, LinphoneParticipant *participant, bool_t is_admin) |
Change the admin status of a participant of a conference (you need to be an admin yourself to do this). More... | |
int | linphone_conference_enter (LinphoneConference *conference) |
For a local conference, the local participant joins the conference For a remote conference, the participant rejoins the conference after leaving it earlier on. More... | |
int | linphone_conference_leave (LinphoneConference *conference) |
For a local conference, the local participant leaves the conference For a remote conference, the participant leaves the conference after joining it earlier on. More... | |
bool_t | linphone_conference_is_me (const LinphoneConference *conference, const LinphoneAddress *uri) |
For a local audio video conference, this function compares the address provided as argument with that of participant hosting the conference For a remote audio video conference, this function compares the address provided as argument with that of the local participant of the conference. More... | |
bool_t | linphone_conference_is_in (const LinphoneConference *conference) |
For a local conference, it returns whether the local participant is enabled For a remote conference, it return whether the remote participant has left the conference without bein removed from it. More... | |
void | linphone_conference_set_input_audio_device (LinphoneConference *conference, LinphoneAudioDevice *audio_device) |
Sets the given LinphoneAudioDevice as input for this conference only. More... | |
void | linphone_conference_set_output_audio_device (LinphoneConference *conference, LinphoneAudioDevice *audio_device) |
Sets the given LinphoneAudioDevice as output for this conference only. More... | |
const LinphoneAudioDevice * | linphone_conference_get_input_audio_device (const LinphoneConference *conference) |
Gets the current input device for this conference. More... | |
const LinphoneAudioDevice * | linphone_conference_get_output_audio_device (const LinphoneConference *conference) |
Gets the current output device for this conference. More... | |
int | linphone_conference_get_participant_device_volume (LinphoneConference *conference, LinphoneParticipantDevice *device) |
Retrieves the volume of a specific participant. More... | |
int | linphone_conference_start_recording (LinphoneConference *conference, const char *path) |
Starts recording the conference. More... | |
int | linphone_conference_stop_recording (LinphoneConference *conference) |
Stops the conference recording. More... | |
bool_t | linphone_conference_is_recording (const LinphoneConference *conference) |
Gets whether the conference is currently being recorded. More... | |
LinphoneCall * | linphone_conference_get_call (const LinphoneConference *conference) |
Gets the call that is controlling a conference. More... | |
bool_t | linphone_conference_get_microphone_muted (const LinphoneConference *conference) |
Retrieves the volume of a specific participant. More... | |
void | linphone_conference_set_microphone_muted (LinphoneConference *conference, bool_t muted) |
Get microphone muted state. More... | |
float | linphone_conference_get_input_volume (const LinphoneConference *conference) |
Retrieves the volume of a specific participant. More... | |
MS2_DEPRECATED const char * | linphone_conference_get_ID (const LinphoneConference *conference) |
Get the conference id as string. More... | |
MS2_DEPRECATED void | linphone_conference_set_ID (LinphoneConference *conference, const char *conference_id) |
Set the conference id as string. More... | |
LinphoneConference * | linphone_local_conference_new (LinphoneCore *core, LinphoneAddress *addr) |
LinphoneConference * | linphone_local_conference_new_with_params (LinphoneCore *core, LinphoneAddress *addr, const LinphoneConferenceParams *params) |
LinphoneConference * | linphone_remote_conference_new (LinphoneCore *core, LinphoneAddress *addr) |
LinphoneConference * | linphone_remote_conference_new_with_params (LinphoneCore *core, LinphoneAddress *focus, LinphoneAddress *addr, const LinphoneConferenceParams *params) |
AudioStream * | linphone_conference_get_audio_stream (LinphoneConference *conference) |
void | linphone_conference_on_call_terminating (LinphoneConference *conference, LinphoneCall *call) |
bool_t | linphone_conference_check_class (LinphoneConference *conference, LinphoneConferenceClass _class) |
void | linphone_conference_notify_audio_device_changed (LinphoneConference *conference, LinphoneAudioDevice *audio_device) |
const LinphoneAddress * | linphone_core_get_current_call_remote_address (LinphoneCore *core) |
Get the remote address of the current call. More... | |
LinphoneSupportLevel | linphone_core_get_tag_100rel_support_level (const LinphoneCore *core) |
Get the support level of the 100rel attribute. More... | |
void | linphone_core_set_tag_100rel_support_level (LinphoneCore *core, LinphoneSupportLevel level) |
Define what level of support is provided to the 100rel attribute. More... | |
LinphoneCall * | linphone_core_invite (LinphoneCore *core, const char *url) |
Initiates an outgoing call. More... | |
LinphoneCall * | linphone_core_invite_address (LinphoneCore *core, const LinphoneAddress *addr) |
Initiates an outgoing call given a destination LinphoneAddress The LinphoneAddress can be constructed directly using linphone_factory_create_address(), or created by linphone_core_interpret_url_2(). More... | |
LinphoneCall * | linphone_core_invite_with_params (LinphoneCore *core, const char *url, const LinphoneCallParams *params) |
Initiates an outgoing call according to supplied call parameters The application doesn't own a reference to the returned LinphoneCall object. More... | |
LinphoneCall * | linphone_core_invite_address_with_params (LinphoneCore *core, const LinphoneAddress *addr, const LinphoneCallParams *params) |
Initiates an outgoing call given a destination LinphoneAddress The LinphoneAddress can be constructed directly using linphone_factory_create_address(), or created by linphone_core_interpret_url_2(). More... | |
LinphoneCall * | linphone_core_invite_address_with_params_2 (LinphoneCore *lc, const LinphoneAddress *addr, const LinphoneCallParams *params, const char *subject, const LinphoneContent *content) |
Initiates an outgoing call given a destination LinphoneAddress The LinphoneAddress can be constructed directly using linphone_factory_create_address(), or created by linphone_core_interpret_url_2(). More... | |
bool_t | linphone_core_is_incoming_invite_pending (LinphoneCore *core) |
Tells whether there is an incoming invite pending. More... | |
bool_t | linphone_core_in_call (const LinphoneCore *core) |
Tells whether there is a call running. More... | |
LinphoneCall * | linphone_core_get_current_call (const LinphoneCore *core) |
Gets the current call. More... | |
LinphoneStatus | linphone_core_terminate_all_calls (LinphoneCore *core) |
Terminates all the calls. More... | |
LinphoneStatus | linphone_core_pause_all_calls (LinphoneCore *core) |
Pause all currently running calls. More... | |
LinphoneCallParams * | linphone_core_create_call_params (LinphoneCore *core, LinphoneCall *call) |
Create a LinphoneCallParams suitable for linphone_core_invite_with_params(), linphone_core_accept_call_with_params(), linphone_core_accept_early_media_with_params() or linphone_core_accept_call_update(). More... | |
LinphoneCall * | linphone_core_get_call_by_remote_address2 (const LinphoneCore *core, const LinphoneAddress *remote_address) |
Get the call with the specified LinphoneAddress. More... | |
void | linphone_core_set_inc_timeout (LinphoneCore *core, int seconds) |
Set the incoming call timeout in seconds. More... | |
int | linphone_core_get_inc_timeout (LinphoneCore *core) |
Returns the incoming call timeout See linphone_core_set_inc_timeout() for details. More... | |
void | linphone_core_set_push_incoming_call_timeout (LinphoneCore *core, int seconds) |
Configure the minimum interval between a push notification and the corresponding incoming INVITE. More... | |
int | linphone_core_get_push_incoming_call_timeout (const LinphoneCore *core) |
Returns the push incoming call timeout See linphone_core_set_push_incoming_call_timeout() for details. More... | |
void | linphone_core_set_in_call_timeout (LinphoneCore *core, int seconds) |
Set the in call timeout in seconds. More... | |
int | linphone_core_get_in_call_timeout (LinphoneCore *core) |
Gets the in call timeout See linphone_core_set_in_call_timeout() for details. More... | |
void | linphone_core_set_delayed_timeout (LinphoneCore *core, int seconds) |
Set the in delayed timeout in seconds. More... | |
int | linphone_core_get_delayed_timeout (LinphoneCore *core) |
Gets the delayed timeout See linphone_core_set_delayed_timeout() for details. More... | |
int | linphone_core_get_calls_nb (const LinphoneCore *core) |
Get the number of Call. More... | |
const bctbx_list_t * | linphone_core_get_calls (LinphoneCore *core) |
Gets the current list of calls. More... | |
LinphoneCall * | linphone_core_get_call_by_callid (const LinphoneCore *core, const char *call_id) |
Get the call by callid. More... | |
int | linphone_core_preempt_sound_resources (LinphoneCore *core) |
Empties sound resources to allow a new call to be accepted. More... | |
void | linphone_core_set_media_resource_mode (LinphoneCore *core, LinphoneMediaResourceMode mode) |
Sets the media resources mode. More... | |
LinphoneMediaResourceMode | linphone_core_get_media_resource_mode (const LinphoneCore *core) |
This function returns the media resource mode for this core. More... | |
bool_t | linphone_core_sound_resources_locked (LinphoneCore *core) |
Check if a call will need the sound resources in near future (typically an outgoing call that is awaiting response). More... | |
LinphoneCall * | linphone_core_find_call_from_uri (const LinphoneCore *core, const char *uri) |
Search from the list of current calls if a remote address match uri. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_transfer_call (LinphoneCore *core, LinphoneCall *call, const char *refer_to) |
Performs a simple call transfer to the specified destination. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_transfer_call_to_another (LinphoneCore *core, LinphoneCall *call, LinphoneCall *dest) |
Transfers a call to destination of another running call. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_accept_call (LinphoneCore *core, LinphoneCall *call) |
Accept an incoming call. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_accept_call_with_params (LinphoneCore *core, LinphoneCall *call, const LinphoneCallParams *params) |
Accept an incoming call, with parameters. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_accept_early_media_with_params (LinphoneCore *core, LinphoneCall *call, const LinphoneCallParams *params) |
When receiving an incoming, accept to start a media session as early-media. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_accept_early_media (LinphoneCore *core, LinphoneCall *call) |
Accept an early media session for an incoming call. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_terminate_call (LinphoneCore *core, LinphoneCall *call) |
Terminates a call. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_redirect_call (LinphoneCore *core, LinphoneCall *call, const char *redirect_uri) |
Redirect the specified call to the given redirect URI. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_decline_call (LinphoneCore *core, LinphoneCall *call, LinphoneReason reason) |
Decline a pending incoming call, with a reason. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_pause_call (LinphoneCore *core, LinphoneCall *call) |
Pauses the call. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_resume_call (LinphoneCore *core, LinphoneCall *call) |
Resumes a call. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_update_call (LinphoneCore *core, LinphoneCall *call, const LinphoneCallParams *params) |
Updates a running call according to supplied call parameters or parameters changed in the LinphoneCore. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_defer_call_update (LinphoneCore *core, LinphoneCall *call) |
When receiving a #LinphoneCallUpdatedByRemote state notification, prevent LinphoneCore from performing an automatic answer. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_accept_call_update (LinphoneCore *core, LinphoneCall *call, const LinphoneCallParams *params) |
Accept call modifications initiated by other end. More... | |
MS2_DEPRECATED LinphoneCall * | linphone_core_get_call_by_remote_address (const LinphoneCore *core, const char *remote_address) |
Get the call with the remote_address specified. More... | |
LinphonePlayer * | linphone_player_ref (LinphonePlayer *player) |
Acquire a reference to the player. More... | |
void | linphone_player_unref (LinphonePlayer *player) |
Release reference to the player. More... | |
void * | linphone_player_get_user_data (const LinphonePlayer *player) |
Retrieve the user pointer associated with the player. More... | |
void | linphone_player_set_user_data (LinphonePlayer *player, void *user_data) |
Assign a user pointer to the player. More... | |
void | linphone_player_add_callbacks (LinphonePlayer *player, LinphonePlayerCbs *cbs) |
Adds a LinphonePlayerCbs object associated to the LinphonePlayer. More... | |
void | linphone_player_remove_callbacks (LinphonePlayer *player, LinphonePlayerCbs *cbs) |
Removes a LinphonePlayerCbs object associated to the LinphonePlayer. More... | |
LinphonePlayerCbs * | linphone_player_get_current_callbacks (const LinphonePlayer *player) |
Returns the current LinphonePlayerCbsCbs object. More... | |
LinphoneStatus | linphone_player_open (LinphonePlayer *player, const char *filename) |
Open a file for playing. More... | |
LinphoneStatus | linphone_player_start (LinphonePlayer *player) |
Start playing a file that has been opened with linphone_player_open(). More... | |
LinphoneStatus | linphone_player_pause (LinphonePlayer *player) |
Pause the playing of a file. More... | |
LinphoneStatus | linphone_player_seek (LinphonePlayer *player, int time_ms) |
Seek in an opened file. More... | |
LinphonePlayerState | linphone_player_get_state (LinphonePlayer *player) |
Get the current state of a player. More... | |
int | linphone_player_get_duration (LinphonePlayer *player) |
Get the duration of the opened file. More... | |
int | linphone_player_get_current_position (LinphonePlayer *player) |
Get the current position in the opened file. More... | |
void | linphone_player_close (LinphonePlayer *player) |
Close the opened file. More... | |
void | linphone_player_set_window_id (LinphonePlayer *player, void *window_id) |
Sets a window id to be used to display video if any. More... | |
void * | linphone_player_create_window_id (LinphonePlayer *player) |
Create a window id to be used to display video if any. More... | |
bool_t | linphone_player_get_is_video_available (LinphonePlayer *player) |
Returns whether the file has video and if it can be displayed. More... | |
void | linphone_player_set_volume_gain (LinphonePlayer *player, float gain) |
Set the volume gain of the player. More... | |
float | linphone_player_get_volume_gain (LinphonePlayer *player) |
Get the volume gain of the player. More... | |
LinphoneCore * | linphone_player_get_core (const LinphonePlayer *player) |
Returns the LinphoneCore object managing this player's call, if any. More... | |
LinphonePlayerCbs * | linphone_player_cbs_ref (LinphonePlayerCbs *cbs) |
Acquire a reference to the LinphonePlayerCbs object. More... | |
void | linphone_player_cbs_unref (LinphonePlayerCbs *cbs) |
Release reference to the LinphonePlayerCbs object. More... | |
void * | linphone_player_cbs_get_user_data (const LinphonePlayerCbs *cbs) |
Retrieve the user pointer associated with the LinphonePlayerCbs object. More... | |
void | linphone_player_cbs_set_user_data (LinphonePlayerCbs *cbs, void *user_data) |
Assign a user pointer to the LinphonePlayerCbs object. More... | |
LinphonePlayerCbsEofReachedCb | linphone_player_cbs_get_eof_reached (const LinphonePlayerCbs *cbs) |
Get the end-of-file reached callback. More... | |
void | linphone_player_cbs_set_eof_reached (LinphonePlayerCbs *cbs, LinphonePlayerCbsEofReachedCb cb) |
Set the end-of-file reached callback. More... | |
MS2_DEPRECATED LinphonePlayerCbs * | linphone_player_get_callbacks (const LinphonePlayer *player) |
Get the LinphonePlayerCbs object associated with the LinphonePlayer. More... | |
LinphoneCallCbs * | linphone_call_cbs_ref (LinphoneCallCbs *cbs) |
Acquire a reference to the LinphoneCallCbs object. More... | |
void | linphone_call_cbs_unref (LinphoneCallCbs *cbs) |
Release reference to the LinphoneCallCbs object. More... | |
void * | linphone_call_cbs_get_user_data (const LinphoneCallCbs *cbs) |
Retrieve the user pointer associated with the LinphoneCallCbs object. More... | |
void | linphone_call_cbs_set_user_data (LinphoneCallCbs *cbs, void *user_data) |
Assign a user pointer to the LinphoneCallCbs object. More... | |
LinphoneCallCbsDtmfReceivedCb | linphone_call_cbs_get_dtmf_received (LinphoneCallCbs *cbs) |
Get the dtmf received callback. More... | |
void | linphone_call_cbs_set_dtmf_received (LinphoneCallCbs *cbs, LinphoneCallCbsDtmfReceivedCb cb) |
Set the dtmf received callback. More... | |
LinphoneCallCbsGoClearAckSentCb | linphone_call_cbs_get_goclear_ack_sent (LinphoneCallCbs *cbs) |
Get the GoClear Ack sent callback. More... | |
void | linphone_call_cbs_set_goclear_ack_sent (LinphoneCallCbs *cbs, LinphoneCallCbsGoClearAckSentCb cb) |
Set the GoClear Ack sent callback. More... | |
LinphoneCallCbsEncryptionChangedCb | linphone_call_cbs_get_encryption_changed (LinphoneCallCbs *cbs) |
Get the encryption changed callback. More... | |
void | linphone_call_cbs_set_encryption_changed (LinphoneCallCbs *cbs, LinphoneCallCbsEncryptionChangedCb cb) |
Set the encryption changed callback. More... | |
LinphoneCallCbsSendMasterKeyChangedCb | linphone_call_cbs_get_send_master_key_changed (LinphoneCallCbs *cbs) |
Get the send master key changed callback. More... | |
void | linphone_call_cbs_set_send_master_key_changed (LinphoneCallCbs *cbs, LinphoneCallCbsSendMasterKeyChangedCb cb) |
Set the send master key changed callback. More... | |
LinphoneCallCbsReceiveMasterKeyChangedCb | linphone_call_cbs_get_receive_master_key_changed (LinphoneCallCbs *cbs) |
Get the receive master key changed callback. More... | |
void | linphone_call_cbs_set_receive_master_key_changed (LinphoneCallCbs *cbs, LinphoneCallCbsReceiveMasterKeyChangedCb cb) |
Set the receive master key changed callback. More... | |
LinphoneCallCbsInfoMessageReceivedCb | linphone_call_cbs_get_info_message_received (LinphoneCallCbs *cbs) |
Get the info message received callback. More... | |
void | linphone_call_cbs_set_info_message_received (LinphoneCallCbs *cbs, LinphoneCallCbsInfoMessageReceivedCb cb) |
Set the info message received callback. More... | |
LinphoneCallCbsStateChangedCb | linphone_call_cbs_get_state_changed (LinphoneCallCbs *cbs) |
Get the state changed callback. More... | |
void | linphone_call_cbs_set_state_changed (LinphoneCallCbs *cbs, LinphoneCallCbsStateChangedCb cb) |
Set the state changed callback. More... | |
LinphoneCallCbsStatsUpdatedCb | linphone_call_cbs_get_stats_updated (LinphoneCallCbs *cbs) |
Get the stats updated callback. More... | |
void | linphone_call_cbs_set_stats_updated (LinphoneCallCbs *cbs, LinphoneCallCbsStatsUpdatedCb cb) |
Set the stats updated callback. More... | |
LinphoneCallCbsTransferStateChangedCb | linphone_call_cbs_get_transfer_state_changed (LinphoneCallCbs *cbs) |
Get the transfer state changed callback. More... | |
void | linphone_call_cbs_set_transfer_state_changed (LinphoneCallCbs *cbs, LinphoneCallCbsTransferStateChangedCb cb) |
Set the transfer state changed callback. More... | |
LinphoneCallCbsAckProcessingCb | linphone_call_cbs_get_ack_processing (LinphoneCallCbs *cbs) |
Get the ACK processing callback. More... | |
void | linphone_call_cbs_set_ack_processing (LinphoneCallCbs *cbs, LinphoneCallCbsAckProcessingCb cb) |
Set ACK processing callback. More... | |
LinphoneCallCbsTmmbrReceivedCb | linphone_call_cbs_get_tmmbr_received (LinphoneCallCbs *cbs) |
Get the TMMBR received callback. More... | |
void | linphone_call_cbs_set_tmmbr_received (LinphoneCallCbs *cbs, LinphoneCallCbsTmmbrReceivedCb cb) |
Set the TMMBR received callback. More... | |
LinphoneCallCbsSnapshotTakenCb | linphone_call_cbs_get_snapshot_taken (LinphoneCallCbs *cbs) |
Get the snapshot taken callback. More... | |
void | linphone_call_cbs_set_snapshot_taken (LinphoneCallCbs *cbs, LinphoneCallCbsSnapshotTakenCb cb) |
Set the snapshot taken callback. More... | |
LinphoneCallCbsNextVideoFrameDecodedCb | linphone_call_cbs_get_next_video_frame_decoded (LinphoneCallCbs *cbs) |
Get the next video frame decoded callback. More... | |
void | linphone_call_cbs_set_next_video_frame_decoded (LinphoneCallCbs *cbs, LinphoneCallCbsNextVideoFrameDecodedCb cb) |
Set the next video frame decoded callback. More... | |
LinphoneCallCbsCameraNotWorkingCb | linphone_call_cbs_get_camera_not_working (LinphoneCallCbs *cbs) |
Get the camera not working callback. More... | |
void | linphone_call_cbs_set_camera_not_working (LinphoneCallCbs *cbs, LinphoneCallCbsCameraNotWorkingCb cb) |
Set the camera not working callback. More... | |
LinphoneCallCbsVideoDisplayErrorOccurredCb | linphone_call_cbs_get_video_display_error_occurred (LinphoneCallCbs *cbs) |
Get the callback that will be used to notify that there are errors from the video rendering. More... | |
void | linphone_call_cbs_set_video_display_error_occurred (LinphoneCallCbs *cbs, LinphoneCallCbsVideoDisplayErrorOccurredCb cb) |
Set the callback that will be used to notify that there are errors from the video rendering. More... | |
LinphoneCallCbsAudioDeviceChangedCb | linphone_call_cbs_get_audio_device_changed (LinphoneCallCbs *cbs) |
Get the audio device changed callback. More... | |
void | linphone_call_cbs_set_audio_device_changed (LinphoneCallCbs *cbs, LinphoneCallCbsAudioDeviceChangedCb cb) |
Set the audio device changed callback. More... | |
void | linphone_call_cbs_set_remote_recording (LinphoneCallCbs *cbs, LinphoneCallCbsRemoteRecordingCb cb) |
Set the call remote recording callback. More... | |
LinphoneCallCbsRemoteRecordingCb | linphone_call_cbs_get_remote_recording (LinphoneCallCbs *cbs) |
Get the call remote recording callback. More... | |
LinphoneCall * | linphone_call_ref (LinphoneCall *call) |
Acquire a reference to the call. More... | |
void | linphone_call_unref (LinphoneCall *call) |
Release reference to the call. More... | |
void * | linphone_call_get_user_data (const LinphoneCall *call) |
Retrieve the user pointer associated with the call. More... | |
void | linphone_call_set_user_data (LinphoneCall *call, void *user_data) |
Assign a user pointer to the call. More... | |
LinphoneCore * | linphone_call_get_core (const LinphoneCall *call) |
Get the core that has created the specified call. More... | |
LinphoneCallState | linphone_call_get_state (const LinphoneCall *call) |
Retrieves the call's current state. More... | |
bool_t | linphone_call_asked_to_autoanswer (LinphoneCall *call) |
Tell whether a call has been asked to autoanswer. More... | |
const LinphoneAddress * | linphone_call_get_remote_address (const LinphoneCall *call) |
Returns the remote address associated to this call. More... | |
const LinphoneAddress * | linphone_call_get_to_address (const LinphoneCall *call) |
Returns the to address with its headers associated to this call. More... | |
const LinphoneAddress * | linphone_call_get_request_address (const LinphoneCall *call) |
The address to which the call has been sent, taken directly from the SIP URI of the INVITE. More... | |
const char * | linphone_call_get_to_header (const LinphoneCall *call, const char *header_name) |
Returns the value of the header name. More... | |
const LinphoneAddress * | linphone_call_get_diversion_address (const LinphoneCall *call) |
Returns the diversion address associated to this call. More... | |
LinphoneCallDir | linphone_call_get_dir (const LinphoneCall *call) |
Returns direction of the call (incoming or outgoing). More... | |
LinphoneCallLog * | linphone_call_get_call_log (const LinphoneCall *call) |
Gets the call log associated to this call. More... | |
const char * | linphone_call_get_refer_to (const LinphoneCall *call) |
Gets the refer-to uri (if the call was transfered). More... | |
bool_t | linphone_call_has_transfer_pending (const LinphoneCall *call) |
Returns if this calls has received a transfer that has not been executed yet. More... | |
LinphoneCall * | linphone_call_get_transferer_call (const LinphoneCall *call) |
Gets the transferer if this call was started automatically as a result of an incoming transfer request. More... | |
LinphoneCall * | linphone_call_get_transfer_target_call (const LinphoneCall *call) |
When this call has received a transfer request, returns the new call that was automatically created as a result of the transfer. More... | |
LinphoneCall * | linphone_call_get_replaced_call (LinphoneCall *call) |
Returns the call object this call is replacing, if any. More... | |
int | linphone_call_get_duration (const LinphoneCall *call) |
Returns call's duration in seconds. More... | |
const LinphoneCallParams * | linphone_call_get_current_params (const LinphoneCall *call) |
Returns current parameters associated to the call. More... | |
const LinphoneCallParams * | linphone_call_get_remote_params (const LinphoneCall *call) |
Returns call parameters proposed by remote. More... | |
void | linphone_call_enable_camera (LinphoneCall *call, bool_t enabled) |
Indicate whether camera input should be sent to remote end. More... | |
bool_t | linphone_call_camera_enabled (const LinphoneCall *call) |
Returns if camera pictures are allowed to be sent to the remote party. More... | |
LinphoneStatus | linphone_call_take_video_snapshot (LinphoneCall *call, const char *file_path) |
Take a photo of currently received video and write it into a jpeg file. More... | |
LinphoneStatus | linphone_call_take_preview_snapshot (LinphoneCall *call, const char *file_path) |
Take a photo of currently captured video and write it into a jpeg file. More... | |
LinphoneReason | linphone_call_get_reason (const LinphoneCall *call) |
Returns the reason for a call termination (either error or normal termination) More... | |
const LinphoneErrorInfo * | linphone_call_get_error_info (const LinphoneCall *call) |
Returns full details about call errors or termination reasons. More... | |
const char * | linphone_call_get_remote_user_agent (LinphoneCall *call) |
Returns the far end's user agent description string, if available. More... | |
const LinphoneAddress * | linphone_call_get_remote_contact_address (LinphoneCall *call) |
Returns the far end's sip contact as an address, if available. More... | |
const char * | linphone_call_get_remote_contact (LinphoneCall *call) |
Returns the far end's sip contact as a string, if available. More... | |
const char * | linphone_call_get_authentication_token (LinphoneCall *call) |
Returns the ZRTP authentication token to verify. More... | |
bool_t | linphone_call_get_authentication_token_verified (const LinphoneCall *call) |
Returns whether ZRTP authentication token is verified. More... | |
void | linphone_call_set_authentication_token_verified (LinphoneCall *call, bool_t verified) |
Set the result of ZRTP short code verification by user. More... | |
void | linphone_call_send_vfu_request (LinphoneCall *call) |
Request remote side to send us a Video Fast Update. More... | |
void | linphone_call_request_notify_next_video_frame_decoded (LinphoneCall *call) |
Request the callback passed to linphone_call_cbs_set_next_video_frame_decoded() to be called the next time the video decoder properly decodes a video frame. More... | |
LinphoneCallState | linphone_call_get_transfer_state (LinphoneCall *call) |
Returns the current transfer state, if a transfer has been initiated from this call. More... | |
void | linphone_call_zoom (LinphoneCall *call, float zoom_factor, float cx, float cy) |
Perform a zoom of the video displayed during a call. More... | |
LinphoneStatus | linphone_call_send_dtmf (LinphoneCall *call, char dtmf) |
Send the specified dtmf. More... | |
LinphoneStatus | linphone_call_send_dtmfs (LinphoneCall *call, const char *dtmfs) |
Send a list of dtmf. More... | |
void | linphone_call_cancel_dtmfs (LinphoneCall *call) |
Stop current DTMF sequence sending. More... | |
LinphoneConference * | linphone_call_get_conference (const LinphoneCall *call) |
Return the associated conference object. More... | |
int | linphone_call_get_stream_count (const LinphoneCall *call) |
Returns the number of stream for the given call. More... | |
MSFormatType | linphone_call_get_stream_type (const LinphoneCall *call, int stream_index) |
Returns the type of stream for the given stream index. More... | |
RtpTransport * | linphone_call_get_meta_rtp_transport (const LinphoneCall *call, int stream_index) |
Returns the meta rtp transport for the given stream index. More... | |
RtpTransport * | linphone_call_get_meta_rtcp_transport (const LinphoneCall *call, int stream_index) |
Returns the meta rtcp transport for the given stream index. More... | |
LinphoneStatus | linphone_call_pause (LinphoneCall *call) |
Pauses the call. More... | |
LinphoneStatus | linphone_call_resume (LinphoneCall *call) |
Resumes a call. More... | |
LinphoneStatus | linphone_call_terminate (LinphoneCall *call) |
Terminates a call. More... | |
LinphoneStatus | linphone_call_terminate_with_error_info (LinphoneCall *call, const LinphoneErrorInfo *ei) |
Terminates a call. More... | |
LinphoneStatus | linphone_call_redirect_to (LinphoneCall *call, LinphoneAddress *redirect_address) |
Redirect the specified call to the given redirect Address. More... | |
LinphoneStatus | linphone_call_decline (LinphoneCall *call, LinphoneReason reason) |
Decline a pending incoming call, with a reason. More... | |
int | linphone_call_decline_with_error_info (LinphoneCall *call, const LinphoneErrorInfo *ei) |
Decline a pending incoming call, with a LinphoneErrorInfo object. More... | |
LinphoneStatus | linphone_call_accept (LinphoneCall *call) |
Accept an incoming call. More... | |
LinphoneStatus | linphone_call_accept_with_params (LinphoneCall *call, const LinphoneCallParams *params) |
Accept an incoming call, with parameters. More... | |
LinphoneStatus | linphone_call_accept_early_media (LinphoneCall *call) |
Accept an early media session for an incoming call. More... | |
LinphoneStatus | linphone_call_accept_early_media_with_params (LinphoneCall *call, const LinphoneCallParams *params) |
When receiving an incoming, accept to start a media session as early-media. More... | |
LinphoneStatus | linphone_call_update (LinphoneCall *call, const LinphoneCallParams *params) |
Updates a running call according to supplied call parameters or parameters changed in the LinphoneCore. More... | |
LinphoneStatus | linphone_call_defer_update (LinphoneCall *call) |
When receiving a #LinphoneCallUpdatedByRemote state notification, prevent LinphoneCore from performing an automatic answer. More... | |
LinphoneStatus | linphone_call_accept_update (LinphoneCall *call, const LinphoneCallParams *params) |
Accept call modifications initiated by other end. More... | |
LinphoneStatus | linphone_call_transfer_to (LinphoneCall *call, LinphoneAddress *refer_to) |
Performs a simple call transfer to the specified destination. More... | |
LinphoneStatus | linphone_call_transfer_to_another (LinphoneCall *call, LinphoneCall *dest) |
Transfers a call to destination of another running call. More... | |
LinphoneEventCbs * | linphone_event_cbs_new (void) |
LinphoneEventCbs * | linphone_event_cbs_ref (LinphoneEventCbs *cbs) |
Acquire a reference to a LinphoneEventCbs object. More... | |
void | linphone_event_cbs_unref (LinphoneEventCbs *cbs) |
Release a reference to a LinphoneEventCbs object. More... | |
void * | linphone_event_cbs_get_user_data (const LinphoneEventCbs *cbs) |
Retrieve the user pointer associated with a LinphoneEventCbs object. More... | |
void | linphone_event_cbs_set_user_data (LinphoneEventCbs *cbs, void *user_data) |
Assign a user pointer to a LinphoneEventCbs object. More... | |
LinphoneEventCbsNotifyResponseCb | linphone_event_cbs_get_notify_response (const LinphoneEventCbs *cbs) |
Get the notify response callback. More... | |
void | linphone_event_cbs_set_notify_response (LinphoneEventCbs *cbs, LinphoneEventCbsNotifyResponseCb cb) |
Set the notify response callback. More... | |
LinphoneVideoSourceDescriptor * | linphone_video_source_descriptor_new (void) |
Create a new LinphoneVideoSourceDescriptor object. More... | |
LinphoneVideoSourceDescriptor * | linphone_video_source_descriptor_clone (const LinphoneVideoSourceDescriptor *descriptor) |
Instantiate a new video source descriptor with values from source. More... | |
LinphoneVideoSourceDescriptor * | linphone_video_source_descriptor_ref (LinphoneVideoSourceDescriptor *descriptor) |
Take a reference on a LinphoneVideoSourceDescriptor. More... | |
void | linphone_video_source_descriptor_unref (LinphoneVideoSourceDescriptor *descriptor) |
Release a LinphoneVideoSourceDescriptor. More... | |
LinphoneVideoSourceType | linphone_video_source_descriptor_get_type (const LinphoneVideoSourceDescriptor *descriptor) |
Gets the type of a LinphoneVideoSourceDescriptor. More... | |
LinphoneCall * | linphone_video_source_descriptor_get_call (const LinphoneVideoSourceDescriptor *descriptor) |
Gets the call of a LinphoneVideoSourceDescriptor. More... | |
void | linphone_video_source_descriptor_set_call (LinphoneVideoSourceDescriptor *descriptor, LinphoneCall *call) |
Sets the source of a LinphoneVideoSourceDescriptor with a call. More... | |
const char * | linphone_video_source_descriptor_get_camera_id (const LinphoneVideoSourceDescriptor *descriptor) |
Gets the camera id of a LinphoneVideoSourceDescriptor. More... | |
void | linphone_video_source_descriptor_set_camera_id (LinphoneVideoSourceDescriptor *descriptor, const char *camera_id) |
Sets the source of a LinphoneVideoSourceDescriptor with a camera id. More... | |
const char * | linphone_video_source_descriptor_get_image (const LinphoneVideoSourceDescriptor *descriptor) |
Gets the image path of a LinphoneVideoSourceDescriptor. More... | |
void | linphone_video_source_descriptor_set_image (LinphoneVideoSourceDescriptor *descriptor, const char *image_path) |
Sets the source of a LinphoneVideoSourceDescriptor with an image path. More... | |
Placing and receiving calls.
The LinphoneCall object represents an incoming or outgoing call managed by the LinphoneCore.
typedef struct _LinphoneCall LinphoneCall |
This object represents a call issued or received by the LinphoneCore.
Linphone only allows at most one active call at any given time and it will be in LinphoneCallStateStreamsRunning. However, if the core is locally hosting a LinphoneConference, you may have some or all the calls in the conference in LinphoneCallStateStreamsRunning as well as an additional active call outside of the conference in LinphoneCallStateStreamsRunning if the local participant of the LinphoneConference is not part of it.
You can get the LinphoneCallState of the call using linphone_call_get_state(), it's current LinphoneCallParams with linphone_call_get_current_params() and the latest statistics by calling linphone_call_get_audio_stats() or linphone_call_get_video_stats().
typedef struct _LinphoneCallCbs LinphoneCallCbs |
That class holds all the callbacks which are called by LinphoneCall objects.
Use linphone_factory_create_call_cbs() to create an instance. Then, call the callback setters on the events you need to monitor and pass the object to a LinphoneCall instance through linphone_call_add_callbacks().
typedef void(* LinphoneCallCbsAckProcessingCb) (LinphoneCall *call, LinphoneHeaders *ack, bool_t is_received) |
Callback for notifying the processing SIP ACK messages.
call | LinphoneCall for which an ACK is being received or sent |
ack | the ACK LinphoneHeaders |
is_received | if TRUE this ACK is an incoming one, otherwise it is an ACK about to be sent. |
typedef void(* LinphoneCallCbsAudioDeviceChangedCb) (LinphoneCall *call, LinphoneAudioDevice *audio_device) |
Callback to notify that the audio device has been changed.
call | LinphoneCall for which the audio device has changed |
audio_device | the new audio device used for this call |
typedef void(* LinphoneCallCbsCameraNotWorkingCb) (LinphoneCall *call, const char *camera_name) |
Callback to notify that the camera is not working and has been changed to "No Webcam".
A camera is detected as mis-functionning as soon as it outputs no frames at all during a period of 5 seconds. This check is only performed on desktop platforms, in the purpose of notifying camera failures, for example if when a usb cable gets disconnected.
call | LinphoneCall for which the next video frame has been decoded |
camera_name | the name of the non-working camera |
typedef void(* LinphoneCallCbsDtmfReceivedCb) (LinphoneCall *call, int dtmf) |
Callback for being notified of received DTMFs.
call | LinphoneCall object that received the dtmf |
dtmf | The ascii code of the dtmf |
typedef void(* LinphoneCallCbsEncryptionChangedCb) (LinphoneCall *call, bool_t on, const char *authentication_token) |
Call encryption changed callback.
call | LinphoneCall object whose encryption is changed. |
on | Whether encryption is activated. |
authentication_token | An authentication_token, currently set for ZRTP kind of encryption only. |
typedef void(* LinphoneCallCbsGoClearAckSentCb) (LinphoneCall *call) |
GoClear ACK sent callback.
call | the LinphoneCall on which the GoClear ACK was sent. |
typedef void(* LinphoneCallCbsInfoMessageReceivedCb) (LinphoneCall *call, const LinphoneInfoMessage *message) |
Callback for receiving info messages.
call | LinphoneCall whose info message belongs to. |
message | LinphoneInfoMessage object. |
typedef void(* LinphoneCallCbsNextVideoFrameDecodedCb) (LinphoneCall *call) |
Callback to notify a next video frame has been decoded.
call | LinphoneCall for which the next video frame has been decoded |
typedef void(* LinphoneCallCbsReceiveMasterKeyChangedCb) (LinphoneCall *call, const char *receive_master_key) |
Call receive master key changed callback.
call | LinphoneCall object whose encryption is changed. |
master_key | The receive master key of the SRTP session. |
typedef void(* LinphoneCallCbsRemoteRecordingCb) (LinphoneCall *call, bool_t recording) |
Callback to notify that the call is being recorded by the remote.
call | LinphoneCall for which the audio is recorded |
recording | TRUE if the call is being recorded by the remote, FALSE otherwise |
typedef void(* LinphoneCallCbsSendMasterKeyChangedCb) (LinphoneCall *call, const char *send_master_key) |
Call send master key changed callback.
call | LinphoneCall object whose encryption is changed. |
master_key | The send master key of the SRTP session. |
typedef void(* LinphoneCallCbsSnapshotTakenCb) (LinphoneCall *call, const char *file_path) |
Callback for notifying a snapshot taken.
call | LinphoneCall for which the snapshot was taken |
file_path | the name of the saved file |
typedef void(* LinphoneCallCbsStateChangedCb) (LinphoneCall *call, LinphoneCallState state, const char *message) |
Call state notification callback.
call | LinphoneCall whose state is changed. |
state | The new LinphoneCallState of the call |
message | An informational message about the state. |
typedef void(* LinphoneCallCbsStatsUpdatedCb) (LinphoneCall *call, const LinphoneCallStats *stats) |
Callback for receiving quality statistics for calls.
call | LinphoneCall object whose statistics are notified |
stats | LinphoneCallStats object |
typedef void(* LinphoneCallCbsTmmbrReceivedCb) (LinphoneCall *call, int stream_index, int tmmbr) |
Callback for notifying a received TMMBR.
call | LinphoneCall for which the TMMBR has changed |
stream_index | the index of the current stream |
tmmbr | the value of the received TMMBR |
typedef void(* LinphoneCallCbsTransferStateChangedCb) (LinphoneCall *call, LinphoneCallState state) |
Callback for notifying progresses of transfers.
call | LinphoneCall that was transfered |
state | The LinphoneCallState of the call to transfer target at the far end. |
typedef void(* LinphoneCallCbsVideoDisplayErrorOccurredCb) (LinphoneCall *call, int error_code) |
Callback to notify that there are errors from the video rendering.
The error code depends of the implementation.
EGL_CONTEXT_LOST
, it is recommanded to restart the Window ID with **_create_native_**_video_window_id() and **_set_native_**_video_window_id() functions.call | LinphoneCall |
error_code | error code from render. It depends of the renderer. |
typedef struct _LinphoneCallParams LinphoneCallParams |
An object containing various parameters of a LinphoneCall.
You can specify your params while answering an incoming call using linphone_call_accept_with_params() or while initiating an outgoing call with linphone_core_invite_address_with_params().
This object can be created using linphone_core_create_call_params(), using NULL for the call pointer if you plan to use it for an outgoing call.
For each call, three LinphoneCallParams are available: yours, your correspondent's and the one that describe the current state of the call that is the result of the negociation between the previous two. For example, you might enable a certain feature in your call param but this feature can be denied in the remote's configuration, hence the difference.
typedef enum _LinphoneCallState LinphoneCallState |
LinphoneCallState enum represents the different states a call can reach into.
The application is notified of a state change through the LinphoneCoreVTable::call_state_changed callback.
typedef void(* LinphonePlayerCbsEofReachedCb) (LinphonePlayer *player) |
Callback for notifying end of play (file).
player | The LinphonePlayer object |
enum _LinphoneCallState |
LinphoneCallState enum represents the different states a call can reach into.
The application is notified of a state change through the LinphoneCoreVTable::call_state_changed callback.
Indicates for a given media the stream direction.
enum _LinphonePrivacy |
Defines privacy policy to apply as described by rfc3323.
Enumerator | |
---|---|
LinphonePrivacyNone | Privacy services must not perform any privacy function. |
LinphonePrivacyUser | Request that privacy services provide a user-level privacy function. With this mode, "from" header is hidden, usually replaced by From: "Anonymous" <sip:anony> mous @anon ymou s.inv alid |
LinphonePrivacyHeader | Request that privacy services modify headers that cannot be set arbitrarily by the user (Contact/Via). |
LinphonePrivacySession | Request that privacy services provide privacy for session media. |
LinphonePrivacyId | rfc3325 The presence of this privacy type in a Privacy header field indicates that the user would like the Network Asserted Identity to be kept private with respect to SIP entities outside the Trust Domain with which the user authenticated. Note that a user requesting multiple types of privacy MUST include all of the requested privacy types in its Privacy header field value |
LinphonePrivacyCritical | Privacy service must perform the specified services or fail the request. |
LinphonePrivacyDefault | Special keyword to use privacy as defined either globally or by proxy using linphone_proxy_config_set_privacy() |
enum LinphonePlayerState |
The state of a LinphonePlayer.
Enumerator | |
---|---|
LinphonePlayerClosed | No file is opened for playing. |
LinphonePlayerPaused | The player is paused. |
LinphonePlayerPlaying | The player is playing. |
LinphoneStatus linphone_call_accept | ( | LinphoneCall * | call | ) |
Accept an incoming call.
Basically the application is notified of incoming calls within the call_state_changed callback of the LinphoneCoreVTable structure, where it will receive a LinphoneCallIncoming event with the associated LinphoneCall object. The application can later accept the call using this method.
call | The LinphoneCall object |
LinphoneStatus linphone_call_accept_early_media | ( | LinphoneCall * | call | ) |
Accept an early media session for an incoming call.
This is identical as calling linphone_call_accept_early_media_with_params() with NULL parameters.
call | A LinphoneCall object |
LinphoneStatus linphone_call_accept_early_media_with_params | ( | LinphoneCall * | call, |
const LinphoneCallParams * | params | ||
) |
When receiving an incoming, accept to start a media session as early-media.
This means the call is not accepted but audio & video streams can be established if the remote party supports early media. However, unlike after call acceptance, mic and camera input are not sent during early-media, though received audio & video are played normally. The call can then later be fully accepted using linphone_call_accept() or linphone_call_accept_with_params().
call | A LinphoneCall object |
params | The call parameters to use (can be NULL). |
LinphoneStatus linphone_call_accept_update | ( | LinphoneCall * | call, |
const LinphoneCallParams * | params | ||
) |
Accept call modifications initiated by other end.
This call may be performed in response to a #LinphoneCallUpdatedByRemote state notification. When such notification arrives, the application can decide to call linphone_call_defer_update() so that it can have the time to prompt the user. linphone_call_get_remote_params() can be used to get information about the call parameters requested by the other party, such as whether a video stream is requested.
When the user accepts or refuse the change, linphone_call_accept_update() can be done to answer to the other party. If params is NULL, then the same call parameters established before the update request will continue to be used (no change). If params is not NULL, then the update will be accepted according to the parameters passed. Typical example is when a user accepts to start video, then params should indicate that video stream should be used (see linphone_call_params_enable_video()).
call | A LinphoneCall object |
params | A LinphoneCallParams object describing the call parameters to accept. |
LinphoneStatus linphone_call_accept_with_params | ( | LinphoneCall * | call, |
const LinphoneCallParams * | params | ||
) |
Accept an incoming call, with parameters.
Basically the application is notified of incoming calls within the call_state_changed callback of the LinphoneCoreVTable structure, where it will receive a LinphoneCallIncoming event with the associated LinphoneCall object. The application can later accept the call using this method.
call | A LinphoneCall object |
params | The specific parameters for this call, for example whether video is accepted or not. Use NULL to use default parameters. |
bool_t linphone_call_asked_to_autoanswer | ( | LinphoneCall * | call | ) |
Tell whether a call has been asked to autoanswer.
call | LinphoneCall object. |
bool_t linphone_call_camera_enabled | ( | const LinphoneCall * | call | ) |
Returns if camera pictures are allowed to be sent to the remote party.
call | LinphoneCall object. |
void linphone_call_cancel_dtmfs | ( | LinphoneCall * | call | ) |
Stop current DTMF sequence sending.
Please note that some DTMF could be already sent, depending on when this function call is delayed from linphone_call_send_dtmfs(). This function will be automatically called if call state change to anything but LinphoneCallStreamsRunning.
call | The LinphoneCall object |
LinphoneCallCbsAckProcessingCb linphone_call_cbs_get_ack_processing | ( | LinphoneCallCbs * | cbs | ) |
Get the ACK processing callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsAudioDeviceChangedCb linphone_call_cbs_get_audio_device_changed | ( | LinphoneCallCbs * | cbs | ) |
Get the audio device changed callback.
cbs | The LinphoneCallCbs object. |
LinphoneCallCbsCameraNotWorkingCb linphone_call_cbs_get_camera_not_working | ( | LinphoneCallCbs * | cbs | ) |
Get the camera not working callback.
cbs | The LinphoneCallCbs object. |
LinphoneCallCbsDtmfReceivedCb linphone_call_cbs_get_dtmf_received | ( | LinphoneCallCbs * | cbs | ) |
Get the dtmf received callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsEncryptionChangedCb linphone_call_cbs_get_encryption_changed | ( | LinphoneCallCbs * | cbs | ) |
Get the encryption changed callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsGoClearAckSentCb linphone_call_cbs_get_goclear_ack_sent | ( | LinphoneCallCbs * | cbs | ) |
Get the GoClear Ack sent callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsInfoMessageReceivedCb linphone_call_cbs_get_info_message_received | ( | LinphoneCallCbs * | cbs | ) |
Get the info message received callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsNextVideoFrameDecodedCb linphone_call_cbs_get_next_video_frame_decoded | ( | LinphoneCallCbs * | cbs | ) |
Get the next video frame decoded callback.
cbs | The LinphoneCallCbs object. |
LinphoneCallCbsReceiveMasterKeyChangedCb linphone_call_cbs_get_receive_master_key_changed | ( | LinphoneCallCbs * | cbs | ) |
Get the receive master key changed callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsRemoteRecordingCb linphone_call_cbs_get_remote_recording | ( | LinphoneCallCbs * | cbs | ) |
Get the call remote recording callback.
cbs | The LinphoneCallCbs object. |
LinphoneCallCbsSendMasterKeyChangedCb linphone_call_cbs_get_send_master_key_changed | ( | LinphoneCallCbs * | cbs | ) |
Get the send master key changed callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsSnapshotTakenCb linphone_call_cbs_get_snapshot_taken | ( | LinphoneCallCbs * | cbs | ) |
Get the snapshot taken callback.
cbs | The LinphoneCallCbs object. |
LinphoneCallCbsStateChangedCb linphone_call_cbs_get_state_changed | ( | LinphoneCallCbs * | cbs | ) |
Get the state changed callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsStatsUpdatedCb linphone_call_cbs_get_stats_updated | ( | LinphoneCallCbs * | cbs | ) |
Get the stats updated callback.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsTmmbrReceivedCb linphone_call_cbs_get_tmmbr_received | ( | LinphoneCallCbs * | cbs | ) |
Get the TMMBR received callback.
cbs | The LinphoneCallCbs object. |
LinphoneCallCbsTransferStateChangedCb linphone_call_cbs_get_transfer_state_changed | ( | LinphoneCallCbs * | cbs | ) |
Get the transfer state changed callback.
cbs | LinphoneCallCbs object. |
void* linphone_call_cbs_get_user_data | ( | const LinphoneCallCbs * | cbs | ) |
Retrieve the user pointer associated with the LinphoneCallCbs object.
cbs | LinphoneCallCbs object. |
LinphoneCallCbsVideoDisplayErrorOccurredCb linphone_call_cbs_get_video_display_error_occurred | ( | LinphoneCallCbs * | cbs | ) |
Get the callback that will be used to notify that there are errors from the video rendering.
Check LinphoneCallCbsVideoDisplayErrorOccurredCb for more details.
cbs | The LinphoneCallCbs object. |
LinphoneCallCbs* linphone_call_cbs_ref | ( | LinphoneCallCbs * | cbs | ) |
Acquire a reference to the LinphoneCallCbs object.
cbs | LinphoneCallCbs object. |
void linphone_call_cbs_set_ack_processing | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsAckProcessingCb | cb | ||
) |
Set ACK processing callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The ack processing callback to be used. |
void linphone_call_cbs_set_audio_device_changed | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsAudioDeviceChangedCb | cb | ||
) |
Set the audio device changed callback.
cbs | The LinphoneCallCbs object. | |
[in] | cb | The audio device changedcallback to be used. |
void linphone_call_cbs_set_camera_not_working | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsCameraNotWorkingCb | cb | ||
) |
Set the camera not working callback.
cbs | The LinphoneCallCbs object. | |
[in] | cb | The camera not working callback to be used. |
void linphone_call_cbs_set_dtmf_received | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsDtmfReceivedCb | cb | ||
) |
Set the dtmf received callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The dtmf received callback to be used. |
void linphone_call_cbs_set_encryption_changed | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsEncryptionChangedCb | cb | ||
) |
Set the encryption changed callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The encryption changed callback to be used. |
void linphone_call_cbs_set_goclear_ack_sent | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsGoClearAckSentCb | cb | ||
) |
Set the GoClear Ack sent callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The GoClear Ack sent callback to be used. |
void linphone_call_cbs_set_info_message_received | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsInfoMessageReceivedCb | cb | ||
) |
Set the info message received callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The info message received callback to be used. |
void linphone_call_cbs_set_next_video_frame_decoded | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsNextVideoFrameDecodedCb | cb | ||
) |
Set the next video frame decoded callback.
cbs | The LinphoneCallCbs object. | |
[in] | cb | The next video frame decoded callback to be used. |
void linphone_call_cbs_set_receive_master_key_changed | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsReceiveMasterKeyChangedCb | cb | ||
) |
Set the receive master key changed callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The receive master key changed callback to be used. |
void linphone_call_cbs_set_remote_recording | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsRemoteRecordingCb | cb | ||
) |
Set the call remote recording callback.
cbs | The LinphoneCallCbs object. | |
[in] | cb | The call remote recording callback to be used. |
void linphone_call_cbs_set_send_master_key_changed | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsSendMasterKeyChangedCb | cb | ||
) |
Set the send master key changed callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The send master key changed callback to be used. |
void linphone_call_cbs_set_snapshot_taken | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsSnapshotTakenCb | cb | ||
) |
Set the snapshot taken callback.
cbs | The LinphoneCallCbs object. | |
[in] | cb | The snapshot taken callback to be used. |
void linphone_call_cbs_set_state_changed | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsStateChangedCb | cb | ||
) |
Set the state changed callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The state changed callback to be used. |
void linphone_call_cbs_set_stats_updated | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsStatsUpdatedCb | cb | ||
) |
Set the stats updated callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The stats updated callback to be used. |
void linphone_call_cbs_set_tmmbr_received | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsTmmbrReceivedCb | cb | ||
) |
Set the TMMBR received callback.
cbs | The LinphoneCallCbs object. | |
[in] | cb | The TMMBR received callback to be used. |
void linphone_call_cbs_set_transfer_state_changed | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsTransferStateChangedCb | cb | ||
) |
Set the transfer state changed callback.
cbs | LinphoneCallCbs object. | |
[in] | cb | The transfer state changed callback to be used. |
void linphone_call_cbs_set_user_data | ( | LinphoneCallCbs * | cbs, |
void * | user_data | ||
) |
Assign a user pointer to the LinphoneCallCbs object.
cbs | LinphoneCallCbs object. | |
[in] | user_data | The user pointer to associate with the LinphoneCallCbs object. |
void linphone_call_cbs_set_video_display_error_occurred | ( | LinphoneCallCbs * | cbs, |
LinphoneCallCbsVideoDisplayErrorOccurredCb | cb | ||
) |
Set the callback that will be used to notify that there are errors from the video rendering.
Check LinphoneCallCbsVideoDisplayErrorOccurredCb for more details.
cbs | The LinphoneCallCbs object. | |
[in] | cb | The failing rendering callback to be used. |
void linphone_call_cbs_unref | ( | LinphoneCallCbs * | cbs | ) |
Release reference to the LinphoneCallCbs object.
cbs | LinphoneCallCbs object. |
LinphoneStatus linphone_call_decline | ( | LinphoneCall * | call, |
LinphoneReason | reason | ||
) |
Decline a pending incoming call, with a reason.
call | A LinphoneCall object that must be in the IncomingReceived state |
reason | The reason for rejecting the call: LinphoneReasonDeclined or LinphoneReasonBusy |
int linphone_call_decline_with_error_info | ( | LinphoneCall * | call, |
const LinphoneErrorInfo * | ei | ||
) |
Decline a pending incoming call, with a LinphoneErrorInfo object.
call | A LinphoneCall object that must be in the IncomingReceived state |
ei | LinphoneErrorInfo containing more information on the call rejection. |
LinphoneStatus linphone_call_defer_update | ( | LinphoneCall * | call | ) |
When receiving a #LinphoneCallUpdatedByRemote state notification, prevent LinphoneCore from performing an automatic answer.
When receiving a #LinphoneCallUpdatedByRemote state notification (ie an incoming reINVITE), the default behaviour of LinphoneCore is defined by the "defer_update_default" option of the "sip" section of the config. If this option is 0 (the default) then the LinphoneCore automatically answers the reINIVTE with call parameters unchanged. However when for example when the remote party updated the call to propose a video stream, it can be useful to prompt the user before answering. This can be achieved by calling linphone_core_defer_call_update() during the call state notification, to deactivate the automatic answer that would just confirm the audio but reject the video. Then, when the user responds to dialog prompt, it becomes possible to call linphone_call_accept_update() to answer the reINVITE, with eventually video enabled in the LinphoneCallParams argument.
The #LinphoneCallUpdatedByRemote notification can also arrive when receiving an INVITE without SDP. In such case, an unchanged offer is made in the 200Ok, and when the ACK containing the SDP answer is received, #LinphoneCallUpdatedByRemote is triggered to notify the application of possible changes in the media session. However in such case defering the update has no meaning since we just generating an offer.
call | A LinphoneCall object |
void linphone_call_enable_camera | ( | LinphoneCall * | call, |
bool_t | enabled | ||
) |
Indicate whether camera input should be sent to remote end.
call | LinphoneCall object. |
enabled | wether or not to send local video stream. |
const char* linphone_call_get_authentication_token | ( | LinphoneCall * | call | ) |
Returns the ZRTP authentication token to verify.
call | The LinphoneCall object |
bool_t linphone_call_get_authentication_token_verified | ( | const LinphoneCall * | call | ) |
Returns whether ZRTP authentication token is verified.
If not, it must be verified by users as described in ZRTP procedure. Once done, the application must inform of the results with linphone_call_set_authentication_token_verified().
call | The LinphoneCall object |
LinphoneCallLog* linphone_call_get_call_log | ( | const LinphoneCall * | call | ) |
Gets the call log associated to this call.
call | LinphoneCall object. |
LinphoneConference* linphone_call_get_conference | ( | const LinphoneCall * | call | ) |
Return the associated conference object.
call | The LinphoneCall object |
LinphoneCore* linphone_call_get_core | ( | const LinphoneCall * | call | ) |
Get the core that has created the specified call.
call | LinphoneCall object. |
const LinphoneCallParams* linphone_call_get_current_params | ( | const LinphoneCall * | call | ) |
Returns current parameters associated to the call.
call | LinphoneCall object. |
LinphoneCallDir linphone_call_get_dir | ( | const LinphoneCall * | call | ) |
Returns direction of the call (incoming or outgoing).
call | LinphoneCall object. |
const LinphoneAddress* linphone_call_get_diversion_address | ( | const LinphoneCall * | call | ) |
Returns the diversion address associated to this call.
call | LinphoneCall object. |
int linphone_call_get_duration | ( | const LinphoneCall * | call | ) |
Returns call's duration in seconds.
call | LinphoneCall object. |
const LinphoneErrorInfo* linphone_call_get_error_info | ( | const LinphoneCall * | call | ) |
Returns full details about call errors or termination reasons.
call | LinphoneCall object. on which we want the information error |
RtpTransport* linphone_call_get_meta_rtcp_transport | ( | const LinphoneCall * | call, |
int | stream_index | ||
) |
Returns the meta rtcp transport for the given stream index.
RtpTransport* linphone_call_get_meta_rtp_transport | ( | const LinphoneCall * | call, |
int | stream_index | ||
) |
Returns the meta rtp transport for the given stream index.
LinphoneReason linphone_call_get_reason | ( | const LinphoneCall * | call | ) |
Returns the reason for a call termination (either error or normal termination)
call | LinphoneCall object. |
const char* linphone_call_get_refer_to | ( | const LinphoneCall * | call | ) |
Gets the refer-to uri (if the call was transfered).
call | LinphoneCall object. |
const LinphoneAddress* linphone_call_get_remote_address | ( | const LinphoneCall * | call | ) |
Returns the remote address associated to this call.
call | LinphoneCall object. |
const char* linphone_call_get_remote_contact | ( | LinphoneCall * | call | ) |
Returns the far end's sip contact as a string, if available.
call | LinphoneCall object. |
const LinphoneAddress* linphone_call_get_remote_contact_address | ( | LinphoneCall * | call | ) |
Returns the far end's sip contact as an address, if available.
call | LinphoneCall object. |
const LinphoneCallParams* linphone_call_get_remote_params | ( | const LinphoneCall * | call | ) |
Returns call parameters proposed by remote.
This is useful when receiving an incoming call, to know whether the remote party supports video, encryption or whatever.
call | LinphoneCall object. |
const char* linphone_call_get_remote_user_agent | ( | LinphoneCall * | call | ) |
Returns the far end's user agent description string, if available.
call | LinphoneCall object. |
LinphoneCall* linphone_call_get_replaced_call | ( | LinphoneCall * | call | ) |
Returns the call object this call is replacing, if any.
Call replacement can occur during call transfers. By default, the core automatically terminates the replaced call and accept the new one. This function allows the application to know whether a new incoming call is a one that replaces another one.
call | LinphoneCall object. |
const LinphoneAddress* linphone_call_get_request_address | ( | const LinphoneCall * | call | ) |
The address to which the call has been sent, taken directly from the SIP URI of the INVITE.
Usually equal to the To
field, except when e.g. using a fallback contact address. You should probably use getToAddress() instead, unless you know what you're doing.
call | LinphoneCall object. |
LinphoneCallState linphone_call_get_state | ( | const LinphoneCall * | call | ) |
Retrieves the call's current state.
call | LinphoneCall object. |
int linphone_call_get_stream_count | ( | const LinphoneCall * | call | ) |
Returns the number of stream for the given call.
call | The LinphoneCall object |
MSFormatType linphone_call_get_stream_type | ( | const LinphoneCall * | call, |
int | stream_index | ||
) |
Returns the type of stream for the given stream index.
const LinphoneAddress* linphone_call_get_to_address | ( | const LinphoneCall * | call | ) |
Returns the to address with its headers associated to this call.
call | LinphoneCall object. |
const char* linphone_call_get_to_header | ( | const LinphoneCall * | call, |
const char * | header_name | ||
) |
Returns the value of the header name.
call | LinphoneCall object. |
header_name | the name of the header to check. |
LinphoneCallState linphone_call_get_transfer_state | ( | LinphoneCall * | call | ) |
Returns the current transfer state, if a transfer has been initiated from this call.
call | LinphoneCall object. |
LinphoneCall* linphone_call_get_transfer_target_call | ( | const LinphoneCall * | call | ) |
When this call has received a transfer request, returns the new call that was automatically created as a result of the transfer.
call | LinphoneCall object. |
LinphoneCall* linphone_call_get_transferer_call | ( | const LinphoneCall * | call | ) |
Gets the transferer if this call was started automatically as a result of an incoming transfer request.
The call in which the transfer request was received is returned in this case.
call | LinphoneCall object. |
void* linphone_call_get_user_data | ( | const LinphoneCall * | call | ) |
Retrieve the user pointer associated with the call.
call | The LinphoneCall object. |
bool_t linphone_call_has_transfer_pending | ( | const LinphoneCall * | call | ) |
Returns if this calls has received a transfer that has not been executed yet.
Pending transfers are executed when this call is being paused or closed, locally or by remote endpoint. If the call is already paused while receiving the transfer request, the transfer immediately occurs.
call | LinphoneCall object. |
void linphone_call_params_add_custom_header | ( | LinphoneCallParams * | call_params, |
const char * | header_name, | ||
const char * | header_value | ||
) |
Add a custom SIP header in the INVITE for a call.
call_params | The LinphoneCallParams to add a custom SIP header to. |
header_name | The name of the header to add. |
header_value | The content of the header to add. |
bool_t linphone_call_params_audio_enabled | ( | const LinphoneCallParams * | call_params | ) |
Tell whether audio is enabled or not.
call_params | LinphoneCallParams object |
bool_t linphone_call_params_avpf_enabled | ( | const LinphoneCallParams * | params | ) |
Whether or not the feedback extension will be used for AVP.
[in] | params | LinphoneCallParams object |
MS2_DEPRECATED LinphoneCallParams* linphone_call_params_copy | ( | const LinphoneCallParams * | call_params | ) |
Copy an existing LinphoneCallParams object to a new LinphoneCallParams object.
linphone_call_params_copy() is error-prone, leading to inconsistent parameters being passed to linphone_core_invite_address_with_params() or linphone_call_accept_with_params().
call_params | The LinphoneCallParams object to copy. |
bool_t linphone_call_params_early_media_sending_enabled | ( | const LinphoneCallParams * | call_params | ) |
Indicate whether sending of early media was enabled.
call_params | LinphoneCallParams object |
void linphone_call_params_enable_audio | ( | LinphoneCallParams * | call_params, |
bool_t | enabled | ||
) |
Enable audio stream.
call_params | LinphoneCallParams object |
enabled | A boolean value telling whether to enable audio or not. |
void linphone_call_params_enable_avpf | ( | LinphoneCallParams * | params, |
bool_t | enable | ||
) |
Toggle feedback extension for AVP.
[in] | params | LinphoneCallParams object |
[in] | enable | wether or not AVPF should be enabled |
void linphone_call_params_enable_capability_negotiations | ( | LinphoneCallParams * | params, |
bool_t | enabled | ||
) |
Enable capability negotiations (RFC5939).
params | LinphoneCallParams object |
enabled | A boolean value telling whether to enable capability negotiations or not. |
void linphone_call_params_enable_cfg_lines_merging | ( | LinphoneCallParams * | params, |
bool_t | enabled | ||
) |
Enable merging of cfg lines with consecutive indexes if capability negotiations (RFC5939) is enabled.
params | LinphoneCallParams object |
enabled | A boolean value telling whether to merge pcfg and acfg lines |
void linphone_call_params_enable_early_media_sending | ( | LinphoneCallParams * | call_params, |
bool_t | enabled | ||
) |
Enable sending of real early media (during outgoing calls).
call_params | LinphoneCallParams object |
enabled | A boolean value telling whether to enable early media sending or not. |
void linphone_call_params_enable_low_bandwidth | ( | LinphoneCallParams * | call_params, |
bool_t | enabled | ||
) |
Indicate low bandwith mode.
Configuring a call to low bandwidth mode will result in the core to activate several settings for the call in order to ensure that bitrate usage is lowered to the minimum possible. Typically, ptime (packetization time) will be increased, audio codec's output bitrate will be targetted to 20kbit/s provided that it is achievable by the codec selected after SDP handshake. Video is automatically disabled.
call_params | LinphoneCallParams object |
enabled | A boolean value telling whether to activate the low bandwidth mode or not. |
void linphone_call_params_enable_tcap_line_merging | ( | LinphoneCallParams * | params, |
bool_t | enabled | ||
) |
Enable merging of tcap lines with consecutive indexes if capability negotiations (RFC5939) is enabled.
params | LinphoneCallParams object |
enabled | A boolean value telling whether to merge tcap lines |
void linphone_call_params_enable_video | ( | LinphoneCallParams * | call_params, |
bool_t | enabled | ||
) |
Enable video stream.
call_params | LinphoneCallParams object |
enabled | A boolean value telling whether to enable video or not. |
LinphoneAccount* linphone_call_params_get_account | ( | const LinphoneCallParams * | params | ) |
Get the LinphoneAccount that is used for the call.
params | the LinphoneCallParams |
LinphoneMediaDirection linphone_call_params_get_audio_direction | ( | const LinphoneCallParams * | call_params | ) |
Get the audio stream direction.
call_params | LinphoneCallParams object |
LinphoneConferenceLayout linphone_call_params_get_conference_video_layout | ( | const LinphoneCallParams * | params | ) |
Set video layout for conference.
call_params | The LinphoneCallParams to get the custom SIP header from. |
layout | Preferred LinphoneConferenceLayout to use at the start of a conference |
const char* linphone_call_params_get_custom_header | ( | const LinphoneCallParams * | call_params, |
const char * | header_name | ||
) |
Get a custom SIP header.
call_params | The LinphoneCallParams to get the custom SIP header from. |
header_name | The name of the header to get. |
const char* linphone_call_params_get_from_header | ( | const LinphoneCallParams * | call_params | ) |
Get the from header in the CallParams.
call_params | The LinphoneCallParams to get the from header from. |
const LinphoneAudioDevice* linphone_call_params_get_input_audio_device | ( | const LinphoneCallParams * | params | ) |
Gets the default input audio device for a call that will be created using this call params.
params | The LinphoneCallParams |
bool_t linphone_call_params_get_local_conference_mode | ( | const LinphoneCallParams * | call_params | ) |
Tell whether the call is part of the locally managed conference.
call_params | LinphoneCallParams object |
LinphoneMediaEncryption linphone_call_params_get_media_encryption | ( | const LinphoneCallParams * | call_params | ) |
Get the kind of media encryption selected for the call.
call_params | LinphoneCallParams object |
const LinphoneAudioDevice* linphone_call_params_get_output_audio_device | ( | const LinphoneCallParams * | params | ) |
Gets the default output audio device for a call that will be created using this call params.
params | The LinphoneCallParams |
LinphonePrivacyMask linphone_call_params_get_privacy | ( | const LinphoneCallParams * | call_params | ) |
Get requested level of privacy for the call.
call_params | LinphoneCallParams object |
MS2_DEPRECATED LinphoneProxyConfig* linphone_call_params_get_proxy_config | ( | const LinphoneCallParams * | params | ) |
Get the LinphoneProxyConfig that is used for the call.
params | the LinphoneCallParams |
float linphone_call_params_get_received_framerate | ( | const LinphoneCallParams * | call_params | ) |
Get the framerate of the video that is received.
call_params | LinphoneCallParams object |
const LinphoneVideoDefinition* linphone_call_params_get_received_video_definition | ( | const LinphoneCallParams * | call_params | ) |
Get the definition of the received video.
call_params | LinphoneCallParams object |
MS2_DEPRECATED MSVideoSize linphone_call_params_get_received_video_size | ( | const LinphoneCallParams * | call_params | ) |
Get the size of the video that is received.
call_params | LinphoneCallParams object |
const char* linphone_call_params_get_record_file | ( | const LinphoneCallParams * | call_params | ) |
Get the path for the audio recording of the call.
call_params | LinphoneCallParams object |
const char* linphone_call_params_get_rtp_profile | ( | const LinphoneCallParams * | call_params | ) |
Get the RTP profile being used.
call_params | LinphoneCallParams object |
float linphone_call_params_get_sent_framerate | ( | const LinphoneCallParams * | call_params | ) |
Get the framerate of the video that is sent.
call_params | LinphoneCallParams object |
const LinphoneVideoDefinition* linphone_call_params_get_sent_video_definition | ( | const LinphoneCallParams * | call_params | ) |
Get the definition of the sent video.
call_params | LinphoneCallParams object |
MS2_DEPRECATED MSVideoSize linphone_call_params_get_sent_video_size | ( | const LinphoneCallParams * | call_params | ) |
Gets the size of the video that is sent.
call_params | #LinphoneCalParams object |
const char* linphone_call_params_get_session_name | ( | const LinphoneCallParams * | call_params | ) |
Get the session name of the media session (ie in SDP).
Subject from the SIP message can be retrieved using linphone_call_params_get_custom_header() and is different.
call_params | LinphoneCallParams object |
const LinphonePayloadType* linphone_call_params_get_used_audio_payload_type | ( | const LinphoneCallParams * | call_params | ) |
Get the audio payload type that has been selected by a call.
call_params | The LinphoneCallParams object. |
const LinphonePayloadType* linphone_call_params_get_used_text_payload_type | ( | const LinphoneCallParams * | call_params | ) |
Get the text payload type that has been selected by a call.
call_params | The LinphoneCallParams object. |
const LinphonePayloadType* linphone_call_params_get_used_video_payload_type | ( | const LinphoneCallParams * | call_params | ) |
Get the video payload type that has been selected by a call.
call_params | The LinphoneCallParams object. |
void* linphone_call_params_get_user_data | ( | const LinphoneCallParams * | call_params | ) |
Get the user data associated with the call params.
call_params | LinphoneCallParams object |
LinphoneMediaDirection linphone_call_params_get_video_direction | ( | const LinphoneCallParams * | call_params | ) |
Get the video stream direction.
call_params | LinphoneCallParams object |
bool_t linphone_call_params_is_recording | ( | const LinphoneCallParams * | params | ) |
Indicates whether the call is being recorded.
params | the LinphoneCallParams |
bool_t linphone_call_params_low_bandwidth_enabled | ( | const LinphoneCallParams * | call_params | ) |
Tell whether the call has been configured in low bandwidth mode or not.
This mode can be automatically discovered thanks to a stun server when activate_edge_workarounds=1 in section [net] of configuration file. An application that would have reliable way to know network capacity may not use activate_edge_workarounds=1 but instead manually configure low bandwidth mode with linphone_call_params_enable_low_bandwidth(). When enabled, this param may transform a call request with video in audio only mode.
call_params | LinphoneCallParams object |
LinphoneCallParams* linphone_call_params_ref | ( | LinphoneCallParams * | call_params | ) |
Acquire a reference to the call params.
call_params | LinphoneCallParams object |
void linphone_call_params_set_account | ( | LinphoneCallParams * | params, |
LinphoneAccount * | account | ||
) |
Set the LinphoneAccount to use for the call.
params | the LinphoneCallParams |
account | The LinphoneAccount to use, or NULL if none has been selected. The LinphoneCallParams keeps a reference to it and removes the previous one, if any. |
void linphone_call_params_set_audio_bandwidth_limit | ( | LinphoneCallParams * | call_params, |
int | bandwidth | ||
) |
Refine bandwidth settings for this call by setting a bandwidth limit for audio streams.
As a consequence, codecs whose bitrates are not compatible with this limit won't be used.
call_params | LinphoneCallParams object |
bandwidth | The audio bandwidth limit to set in kbit/s. |
void linphone_call_params_set_audio_direction | ( | LinphoneCallParams * | call_params, |
LinphoneMediaDirection | direction | ||
) |
Set the audio stream direction.
call_params | LinphoneCallParams object |
direction | The audio stream LinphoneMediaDirection associated with this call params. |
void linphone_call_params_set_conference_video_layout | ( | LinphoneCallParams * | params, |
LinphoneConferenceLayout | layout | ||
) |
Set video layout for conference.
call_params | The LinphoneCallParams to get the custom SIP header from. |
layout | LinphoneConferenceLayout to use as default when creating a conference |
void linphone_call_params_set_from_header | ( | LinphoneCallParams * | call_params, |
const char * | from_value | ||
) |
Force the from header of a call when instanciating it (if set, it precludes the search in proxy and primary contact)
call_params | The LinphoneCallParams to add the forced from to. |
from_value | The value of the forced from, null to delete it. |
void linphone_call_params_set_input_audio_device | ( | LinphoneCallParams * | params, |
LinphoneAudioDevice * | audio_device | ||
) |
Sets the given LinphoneAudioDevice as default input for a call to be created later.
params | The LinphoneCallParams |
audio_device | The LinphoneAudioDevice. NULL does nothing. |
void linphone_call_params_set_media_encryption | ( | LinphoneCallParams * | call_params, |
LinphoneMediaEncryption | encryption | ||
) |
Set requested media encryption for a call.
call_params | LinphoneCallParams object |
encryption | The LinphoneMediaEncryption to use for the call. |
void linphone_call_params_set_output_audio_device | ( | LinphoneCallParams * | params, |
LinphoneAudioDevice * | audio_device | ||
) |
Sets the given LinphoneAudioDevice as default output for a call to be created later.
params | The LinphoneCallParams |
audio_device | The LinphoneAudioDevice. NULL does nothing. |
void linphone_call_params_set_privacy | ( | LinphoneCallParams * | call_params, |
LinphonePrivacyMask | privacy | ||
) |
Set requested level of privacy for the call.
call_params | LinphoneCallParams object |
privacy | The LinphonePrivacyMask to used for the call. |
MS2_DEPRECATED void linphone_call_params_set_proxy_config | ( | LinphoneCallParams * | params, |
LinphoneProxyConfig * | proxy_config | ||
) |
Set the LinphoneProxyConfig to use for the call.
params | the LinphoneCallParams |
proxy_config | The LinphoneProxyConfig to use, or NULL if none has been selected. The LinphoneCallParams keep a reference on it and remove the older if it exists. |
void linphone_call_params_set_record_file | ( | LinphoneCallParams * | call_params, |
const char * | path | ||
) |
Enable recording of the call.
This function must be used before the call parameters are assigned to the call. The call recording can be started and paused after the call is established with linphone_call_start_recording() and linphone_call_pause_recording().
call_params | LinphoneCallParams object |
path | A string containing the path and filename of the file where audio/video streams are to be written. The filename must have either .mkv or .wav extention. The video stream will be written only if a MKV file is given. |
void linphone_call_params_set_session_name | ( | LinphoneCallParams * | call_params, |
const char * | name | ||
) |
Set the session name of the media session (ie in SDP).
Subject from the SIP message (which is different) can be set using linphone_call_params_set_custom_header().
call_params | LinphoneCallParams object |
name | The session name to be used. |
void linphone_call_params_set_supported_encryptions | ( | LinphoneCallParams * | params, |
bctbx_list_t * | encs | ||
) |
Sets the list of supported encryptions.
params | LinphoneCallParams object |
encs | list with the list of encryptions supported in a given call |
void linphone_call_params_set_user_data | ( | LinphoneCallParams * | call_params, |
void * | user_data | ||
) |
Assign a user data to the call params.
call_params | LinphoneCallParams object |
user_data | The user data to associate with the call params. |
void linphone_call_params_set_video_direction | ( | LinphoneCallParams * | call_params, |
LinphoneMediaDirection | direction | ||
) |
Set the video stream direction.
call_params | LinphoneCallParams object |
direction | The video stream LinphoneMediaDirection associated with this call params. |
void linphone_call_params_unref | ( | LinphoneCallParams * | call_params | ) |
Release a reference to the call params.
call_params | LinphoneCallParams object |
bool_t linphone_call_params_video_enabled | ( | const LinphoneCallParams * | call_params | ) |
Tell whether video is enabled or not.
call_params | LinphoneCallParams object |
LinphoneStatus linphone_call_pause | ( | LinphoneCall * | call | ) |
Pauses the call.
If a music file has been setup using linphone_core_set_play_file(), this file will be played to the remote user. The only way to resume a paused call is to call linphone_call_resume().
call | LinphoneCall object. |
LinphoneStatus linphone_call_redirect_to | ( | LinphoneCall * | call, |
LinphoneAddress * | redirect_address | ||
) |
Redirect the specified call to the given redirect Address.
call | The LinphoneCall object |
redirect_address | The LinphoneAddress to redirect the call to |
LinphoneCall* linphone_call_ref | ( | LinphoneCall * | call | ) |
Acquire a reference to the call.
An application that wishes to retain a pointer to call object must use this function to unsure the pointer remains valid. Once the application no more needs this pointer, it must call linphone_call_unref().
call | The LinphoneCall object. |
void linphone_call_request_notify_next_video_frame_decoded | ( | LinphoneCall * | call | ) |
Request the callback passed to linphone_call_cbs_set_next_video_frame_decoded() to be called the next time the video decoder properly decodes a video frame.
call | the LinphoneCall |
LinphoneStatus linphone_call_resume | ( | LinphoneCall * | call | ) |
Resumes a call.
The call needs to have been paused previously with linphone_call_pause().
call | LinphoneCall object. |
LinphoneStatus linphone_call_send_dtmf | ( | LinphoneCall * | call, |
char | dtmf | ||
) |
Send the specified dtmf.
The dtmf is automatically played to the user.
call | The LinphoneCall object |
dtmf | The dtmf name specified as a char, such as '0', '#' etc... |
LinphoneStatus linphone_call_send_dtmfs | ( | LinphoneCall * | call, |
const char * | dtmfs | ||
) |
Send a list of dtmf.
The dtmfs are automatically sent to remote, separated by some needed customizable delay. Sending is canceled if the call state changes to something not LinphoneCallStreamsRunning.
call | The LinphoneCall object |
dtmfs | A dtmf sequence such as '123#123123' |
void linphone_call_send_vfu_request | ( | LinphoneCall * | call | ) |
Request remote side to send us a Video Fast Update.
call | LinphoneCall object. |
void linphone_call_set_authentication_token_verified | ( | LinphoneCall * | call, |
bool_t | verified | ||
) |
Set the result of ZRTP short code verification by user.
If remote party also does the same, it will update the ZRTP cache so that user's verification will not be required for the two users.
call | The LinphoneCall object |
verified | whether the ZRTP SAS is verified. |
void linphone_call_set_user_data | ( | LinphoneCall * | call, |
void * | user_data | ||
) |
Assign a user pointer to the call.
call | The LinphoneCall object. |
user_data | The user pointer to associate with the call. |
LinphoneStatus linphone_call_take_preview_snapshot | ( | LinphoneCall * | call, |
const char * | file_path | ||
) |
Take a photo of currently captured video and write it into a jpeg file.
Note that the snapshot is asynchronous, an application shall not assume that the file is created when the function returns.
call | LinphoneCall object. |
file_path | a path where to write the jpeg content. |
LinphoneStatus linphone_call_take_video_snapshot | ( | LinphoneCall * | call, |
const char * | file_path | ||
) |
Take a photo of currently received video and write it into a jpeg file.
Note that the snapshot is asynchronous, an application shall not assume that the file is created when the function returns.
call | LinphoneCall object. |
file_path | a path where to write the jpeg content. |
LinphoneStatus linphone_call_terminate | ( | LinphoneCall * | call | ) |
LinphoneStatus linphone_call_terminate_with_error_info | ( | LinphoneCall * | call, |
const LinphoneErrorInfo * | ei | ||
) |
Terminates a call.
call | The LinphoneCall object |
ei | LinphoneErrorInfo |
LinphoneStatus linphone_call_transfer_to | ( | LinphoneCall * | call, |
LinphoneAddress * | refer_to | ||
) |
Performs a simple call transfer to the specified destination.
The remote endpoint is expected to issue a new call to the specified destination. The current call remains active and thus can be later paused or terminated. It is possible to follow the progress of the transfer provided that transferee sends notification about it. In this case, the transfer_state_changed callback of the LinphoneCoreVTable is invoked to notify of the state of the new call at the other party. The notified states are #LinphoneCallOutgoingInit , #LinphoneCallOutgoingProgress, #LinphoneCallOutgoingRinging and #LinphoneCallConnected.
call | The call to be transfered |
refer_to | The LinphoneAddress the call is to be refered to. |
LinphoneStatus linphone_call_transfer_to_another | ( | LinphoneCall * | call, |
LinphoneCall * | dest | ||
) |
Transfers a call to destination of another running call.
This is used for "attended transfer" scenarios. The transfered call is supposed to be in paused state, so that it is able to accept the transfer immediately. The destination call is a call previously established to introduce the transfered person. This method will send a transfer request to the transfered person. The phone of the transfered is then expected to automatically call to the destination of the transfer. The receiver of the transfer will then automatically close the call with us (the 'dest' call). It is possible to follow the progress of the transfer provided that transferee sends notification about it. In this case, the transfer_state_changed callback of the LinphoneCoreVTable is invoked to notify of the state of the new call at the other party. The notified states are #LinphoneCallOutgoingInit , #LinphoneCallOutgoingProgress, #LinphoneCallOutgoingRinging and #LinphoneCallConnected.
call | A running call you want to transfer |
dest | A running call whose remote person will receive the transfer |
void linphone_call_unref | ( | LinphoneCall * | call | ) |
Release reference to the call.
call | The LinphoneCall object. |
LinphoneStatus linphone_call_update | ( | LinphoneCall * | call, |
const LinphoneCallParams * | params | ||
) |
Updates a running call according to supplied call parameters or parameters changed in the LinphoneCore.
It triggers a SIP reINVITE in order to perform a new offer/answer of media capabilities. Changing the size of the transmitted video after calling linphone_core_set_preferred_video_size() can be used by passing NULL as params argument. In case no changes are requested through the LinphoneCallParams argument, then this argument can be omitted and set to NULL. WARNING: Updating a call in the #LinphoneCallPaused state will still result in a paused call even if the media directions set in the params are sendrecv. To resume a paused call, you need to call linphone_call_resume().
call | A LinphoneCall object |
params | The new call parameters to use (may be NULL). |
void linphone_call_zoom | ( | LinphoneCall * | call, |
float | zoom_factor, | ||
float | cx, | ||
float | cy | ||
) |
Perform a zoom of the video displayed during a call.
The zoom ensures that all the screen is fullfilled with the video.
call | The LinphoneCall object |
zoom_factor | a floating point number describing the zoom factor. A value 1.0 corresponds to no zoom applied. |
cx | a floating point number pointing the horizontal center of the zoom to be applied. This value should be between 0.0 and 1.0. |
cy | a floating point number pointing the vertical center of the zoom to be applied. This value should be between 0.0 and 1.0. |
LinphoneStatus linphone_conference_add_participant | ( | LinphoneConference * | conference, |
LinphoneCall * | call | ||
) |
Join an existing call to the conference.
If the conference is in the state LinphoneConferenceStateCreationPending, then the conference will start on the input and output audio devices used for the currently active call, if any
conference | The LinphoneConference object. |
call | a LinphoneCall that has to be added to the conference. |
LinphoneStatus linphone_conference_add_participant_2 | ( | LinphoneConference * | conference, |
const LinphoneAddress * | uri | ||
) |
Join a participant to the conference.
conference | The LinphoneConference object. |
uri | a LinphoneAddress that has to be added to the conference. |
LinphoneStatus linphone_conference_add_participants | ( | LinphoneConference * | conference, |
const bctbx_list_t * | calls | ||
) |
Add participants to the conference, by supplying a list of LinphoneCall.
If the conference is in the state LinphoneConferenceStateCreationPending, then the conference will start on the input and output audio devices used for the currently active call, if any
conference | The LinphoneConference object. |
calls | A list of calls to add to the conference. |
LinphoneStatus linphone_conference_add_participants_2 | ( | LinphoneConference * | conference, |
const bctbx_list_t * | addresses | ||
) |
Add participants to the conference, by supplying a list of LinphoneAddress.
conference | The LinphoneConference object. |
addresses | A list of calls to add to the conference. |
int linphone_conference_enter | ( | LinphoneConference * | conference | ) |
For a local conference, the local participant joins the conference For a remote conference, the participant rejoins the conference after leaving it earlier on.
conference | A LinphoneConference object |
LinphoneParticipant* linphone_conference_find_participant | ( | LinphoneConference * | conference, |
const LinphoneAddress * | uri | ||
) |
Find a participant from a conference.
conference | A LinphoneConference. |
uri | SIP URI of the participant to search. |
LinphoneCall* linphone_conference_get_call | ( | const LinphoneConference * | conference | ) |
Gets the call that is controlling a conference.
conference | The LinphoneConference |
const LinphoneConferenceParams* linphone_conference_get_current_params | ( | const LinphoneConference * | conference | ) |
Get current parameters of the conference.
conference | The LinphoneConference object. |
int linphone_conference_get_duration | ( | const LinphoneConference * | conference | ) |
Get the conference duration.
conference | The LinphoneConference object. |
MS2_DEPRECATED const char* linphone_conference_get_ID | ( | const LinphoneConference * | conference | ) |
Get the conference id as string.
conference | The LinphoneConference object. |
const LinphoneAudioDevice* linphone_conference_get_input_audio_device | ( | const LinphoneConference * | conference | ) |
Gets the current input device for this conference.
conference | The LinphoneConference |
float linphone_conference_get_input_volume | ( | const LinphoneConference * | conference | ) |
Retrieves the volume of a specific participant.
conference | A LinphoneConference object |
device | The Participant |
LinphoneParticipant* linphone_conference_get_me | ( | const LinphoneConference * | conference | ) |
For a local audio video conference, this function returns the participant hosting the conference For a remote audio video conference, this function returns the local participant of the conference.
conference | The LinphoneConference object. |
bool_t linphone_conference_get_microphone_muted | ( | const LinphoneConference * | conference | ) |
Retrieves the volume of a specific participant.
conference | A LinphoneConference object |
device | The Participant |
const LinphoneAudioDevice* linphone_conference_get_output_audio_device | ( | const LinphoneConference * | conference | ) |
Gets the current output device for this conference.
conference | The LinphoneConference |
int linphone_conference_get_participant_count | ( | const LinphoneConference * | conference | ) |
Get number of participants without me.
conference | The LinphoneConference object. |
bctbx_list_t* linphone_conference_get_participant_device_list | ( | const LinphoneConference * | conference | ) |
Get list of all participant devices of a conference including me if it is in.
conference | A LinphoneConference |
int linphone_conference_get_participant_device_volume | ( | LinphoneConference * | conference, |
LinphoneParticipantDevice * | device | ||
) |
Retrieves the volume of a specific participant.
conference | A LinphoneConference object |
device | The Participant |
bctbx_list_t* linphone_conference_get_participant_list | ( | const LinphoneConference * | conference | ) |
Get list of all participants of a conference.
conference | A LinphoneConference |
MS2_DEPRECATED bctbx_list_t* linphone_conference_get_participants | ( | const LinphoneConference * | conference | ) |
Get URIs of all participants of one conference The returned bctbx_list_t contains URIs of all participants.
That list must be freed after use and each URI must be unref with linphone_address_unref()
conference | A LinphoneConference |
time_t linphone_conference_get_start_time | ( | const LinphoneConference * | conference | ) |
Get the conference start time.
conference | The LinphoneConference object. |
const char* linphone_conference_get_subject | ( | const LinphoneConference * | conference | ) |
Get the conference subject.
conference | The LinphoneConference object. |
const char* linphone_conference_get_username | ( | const LinphoneConference * | conference | ) |
Get the conference username.
conference | The LinphoneConference object. |
LinphoneStatus linphone_conference_invite_participants | ( | LinphoneConference * | conference, |
const bctbx_list_t * | addresses, | ||
const LinphoneCallParams * | params | ||
) |
Invite participants to the conference, by supplying a list of LinphoneAddress If the conference is in the state LinphoneConferenceStateCreationPending, then the conference will start on the input and output audio devices used for the currently active call, if any.
conference | The LinphoneConference object. |
addresses | A list of SIP addresses to invite. |
params | LinphoneCallParams to use for inviting the participants. |
bool_t linphone_conference_is_in | ( | const LinphoneConference * | conference | ) |
For a local conference, it returns whether the local participant is enabled For a remote conference, it return whether the remote participant has left the conference without bein removed from it.
conference | A LinphoneConference object |
bool_t linphone_conference_is_me | ( | const LinphoneConference * | conference, |
const LinphoneAddress * | uri | ||
) |
For a local audio video conference, this function compares the address provided as argument with that of participant hosting the conference For a remote audio video conference, this function compares the address provided as argument with that of the local participant of the conference.
conference | A LinphoneConference object |
uri | A LinphoneAddress object |
bool_t linphone_conference_is_recording | ( | const LinphoneConference * | conference | ) |
Gets whether the conference is currently being recorded.
conference | A LinphoneConference object |
int linphone_conference_leave | ( | LinphoneConference * | conference | ) |
For a local conference, the local participant leaves the conference For a remote conference, the participant leaves the conference after joining it earlier on.
conference | A LinphoneConference object |
bool_t linphone_conference_params_audio_enabled | ( | const LinphoneConferenceParams * | params | ) |
Check whether audio capabilities are enabled.
params | A LinphoneConferenceParams |
bool_t linphone_conference_params_chat_enabled | ( | const LinphoneConferenceParams * | params | ) |
Check whether chat capabilities are enabled.
params | A LinphoneConferenceParams |
LinphoneConferenceParams* linphone_conference_params_clone | ( | const LinphoneConferenceParams * | params | ) |
Clone a LinphoneConferenceParams.
params | The LinphoneConferenceParams to clone |
void linphone_conference_params_enable_audio | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable audio capabilities.
params | A LinphoneConferenceParams |
enable | If TRUE, audio will be enabled during conference |
void linphone_conference_params_enable_chat | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable chat capabilities.
params | A LinphoneConferenceParams |
enable | If TRUE, chat is enabled during conference |
void linphone_conference_params_enable_local_participant | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable local participant to enter the conference.
The local participant is the one driving the local LinphoneCore. It uses the local sound devices. The default value is TRUE. Setting to FALSE is mostly helpful when using liblinphone on a server application.
params | A LinphoneConferenceParams |
enable | TRUE if local participant is automatically added to the conference, FALSE otherwise |
void linphone_conference_params_enable_one_participant_conference | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable conference with one participant.
params | A LinphoneConferenceParams |
enable | TRUE if conference can have only one participant, FALSE otherwise |
void linphone_conference_params_enable_video | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable video capabilities.
params | A LinphoneConferenceParams |
enable | If TRUE, video will be enabled during conference |
MS2_DEPRECATED void linphone_conference_params_free | ( | LinphoneConferenceParams * | params | ) |
Free a LinphoneConferenceParams.
params | LinphoneConferenceParams to free |
LinphoneAccount* linphone_conference_params_get_account | ( | const LinphoneConferenceParams * | params | ) |
Returns the account for the conference.
params | A LinphoneConferenceParams |
MS2_DEPRECATED LinphoneProxyConfig* linphone_conference_params_get_proxy_cfg | ( | const LinphoneConferenceParams * | params | ) |
Returns the proxy configuration for the conference.
params | A LinphoneConferenceParams |
LinphoneConferenceSecurityLevel linphone_conference_params_get_security_level | ( | const LinphoneConferenceParams * | params | ) |
Retrieve the desired security level of the conference.
params | The LinphoneConferenceParams object. |
const char* linphone_conference_params_get_subject | ( | const LinphoneConferenceParams * | params | ) |
MS2_DEPRECATED bool_t linphone_conference_params_is_audio_enabled | ( | const LinphoneConferenceParams * | params | ) |
Check whether audio capabilities are enabled.
params | A LinphoneConferenceParams |
MS2_DEPRECATED bool_t linphone_conference_params_is_chat_enabled | ( | const LinphoneConferenceParams * | params | ) |
Check whether chat capabilities are enabled.
params | A LinphoneConferenceParams |
MS2_DEPRECATED bool_t linphone_conference_params_is_local_participant_enabled | ( | const LinphoneConferenceParams * | params | ) |
Returns whether local participant has to enter the conference.
params | A LinphoneConferenceParams |
MS2_DEPRECATED bool_t linphone_conference_params_is_one_participant_conference_enabled | ( | const LinphoneConferenceParams * | params | ) |
Returns whether conference can have only one participant.
params | A LinphoneConferenceParams |
MS2_DEPRECATED bool_t linphone_conference_params_is_video_enabled | ( | const LinphoneConferenceParams * | params | ) |
Check whether video capabilities are enabled.
params | A LinphoneConferenceParams |
bool_t linphone_conference_params_local_participant_enabled | ( | const LinphoneConferenceParams * | params | ) |
Returns whether local participant has to enter the conference.
params | A LinphoneConferenceParams |
LinphoneConferenceParams* linphone_conference_params_new | ( | const LinphoneCore * | core | ) |
Create an object of type a LinphoneConferenceParams.
core | The LinphoneCore to pass to the constructor. |
bool_t linphone_conference_params_one_participant_conference_enabled | ( | const LinphoneConferenceParams * | params | ) |
Returns whether conference can have only one participant.
params | A LinphoneConferenceParams |
LinphoneConferenceParams* linphone_conference_params_ref | ( | LinphoneConferenceParams * | params | ) |
Take a reference on a LinphoneConferenceParams.
params | The LinphoneConferenceParams to ref. |
MS2_DEPRECATED void linphone_conference_params_set_audio_enabled | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable audio capabilities.
params | A LinphoneConferenceParams |
enable | If TRUE, audio will be enabled during conference |
MS2_DEPRECATED void linphone_conference_params_set_chat_enabled | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable chat capabilities.
params | A LinphoneConferenceParams |
enable | If TRUE, chat is enabled during conference |
MS2_DEPRECATED void linphone_conference_params_set_local_participant_enabled | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable local participant to enter the conference.
The local participant is the one driving the local LinphoneCore. It uses the local sound devices. The default value is TRUE. Setting to FALSE is mostly helpful when using liblinphone on a server application.
params | A LinphoneConferenceParams |
enable | TRUE if local participant is automatically added to the conference, FALSE otherwise |
MS2_DEPRECATED void linphone_conference_params_set_one_participant_conference_enabled | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable conference with one participant.
params | A LinphoneConferenceParams |
enable | TRUE if conference can have only one participant, FALSE otherwise |
void linphone_conference_params_set_security_level | ( | LinphoneConferenceParams * | params, |
LinphoneConferenceSecurityLevel | security_level | ||
) |
Set the desired security level of the conference.
params | The LinphoneConferenceParams object. |
security_level | The desired security level of the conference. |
void linphone_conference_params_set_subject | ( | LinphoneConferenceParams * | params, |
const char * | subject | ||
) |
Set the conference subject.
params | A LinphoneConferenceParams |
subject | conference subject |
MS2_DEPRECATED void linphone_conference_params_set_video_enabled | ( | LinphoneConferenceParams * | params, |
bool_t | enable | ||
) |
Enable video capabilities.
params | A LinphoneConferenceParams |
enable | If TRUE, video will be enabled during conference |
void linphone_conference_params_unref | ( | LinphoneConferenceParams * | params | ) |
Release a LinphoneConferenceParams.
params | The LinphoneConferenceParams to release. |
bool_t linphone_conference_params_video_enabled | ( | const LinphoneConferenceParams * | params | ) |
Check whether video capabilities are enabled.
params | A LinphoneConferenceParams |
LinphoneConference* linphone_conference_ref | ( | LinphoneConference * | conference | ) |
Take a reference on a LinphoneConference.
conference | The LinphoneConference to ref. |
MS2_DEPRECATED LinphoneStatus linphone_conference_remove_participant | ( | LinphoneConference * | conference, |
const LinphoneAddress * | uri | ||
) |
conference | A LinphoneConference |
uri | URI of the participant to remove |
LinphoneStatus linphone_conference_remove_participant_2 | ( | LinphoneConference * | conference, |
LinphoneParticipant * | participant | ||
) |
conference | A LinphoneConference |
participant | participant to remove |
MS2_DEPRECATED LinphoneStatus linphone_conference_remove_participant_3 | ( | LinphoneConference * | conference, |
LinphoneCall * | call | ||
) |
conference | A LinphoneConference |
call | call to remove |
MS2_DEPRECATED void linphone_conference_set_ID | ( | LinphoneConference * | conference, |
const char * | conference_id | ||
) |
Set the conference id as string.
conference | The LinphoneConference object. |
conference_id | the conference id to set. |
void linphone_conference_set_input_audio_device | ( | LinphoneConference * | conference, |
LinphoneAudioDevice * | audio_device | ||
) |
Sets the given LinphoneAudioDevice as input for this conference only.
conference | The LinphoneConference |
audio_device | The LinphoneAudioDevice. NULL does nothing. |
void linphone_conference_set_local_participant_stream_capability | ( | LinphoneConference * | conference, |
const LinphoneMediaDirection | direction, | ||
const LinphoneStreamType | type | ||
) |
Set stream capability on me device of a local conference.
conference | The LinphoneConference object. |
direction | the direction of stream of type stream_type |
stream_type | A LinphoneStreamType |
void linphone_conference_set_microphone_muted | ( | LinphoneConference * | conference, |
bool_t | muted | ||
) |
Get microphone muted state.
Note that the microphone may be disabled globally if FALSE was given to linphone_core_enable_mic().
conference | A LinphoneConference object |
void linphone_conference_set_output_audio_device | ( | LinphoneConference * | conference, |
LinphoneAudioDevice * | audio_device | ||
) |
Sets the given LinphoneAudioDevice as output for this conference only.
conference | The LinphoneConference |
audio_device | The LinphoneAudioDevice. NULL does nothing. |
void linphone_conference_set_participant_admin_status | ( | LinphoneConference * | conference, |
LinphoneParticipant * | participant, | ||
bool_t | is_admin | ||
) |
Change the admin status of a participant of a conference (you need to be an admin yourself to do this).
conference | A LinphoneConference object |
participant | The Participant for which to change the admin status |
is_admin | A boolean value telling whether the participant should now be an admin or not |
void linphone_conference_set_subject | ( | LinphoneConference * | conference, |
const char * | subject | ||
) |
Set the conference subject.
conference | The LinphoneConference object. |
subject | conference subject |
void linphone_conference_set_username | ( | LinphoneConference * | conference, |
const char * | username | ||
) |
Set the conference username.
conference | The LinphoneConference object. |
username | conference subject |
int linphone_conference_start_recording | ( | LinphoneConference * | conference, |
const char * | path | ||
) |
Starts recording the conference.
conference | A LinphoneConference object |
path | Where to record the conference |
int linphone_conference_stop_recording | ( | LinphoneConference * | conference | ) |
Stops the conference recording.
conference | A LinphoneConference object |
int linphone_conference_terminate | ( | LinphoneConference * | conference | ) |
Terminates conference.
conference | The LinphoneConference object. |
void linphone_conference_unref | ( | LinphoneConference * | conference | ) |
Release a LinphoneConference.
conference | The LinphoneConference to release. |
int linphone_conference_update_params | ( | LinphoneConference * | conference, |
const LinphoneConferenceParams * | params | ||
) |
Update parameters of the conference.
This is typically used enable or disable the video stream in the conference.
conference | The LinphoneConference object. |
params | the new parameters to apply. |
MS2_DEPRECATED LinphoneStatus linphone_core_accept_call | ( | LinphoneCore * | core, |
LinphoneCall * | call | ||
) |
Accept an incoming call.
Basically the application is notified of incoming calls within the call_state_changed callback of the LinphoneCoreVTable structure, where it will receive a LinphoneCallIncoming event with the associated LinphoneCall object. The application can later accept the call using this method.
core | LinphoneCore object |
call | The LinphoneCall object representing the call to be answered |
MS2_DEPRECATED LinphoneStatus linphone_core_accept_call_update | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
const LinphoneCallParams * | params | ||
) |
Accept call modifications initiated by other end.
This call may be performed in response to a #LinphoneCallUpdatedByRemote state notification. When such notification arrives, the application can decide to call linphone_core_defer_update_call() so that it can have the time to prompt the user. linphone_call_get_remote_params() can be used to get information about the call parameters requested by the other party, such as whether a video stream is requested.
When the user accepts or refuse the change, linphone_core_accept_call_update() can be done to answer to the other party. If params is NULL, then the same call parameters established before the update request will continue to be used (no change). If params is not NULL, then the update will be accepted according to the parameters passed. Typical example is when a user accepts to start video, then params should indicate that video stream should be used (see linphone_call_params_enable_video()).
core | LinphoneCore object |
call | The call for which to accept an update |
params | A LinphoneCallParams object describing the call parameters to accept |
MS2_DEPRECATED LinphoneStatus linphone_core_accept_call_with_params | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
const LinphoneCallParams * | params | ||
) |
Accept an incoming call, with parameters.
Basically the application is notified of incoming calls within the call_state_changed callback of the LinphoneCoreVTable structure, where it will receive a LinphoneCallIncoming event with the associated LinphoneCall object. The application can later accept the call using this method.
core | LinphoneCore object |
call | The LinphoneCall object representing the call to be answered |
params | The specific parameters for this call, for example whether video is accepted or not. Use NULL to use default parameters |
MS2_DEPRECATED LinphoneStatus linphone_core_accept_early_media | ( | LinphoneCore * | core, |
LinphoneCall * | call | ||
) |
Accept an early media session for an incoming call.
This is identical as calling linphone_core_accept_early_media_with_params() with NULL call parameters.
core | LinphoneCore object |
call | The incoming call to accept |
MS2_DEPRECATED LinphoneStatus linphone_core_accept_early_media_with_params | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
const LinphoneCallParams * | params | ||
) |
When receiving an incoming, accept to start a media session as early-media.
This means the call is not accepted but audio & video streams can be established if the remote party supports early media. However, unlike after call acceptance, mic and camera input are not sent during early-media, though received audio & video are played normally. The call can then later be fully accepted using linphone_core_accept_call() or linphone_core_accept_call_with_params().
core | LinphoneCore object |
call | The call to accept |
params | The call parameters to use (can be NULL) |
LinphoneCallParams* linphone_core_create_call_params | ( | LinphoneCore * | core, |
LinphoneCall * | call | ||
) |
Create a LinphoneCallParams suitable for linphone_core_invite_with_params(), linphone_core_accept_call_with_params(), linphone_core_accept_early_media_with_params() or linphone_core_accept_call_update().
The parameters are initialized according to the current LinphoneCore configuration and the last used local LinphoneCallParams, the ones passed through linphone_call_update(), linphone_call_accept_with_params() or linphone_call_accept_update_with_params().
core | LinphoneCore object |
call | LinphoneCall for which the parameters are to be build, or NULL in the case where the parameters are to be used for a new outgoing call. |
MS2_DEPRECATED LinphoneStatus linphone_core_decline_call | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
LinphoneReason | reason | ||
) |
Decline a pending incoming call, with a reason.
core | LinphoneCore object |
call | The LinphoneCall to decline, must be in the IncomingReceived state |
reason | The reason for rejecting the call: LinphoneReasonDeclined or LinphoneReasonBusy |
MS2_DEPRECATED LinphoneStatus linphone_core_defer_call_update | ( | LinphoneCore * | core, |
LinphoneCall * | call | ||
) |
When receiving a #LinphoneCallUpdatedByRemote state notification, prevent LinphoneCore from performing an automatic answer.
When receiving a #LinphoneCallUpdatedByRemote state notification (ie an incoming reINVITE), the default behaviour of LinphoneCore is defined by the "defer_update_default" option of the "sip" section of the config. If this option is 0 (the default) then the LinphoneCore automatically answers the reINIVTE with call parameters unchanged. However when for example when the remote party updated the call to propose a video stream, it can be useful to prompt the user before answering. This can be achieved by calling linphone_core_defer_call_update() during the call state notification, to deactivate the automatic answer that would just confirm the audio but reject the video. Then, when the user responds to dialog prompt, it becomes possible to call linphone_core_accept_call_update() to answer the reINVITE, with eventually video enabled in the LinphoneCallParams argument.
The #LinphoneCallUpdatedByRemote notification can also arrive when receiving an INVITE without SDP. In such case, an unchanged offer is made in the 200Ok, and when the ACK containing the SDP answer is received, #LinphoneCallUpdatedByRemote is triggered to notify the application of possible changes in the media session. However in such case defering the update has no meaning since we just generating an offer.
core | LinphoneCore object |
call | The call for which to defer the update |
LinphoneCall* linphone_core_find_call_from_uri | ( | const LinphoneCore * | core, |
const char * | uri | ||
) |
Search from the list of current calls if a remote address match uri.
core | the LinphoneCore object. |
uri | which should match call remote uri |
LinphoneCall* linphone_core_get_call_by_callid | ( | const LinphoneCore * | core, |
const char * | call_id | ||
) |
Get the call by callid.
core | The LinphoneCore object |
callid | of call |
MS2_DEPRECATED LinphoneCall* linphone_core_get_call_by_remote_address | ( | const LinphoneCore * | core, |
const char * | remote_address | ||
) |
Get the call with the remote_address specified.
core | LinphoneCore object |
remote_address | The remote address of the call that we want to get |
LinphoneCall* linphone_core_get_call_by_remote_address2 | ( | const LinphoneCore * | core, |
const LinphoneAddress * | remote_address | ||
) |
Get the call with the specified LinphoneAddress.
core | the LinphoneCore |
remote_address | the LinphoneAddress for which the call remote address must match |
const bctbx_list_t* linphone_core_get_calls | ( | LinphoneCore * | core | ) |
Gets the current list of calls.
Note that this list is read-only and might be changed by the core after a function call to linphone_core_iterate(). Similarly the LinphoneCall objects inside it might be destroyed without prior notice. To hold references to LinphoneCall object into your program, you must use linphone_call_ref().
core | The LinphoneCore object |
int linphone_core_get_calls_nb | ( | const LinphoneCore * | core | ) |
LinphoneCall* linphone_core_get_current_call | ( | const LinphoneCore * | core | ) |
Gets the current call.
core | LinphoneCore object |
const LinphoneAddress* linphone_core_get_current_call_remote_address | ( | LinphoneCore * | core | ) |
Get the remote address of the current call.
core | LinphoneCore object. |
int linphone_core_get_delayed_timeout | ( | LinphoneCore * | core | ) |
Gets the delayed timeout See linphone_core_set_delayed_timeout() for details.
core | LinphoneCore object |
int linphone_core_get_in_call_timeout | ( | LinphoneCore * | core | ) |
Gets the in call timeout See linphone_core_set_in_call_timeout() for details.
core | LinphoneCore object |
int linphone_core_get_inc_timeout | ( | LinphoneCore * | core | ) |
Returns the incoming call timeout See linphone_core_set_inc_timeout() for details.
core | LinphoneCore object |
LinphoneMediaResourceMode linphone_core_get_media_resource_mode | ( | const LinphoneCore * | core | ) |
This function returns the media resource mode for this core.
core | A LinphoneCore object |
int linphone_core_get_push_incoming_call_timeout | ( | const LinphoneCore * | core | ) |
Returns the push incoming call timeout See linphone_core_set_push_incoming_call_timeout() for details.
core | LinphoneCore object |
LinphoneSupportLevel linphone_core_get_tag_100rel_support_level | ( | const LinphoneCore * | core | ) |
Get the support level of the 100rel attribute.
core | LinphoneCore object. |
bool_t linphone_core_in_call | ( | const LinphoneCore * | core | ) |
Tells whether there is a call running.
core | LinphoneCore object |
LinphoneCall* linphone_core_invite | ( | LinphoneCore * | core, |
const char * | url | ||
) |
Initiates an outgoing call.
The application doesn't own a reference to the returned LinphoneCall object. Use linphone_call_ref() to safely keep the LinphoneCall pointer valid within your application.
core | LinphoneCore object |
url | The destination of the call (sip address, or phone number). |
LinphoneCall* linphone_core_invite_address | ( | LinphoneCore * | core, |
const LinphoneAddress * | addr | ||
) |
Initiates an outgoing call given a destination LinphoneAddress The LinphoneAddress can be constructed directly using linphone_factory_create_address(), or created by linphone_core_interpret_url_2().
The application doesn't own a reference to the returned LinphoneCall object. Use linphone_call_ref() to safely keep the LinphoneCall pointer valid within your application.
core | LinphoneCore object |
addr | The destination of the call (sip address). |
LinphoneCall* linphone_core_invite_address_with_params | ( | LinphoneCore * | core, |
const LinphoneAddress * | addr, | ||
const LinphoneCallParams * | params | ||
) |
Initiates an outgoing call given a destination LinphoneAddress The LinphoneAddress can be constructed directly using linphone_factory_create_address(), or created by linphone_core_interpret_url_2().
The application doesn't own a reference to the returned LinphoneCall object. Use linphone_call_ref() to safely keep the LinphoneCall pointer valid within your application. If the proxy is not specified in parameters, the caller proxy will be automatically selected by finding what is the best to reach the destination of the call.
core | LinphoneCore object |
addr | The destination of the call (sip address). |
params | Call parameters |
LinphoneCall* linphone_core_invite_address_with_params_2 | ( | LinphoneCore * | lc, |
const LinphoneAddress * | addr, | ||
const LinphoneCallParams * | params, | ||
const char * | subject, | ||
const LinphoneContent * | content | ||
) |
Initiates an outgoing call given a destination LinphoneAddress The LinphoneAddress can be constructed directly using linphone_factory_create_address(), or created by linphone_core_interpret_url_2().
The application doesn't own a reference to the returned LinphoneCall object. Use linphone_call_ref() to safely keep the LinphoneCall pointer valid within your application. If the proxy is not specified in parameters, the caller proxy will be automatically selected by finding what is the best to reach the destination of the call.
core | LinphoneCore object |
addr | The destination of the call (sip address). |
params | Call parameters |
subject | Subject of the call |
content | Body of the SIP INVITE |
LinphoneCall* linphone_core_invite_with_params | ( | LinphoneCore * | core, |
const char * | url, | ||
const LinphoneCallParams * | params | ||
) |
Initiates an outgoing call according to supplied call parameters The application doesn't own a reference to the returned LinphoneCall object.
Use linphone_call_ref() to safely keep the LinphoneCall pointer valid within your application.
core | LinphoneCore object |
url | The destination of the call (sip address, or phone number). |
params | the LinphoneCallParams call parameters |
bool_t linphone_core_is_incoming_invite_pending | ( | LinphoneCore * | core | ) |
Tells whether there is an incoming invite pending.
core | LinphoneCore object |
LinphoneStatus linphone_core_pause_all_calls | ( | LinphoneCore * | core | ) |
MS2_DEPRECATED LinphoneStatus linphone_core_pause_call | ( | LinphoneCore * | core, |
LinphoneCall * | call | ||
) |
Pauses the call.
If a music file has been setup using linphone_core_set_play_file(), this file will be played to the remote user.
The only way to resume a paused call is to call linphone_core_resume_call().
core | LinphoneCore object |
call | The call to pause |
int linphone_core_preempt_sound_resources | ( | LinphoneCore * | core | ) |
Empties sound resources to allow a new call to be accepted.
This function is autyomatically called by the core if the media resource mode is set to unique.
core | A LinphoneCore object |
MS2_DEPRECATED LinphoneStatus linphone_core_redirect_call | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
const char * | redirect_uri | ||
) |
Redirect the specified call to the given redirect URI.
core | LinphoneCore object |
call | The LinphoneCall to redirect |
redirect_uri | The URI to redirect the call to |
MS2_DEPRECATED LinphoneStatus linphone_core_resume_call | ( | LinphoneCore * | core, |
LinphoneCall * | call | ||
) |
Resumes a call.
The call needs to have been paused previously with linphone_core_pause_call().
core | LinphoneCore object |
call | The call to resume |
void linphone_core_set_delayed_timeout | ( | LinphoneCore * | core, |
int | seconds | ||
) |
Set the in delayed timeout in seconds.
After this timeout period, a delayed call (internal call initialisation or resolution) is resumed.
core | LinphoneCore object |
seconds | The new delayed timeout |
void linphone_core_set_in_call_timeout | ( | LinphoneCore * | core, |
int | seconds | ||
) |
Set the in call timeout in seconds.
After this timeout period, the call is automatically hangup. A value of 0 disables this feature.
core | LinphoneCore object |
seconds | The new timeout in seconds |
void linphone_core_set_inc_timeout | ( | LinphoneCore * | core, |
int | seconds | ||
) |
Set the incoming call timeout in seconds.
If an incoming call isn't answered for this timeout period, it is automatically declined.
core | LinphoneCore object |
seconds | The new timeout in seconds |
void linphone_core_set_media_resource_mode | ( | LinphoneCore * | core, |
LinphoneMediaResourceMode | mode | ||
) |
Sets the media resources mode.
Value values are: unique and shared. When the mode is set to unique, then only one call in the state StreamsRunning is allowed. While acepting a call, the core will try to free media resource used by the current call. If it is unsuccessful, then the call is not accepted. If mode is set to shared, then the media resources of the current call (if any) are not emptied when taking a new call. If the user whishes to free them, he/she is responsible to call linphone_core_preempt_sound_resources himself/herself
core | A LinphoneCore object |
mode | the chosen mode |
void linphone_core_set_push_incoming_call_timeout | ( | LinphoneCore * | core, |
int | seconds | ||
) |
Configure the minimum interval between a push notification and the corresponding incoming INVITE.
If exceeded, Linphone Call is transitioned to CallError and further incoming invite associated to this push is declined if any.
core | LinphoneCore object |
seconds | The new timeout in seconds |
void linphone_core_set_tag_100rel_support_level | ( | LinphoneCore * | core, |
LinphoneSupportLevel | level | ||
) |
Define what level of support is provided to the 100rel attribute.
core | LinphoneCore object. |
level | support level of 100rel |
bool_t linphone_core_sound_resources_locked | ( | LinphoneCore * | core | ) |
Check if a call will need the sound resources in near future (typically an outgoing call that is awaiting response).
In liblinphone, it is not possible to have two independant calls using sound device or camera at the same time. In order to prevent this situation, an application can use linphone_core_sound_resources_locked() to know whether it is possible at a given time to start a new outgoing call. When the function returns TRUE, an application should not allow the user to start an outgoing call.
core | LinphoneCore object |
LinphoneStatus linphone_core_terminate_all_calls | ( | LinphoneCore * | core | ) |
MS2_DEPRECATED LinphoneStatus linphone_core_terminate_call | ( | LinphoneCore * | core, |
LinphoneCall * | call | ||
) |
Terminates a call.
core | LinphoneCore object |
call | The LinphoneCall object representing the call to be terminated |
MS2_DEPRECATED LinphoneStatus linphone_core_transfer_call | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
const char * | refer_to | ||
) |
Performs a simple call transfer to the specified destination.
The remote endpoint is expected to issue a new call to the specified destination. The current call remains active and thus can be later paused or terminated. It is possible to follow the progress of the transfer provided that transferee sends notification about it. In this case, the transfer_state_changed callback of the LinphoneCoreVTable is invoked to notify of the state of the new call at the other party. The notified states are #LinphoneCallOutgoingInit , #LinphoneCallOutgoingProgress, #LinphoneCallOutgoingRinging and #LinphoneCallConnected.
core | LinphoneCore object |
call | The call to be transfered |
refer_to | The destination the call is to be refered to |
MS2_DEPRECATED LinphoneStatus linphone_core_transfer_call_to_another | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
LinphoneCall * | dest | ||
) |
Transfers a call to destination of another running call.
This is used for "attended transfer" scenarios.
The transfered call is supposed to be in paused state, so that it is able to accept the transfer immediately. The destination call is a call previously established to introduce the transfered person. This method will send a transfer request to the transfered person. The phone of the transfered is then expected to automatically call to the destination of the transfer. The receiver of the transfer will then automatically close the call with us (the 'dest' call). It is possible to follow the progress of the transfer provided that transferee sends notification about it. In this case, the transfer_state_changed callback of the LinphoneCoreVTable is invoked to notify of the state of the new call at the other party. The notified states are #LinphoneCallOutgoingInit , #LinphoneCallOutgoingProgress, #LinphoneCallOutgoingRinging and #LinphoneCallConnected.
core | LinphoneCore object |
call | A running call you want to transfer |
dest | A running call whose remote person will receive the transfer |
MS2_DEPRECATED LinphoneStatus linphone_core_update_call | ( | LinphoneCore * | core, |
LinphoneCall * | call, | ||
const LinphoneCallParams * | params | ||
) |
Updates a running call according to supplied call parameters or parameters changed in the LinphoneCore.
In this version this is limited to the following use cases:
core | LinphoneCore object |
call | The call to be updated |
params | The new call parameters to use (may be NULL) |
LinphoneEventCbsNotifyResponseCb linphone_event_cbs_get_notify_response | ( | const LinphoneEventCbs * | cbs | ) |
Get the notify response callback.
cbs | LinphoneEventCbs object. |
void* linphone_event_cbs_get_user_data | ( | const LinphoneEventCbs * | cbs | ) |
Retrieve the user pointer associated with a LinphoneEventCbs object.
cbs | LinphoneEventCbs object. |
LinphoneEventCbs* linphone_event_cbs_ref | ( | LinphoneEventCbs * | cbs | ) |
Acquire a reference to a LinphoneEventCbs object.
void linphone_event_cbs_set_notify_response | ( | LinphoneEventCbs * | cbs, |
LinphoneEventCbsNotifyResponseCb | cb | ||
) |
Set the notify response callback.
cbs | LinphoneEventCbs object. |
cb | The notify response callback to be used. |
void linphone_event_cbs_set_user_data | ( | LinphoneEventCbs * | cbs, |
void * | user_data | ||
) |
Assign a user pointer to a LinphoneEventCbs object.
cbs | LinphoneEventCbs object. |
user_data | The user pointer to associate with the LinphoneEventCbs object. |
void linphone_event_cbs_unref | ( | LinphoneEventCbs * | cbs | ) |
Release a reference to a LinphoneEventCbs object.
cbs | LinphoneEventCbs object. |
void linphone_player_add_callbacks | ( | LinphonePlayer * | player, |
LinphonePlayerCbs * | cbs | ||
) |
Adds a LinphonePlayerCbs object associated to the LinphonePlayer.
player | LinphonePlayer object |
cbs | The LinphonePlayerCbs object to be added to the LinphonePlayer. |
LinphonePlayerCbsEofReachedCb linphone_player_cbs_get_eof_reached | ( | const LinphonePlayerCbs * | cbs | ) |
Get the end-of-file reached callback.
cbs | LinphonePlayerCbs object. |
void* linphone_player_cbs_get_user_data | ( | const LinphonePlayerCbs * | cbs | ) |
Retrieve the user pointer associated with the LinphonePlayerCbs object.
cbs | LinphonePlayerCbs object. |
LinphonePlayerCbs* linphone_player_cbs_ref | ( | LinphonePlayerCbs * | cbs | ) |
Acquire a reference to the LinphonePlayerCbs object.
cbs | LinphonePlayerCbs object. |
void linphone_player_cbs_set_eof_reached | ( | LinphonePlayerCbs * | cbs, |
LinphonePlayerCbsEofReachedCb | cb | ||
) |
Set the end-of-file reached callback.
cbs | LinphonePlayerCbs object. |
cb | The end-of-file reached callback to be used. |
void linphone_player_cbs_set_user_data | ( | LinphonePlayerCbs * | cbs, |
void * | user_data | ||
) |
Assign a user pointer to the LinphonePlayerCbs object.
cbs | LinphonePlayerCbs object. |
user_data | The user pointer to associate with the LinphonePlayerCbs object. |
void linphone_player_cbs_unref | ( | LinphonePlayerCbs * | cbs | ) |
Release reference to the LinphonePlayerCbs object.
cbs | LinphonePlayerCbs object. |
void linphone_player_close | ( | LinphonePlayer * | player | ) |
Close the opened file.
player | LinphonePlayer object |
void* linphone_player_create_window_id | ( | LinphonePlayer * | player | ) |
Create a window id to be used to display video if any.
player | LinphonePlayer object |
MS2_DEPRECATED LinphonePlayerCbs* linphone_player_get_callbacks | ( | const LinphonePlayer * | player | ) |
Get the LinphonePlayerCbs object associated with the LinphonePlayer.
player | LinphonePlayer object |
LinphoneCore* linphone_player_get_core | ( | const LinphonePlayer * | player | ) |
Returns the LinphoneCore object managing this player's call, if any.
player | LinphonePlayer object |
LinphonePlayerCbs* linphone_player_get_current_callbacks | ( | const LinphonePlayer * | player | ) |
Returns the current LinphonePlayerCbsCbs object.
player | LinphonePlayer object |
int linphone_player_get_current_position | ( | LinphonePlayer * | player | ) |
Get the current position in the opened file.
player | LinphonePlayer object |
int linphone_player_get_duration | ( | LinphonePlayer * | player | ) |
Get the duration of the opened file.
player | LinphonePlayer object |
bool_t linphone_player_get_is_video_available | ( | LinphonePlayer * | player | ) |
Returns whether the file has video and if it can be displayed.
player | LinphonePlayer object |
LinphonePlayerState linphone_player_get_state | ( | LinphonePlayer * | player | ) |
Get the current state of a player.
player | LinphonePlayer object |
void* linphone_player_get_user_data | ( | const LinphonePlayer * | player | ) |
Retrieve the user pointer associated with the player.
player | LinphonePlayer object. |
float linphone_player_get_volume_gain | ( | LinphonePlayer * | player | ) |
Get the volume gain of the player.
player | LinphonePlayer object |
LinphoneStatus linphone_player_open | ( | LinphonePlayer * | player, |
const char * | filename | ||
) |
Open a file for playing.
Actually, only WAVE and MKV/MKA file formats are supported and a limited set of codecs depending of the selected format. Here are the list of working combinations:
player | LinphonePlayer object |
filename | The path to the file to open |
LinphoneStatus linphone_player_pause | ( | LinphonePlayer * | player | ) |
Pause the playing of a file.
player | LinphonePlayer object |
LinphonePlayer* linphone_player_ref | ( | LinphonePlayer * | player | ) |
Acquire a reference to the player.
player | LinphonePlayer object. |
void linphone_player_remove_callbacks | ( | LinphonePlayer * | player, |
LinphonePlayerCbs * | cbs | ||
) |
Removes a LinphonePlayerCbs object associated to the LinphonePlayer.
player | LinphonePlayer object |
cbs | The LinphonePlayerCbs object to be removed from the LinphonePlayer. |
LinphoneStatus linphone_player_seek | ( | LinphonePlayer * | player, |
int | time_ms | ||
) |
Seek in an opened file.
player | LinphonePlayer object |
time_ms | The time we want to go to in the file (in milliseconds). |
void linphone_player_set_user_data | ( | LinphonePlayer * | player, |
void * | user_data | ||
) |
Assign a user pointer to the player.
player | LinphonePlayer object. |
user_data | The user pointer to associate with the player. |
void linphone_player_set_volume_gain | ( | LinphonePlayer * | player, |
float | gain | ||
) |
Set the volume gain of the player.
player | LinphonePlayer object |
gain | Percentage of the gain. Valid values are in [ 0.0 : 1.0 ]. |
void linphone_player_set_window_id | ( | LinphonePlayer * | player, |
void * | window_id | ||
) |
Sets a window id to be used to display video if any.
player | LinphonePlayer object |
window_id | The window id pointer to use. |
LinphoneStatus linphone_player_start | ( | LinphonePlayer * | player | ) |
Start playing a file that has been opened with linphone_player_open().
player | LinphonePlayer object |
void linphone_player_unref | ( | LinphonePlayer * | player | ) |
Release reference to the player.
player | LinphonePlayer object. |
LinphoneVideoSourceDescriptor* linphone_video_source_descriptor_clone | ( | const LinphoneVideoSourceDescriptor * | descriptor | ) |
Instantiate a new video source descriptor with values from source.
descriptor | The LinphoneVideoSourceDescriptor object to be cloned. |
LinphoneCall* linphone_video_source_descriptor_get_call | ( | const LinphoneVideoSourceDescriptor * | descriptor | ) |
Gets the call of a LinphoneVideoSourceDescriptor.
descriptor | The LinphoneVideoSourceDescriptor object. |
const char* linphone_video_source_descriptor_get_camera_id | ( | const LinphoneVideoSourceDescriptor * | descriptor | ) |
Gets the camera id of a LinphoneVideoSourceDescriptor.
descriptor | The LinphoneVideoSourceDescriptor object. |
const char* linphone_video_source_descriptor_get_image | ( | const LinphoneVideoSourceDescriptor * | descriptor | ) |
Gets the image path of a LinphoneVideoSourceDescriptor.
descriptor | The LinphoneVideoSourceDescriptor object. |
LinphoneVideoSourceType linphone_video_source_descriptor_get_type | ( | const LinphoneVideoSourceDescriptor * | descriptor | ) |
Gets the type of a LinphoneVideoSourceDescriptor.
descriptor | The LinphoneVideoSourceDescriptor object. |
LinphoneVideoSourceDescriptor* linphone_video_source_descriptor_new | ( | void | ) |
Create a new LinphoneVideoSourceDescriptor object.
LinphoneVideoSourceDescriptor* linphone_video_source_descriptor_ref | ( | LinphoneVideoSourceDescriptor * | descriptor | ) |
Take a reference on a LinphoneVideoSourceDescriptor.
descriptor | The LinphoneVideoSourceDescriptor object. |
void linphone_video_source_descriptor_set_call | ( | LinphoneVideoSourceDescriptor * | descriptor, |
LinphoneCall * | call | ||
) |
Sets the source of a LinphoneVideoSourceDescriptor with a call.
Setting a LinphoneVideoSourceDescriptor with a call will require the lib to have two calls running at the same time. To do so the media resource mode has to be set to LinphoneSharedMediaResources with linphone_core_set_media_resource_mode().
descriptor | The LinphoneVideoSourceDescriptor object. |
call | The LinphoneCall that will be used as a video source. |
void linphone_video_source_descriptor_set_camera_id | ( | LinphoneVideoSourceDescriptor * | descriptor, |
const char * | camera_id | ||
) |
Sets the source of a LinphoneVideoSourceDescriptor with a camera id.
descriptor | The LinphoneVideoSourceDescriptor object. |
camera_id | The camera id that will be used as a video source. |
void linphone_video_source_descriptor_set_image | ( | LinphoneVideoSourceDescriptor * | descriptor, |
const char * | image_path | ||
) |
Sets the source of a LinphoneVideoSourceDescriptor with an image path.
descriptor | The LinphoneVideoSourceDescriptor object. |
image_path | The image path that will be used as a video source. |
void linphone_video_source_descriptor_unref | ( | LinphoneVideoSourceDescriptor * | descriptor | ) |
Release a LinphoneVideoSourceDescriptor.
descriptor | The LinphoneVideoSourceDescriptor object. |