Liblinphone
5.3.0
|
Controlling media parameters. More...
Data Structures | |
struct | _LinphoneVideoPolicy |
Structure describing policy regarding video streams establishments. More... | |
Macros | |
#define | LINPHONE_VIDEO_DISPLAY_AUTO (void *)((unsigned long)0) |
For MacOS, Linux, Windows: core will create its own window. | |
#define | LINPHONE_VIDEO_DISPLAY_NONE (void *)((unsigned long)-1) |
For MacOS, Linux, Windows: do nothing. | |
#define | LINPHONE_FIND_PAYLOAD_IGNORE_RATE -1 |
Wildcard value used by linphone_core_find_payload_type() to ignore rate in search algorithm. | |
#define | LINPHONE_FIND_PAYLOAD_IGNORE_CHANNELS -1 |
Wildcard value used by linphone_core_find_payload_type() to ignore channel in search algorithm. | |
Typedefs | |
typedef struct _LinphoneVideoActivationPolicy | LinphoneVideoActivationPolicy |
Object describing policy regarding video streams establishments. More... | |
typedef struct _LinphoneVideoDefinition | LinphoneVideoDefinition |
This object represents a video definition, eg. More... | |
typedef enum _LinphoneAVPFMode | LinphoneAVPFMode |
Enum describing RTP AVPF activation modes. | |
typedef enum _LinphoneEcCalibratorStatus | LinphoneEcCalibratorStatus |
Enum describing the result of the echo canceller calibration process. | |
typedef enum _LinphoneMediaResourceMode | LinphoneMediaResourceMode |
Media resource usage. | |
typedef enum _LinphoneMediaEncryption | LinphoneMediaEncryption |
Enum describing type of media encryption types. | |
typedef enum _LinphoneSrtpSuite | LinphoneSrtpSuite |
Enum describing type of SRTP encryption suite. | |
typedef enum _LinphoneZrtpPeerStatus | LinphoneZrtpPeerStatus |
Enum describing the ZRTP SAS validation status of a peer URI. | |
typedef enum _LinphoneZrtpKeyAgreement | LinphoneZrtpKeyAgreement |
Enum describing the ZRTP key exchange algorithns. | |
typedef struct _LinphoneVideoPolicy | LinphoneVideoPolicy |
Structure describing policy regarding video streams establishments. More... | |
typedef struct _LinphonePayloadType | LinphonePayloadType |
Object representing an RTP payload type. | |
typedef enum _LinphoneCodecPriorityPolicy | LinphoneCodecPriorityPolicy |
Codec priority policies. More... | |
Enumerations | |
enum | _LinphoneAVPFMode { LinphoneAVPFDefault = -1, LinphoneAVPFDisabled = 0, LinphoneAVPFEnabled = 1 } |
Enum describing RTP AVPF activation modes. More... | |
enum | _LinphoneEcCalibratorStatus { LinphoneEcCalibratorInProgress = 0, LinphoneEcCalibratorDone, LinphoneEcCalibratorFailed = 2, LinphoneEcCalibratorDoneNoEcho } |
Enum describing the result of the echo canceller calibration process. More... | |
enum | _LinphoneMediaResourceMode { LinphoneExclusiveMediaResources = 0, LinphoneSharedMediaResources = 1 } |
Media resource usage. More... | |
enum | _LinphoneMediaEncryption { LinphoneMediaEncryptionNone = 0, LinphoneMediaEncryptionSRTP = 1, LinphoneMediaEncryptionZRTP = 2, LinphoneMediaEncryptionDTLS = 3 } |
Enum describing type of media encryption types. More... | |
enum | _LinphoneSrtpSuite { LinphoneSrtpSuiteAESCM128HMACSHA180 = 0, LinphoneSrtpSuiteAESCM128HMACSHA132 = 1, LinphoneSrtpSuiteAES192CMHMACSHA180 = 2, LinphoneSrtpSuiteAES192CMHMACSHA132 = 3, LinphoneSrtpSuiteAES256CMHMACSHA180 = 4, LinphoneSrtpSuiteAES256CMHMACSHA132 = 5, LinphoneSrtpSuiteAEADAES128GCM = 6, LinphoneSrtpSuiteAEADAES256GCM = 7, LinphoneSrtpSuiteInvalid = 0xFF } |
Enum describing type of SRTP encryption suite. | |
enum | _LinphoneZrtpPeerStatus { LinphoneZrtpPeerStatusUnknown = 0, LinphoneZrtpPeerStatusInvalid = 1, LinphoneZrtpPeerStatusValid = 2 } |
Enum describing the ZRTP SAS validation status of a peer URI. More... | |
enum | _LinphoneZrtpKeyAgreement { LinphoneZrtpKeyAgreementInvalid = 0, LinphoneZrtpKeyAgreementDh2k = 1, LinphoneZrtpKeyAgreementDh3k = 2, LinphoneZrtpKeyAgreementEc25 = 3, LinphoneZrtpKeyAgreementEc38 = 4, LinphoneZrtpKeyAgreementEc52 = 5, LinphoneZrtpKeyAgreementX255 = 6, LinphoneZrtpKeyAgreementX448 = 7, LinphoneZrtpKeyAgreementK255 = 8, LinphoneZrtpKeyAgreementK448 = 9, LinphoneZrtpKeyAgreementKyb1 = 10, LinphoneZrtpKeyAgreementKyb2 = 11, LinphoneZrtpKeyAgreementKyb3 = 12, LinphoneZrtpKeyAgreementHqc1 = 13, LinphoneZrtpKeyAgreementHqc2 = 14, LinphoneZrtpKeyAgreementHqc3 = 15, LinphoneZrtpKeyAgreementK255Kyb512 = 16, LinphoneZrtpKeyAgreementK255Hqc128 = 17, LinphoneZrtpKeyAgreementK448Kyb1024 = 18, LinphoneZrtpKeyAgreementK448Hqc256 = 19, LinphoneZrtpKeyAgreementK255Kyb512Hqc128 = 20, LinphoneZrtpKeyAgreementK448Kyb1024Hqc256 = 21 } |
Enum describing the ZRTP key exchange algorithns. | |
enum | _LinphoneCodecPriorityPolicy { LinphoneCodecPriorityPolicyBasic, LinphoneCodecPriorityPolicyAuto } |
Codec priority policies. More... | |
Functions | |
bool_t | linphone_call_params_tone_indications_enabled (const LinphoneCallParams *params) |
Check if tone indications are enabled. More... | |
void | linphone_call_params_enable_tone_indications (LinphoneCallParams *params, bool_t enable) |
Define whether tone indications are enabled. More... | |
bool_t | linphone_call_params_capability_negotiation_reinvite_enabled (const LinphoneCallParams *params) |
Check if the capability negotiation (RFC5939) reINVITE is enabled or not. More... | |
void | linphone_call_params_enable_capability_negotiation_reinvite (LinphoneCallParams *params, bool_t enable) |
Define whether capability negotiation (RFC5939) reINVITE is enabled. More... | |
bool_t | linphone_call_params_capability_negotiations_enabled (const LinphoneCallParams *params) |
Indicates whether capability negotiations (RFC5939) is enabled. More... | |
bool_t | linphone_call_params_cfg_lines_merged (const LinphoneCallParams *params) |
Indicates whether cfg lines with consecutive indexes are going to be merged or not if capability negotiations (RFC5939) is enabled. More... | |
bool_t | linphone_call_params_tcap_lines_merged (const LinphoneCallParams *params) |
Indicates whether tcap lines with consecutive indexes are going to be merged or not if capability negotiations (RFC5939) is enabled. More... | |
bool_t | linphone_call_params_is_media_encryption_supported (const LinphoneCallParams *params, const LinphoneMediaEncryption encryption) |
Returns the encryption is supported. More... | |
bctbx_list_t * | linphone_call_params_get_supported_encryptions (const LinphoneCallParams *params) |
Returns the list of supported encryptions in the call. More... | |
bctbx_list_t * | linphone_call_params_get_srtp_suites (const LinphoneCallParams *call_params) |
Returns the list of enable srtp suite in the call (enforced only if SDES is the selected encryption mode) More... | |
void | linphone_call_params_set_srtp_suites (LinphoneCallParams *call_params, bctbx_list_t *srtpSuites) |
Sets the list of srtp suite enabled(enforced only when SDES is the encryption mode) More... | |
void | linphone_call_params_enable_audio_multicast (LinphoneCallParams *params, bool_t yesno) |
Use to enable multicast rtp for audio stream. More... | |
bool_t | linphone_call_params_audio_multicast_enabled (const LinphoneCallParams *params) |
Use to get multicast state of audio stream. More... | |
void | linphone_call_params_enable_video_multicast (LinphoneCallParams *params, bool_t yesno) |
Use to enable multicast rtp for video stream. More... | |
bool_t | linphone_call_params_video_multicast_enabled (const LinphoneCallParams *params) |
Use to get multicast state of video stream. More... | |
LinphoneStatus | linphone_call_params_enable_realtime_text (LinphoneCallParams *params, bool_t yesno) |
Use to enable real time text following rfc4103. More... | |
bool_t | linphone_call_params_realtime_text_enabled (const LinphoneCallParams *params) |
Use to get real time text following rfc4103. More... | |
void | linphone_call_params_set_realtime_text_keepalive_interval (LinphoneCallParams *params, unsigned int interval) |
Use to set keep alive interval for real time text following rfc4103. More... | |
unsigned int | linphone_call_params_get_realtime_text_keepalive_interval (const LinphoneCallParams *params) |
Use to get keep alive interval of real time text following rfc4103. More... | |
void | linphone_call_params_add_custom_sdp_attribute (LinphoneCallParams *params, const char *attribute_name, const char *attribute_value) |
Add a custom attribute related to all the streams in the SDP exchanged within SIP messages during a call. More... | |
void | linphone_call_params_add_custom_sdp_media_attribute (LinphoneCallParams *params, LinphoneStreamType type, const char *attribute_name, const char *attribute_value) |
Add a custom attribute related to a specific stream in the SDP exchanged within SIP messages during a call. More... | |
bool_t | linphone_call_params_has_custom_sdp_attribute (const LinphoneCallParams *params, const char *attribute_name) |
Returns TRUE if a custom SDP attribute that is related to all the streams is present. More... | |
const char * | linphone_call_params_get_custom_sdp_attribute (const LinphoneCallParams *params, const char *attribute_name) |
Get a custom SDP attribute that is related to all the streams. More... | |
bool_t | linphone_call_params_has_custom_sdp_media_attribute (const LinphoneCallParams *params, LinphoneStreamType type, const char *attribute_name) |
Indicates whether a custom SDP attribute that is related to a specific stream is present or not. More... | |
const char * | linphone_call_params_get_custom_sdp_media_attribute (const LinphoneCallParams *params, LinphoneStreamType type, const char *attribute_name) |
Get a custom SDP attribute that is related to a specific stream. More... | |
void | linphone_call_params_clear_custom_sdp_attributes (LinphoneCallParams *params) |
Clear the custom SDP attributes related to all the streams in the SDP exchanged within SIP messages during a call. More... | |
void | linphone_call_params_clear_custom_sdp_media_attributes (LinphoneCallParams *params, LinphoneStreamType type) |
Clear the custom SDP attributes related to a specific stream in the SDP exchanged within SIP messages during a call. More... | |
bctbx_list_t * | linphone_call_params_get_custom_contents (const LinphoneCallParams *params) |
Gets a list of LinphoneContent set if exists. More... | |
void | linphone_call_params_add_custom_content (LinphoneCallParams *params, LinphoneContent *content) |
Adds a LinphoneContent to be added to the INVITE SDP. More... | |
bool_t | linphone_call_params_rtp_bundle_enabled (const LinphoneCallParams *params) |
Indicates whether RTP bundle mode (also known as Media Multiplexing) is enabled. More... | |
MS2_DEPRECATED void | linphone_call_params_enable_rtp_bundle (LinphoneCallParams *params, bool_t value) |
Enables or disables RTP bundle mode (Media Multiplexing). More... | |
void | linphone_call_params_enable_mic (LinphoneCallParams *params, bool_t enable) |
Enable or disable the microphone at the call creation. More... | |
bool_t | linphone_call_params_mic_enabled (const LinphoneCallParams *params) |
Tells whether the microphone will be enabled when the call will be created. More... | |
MS2_DEPRECATED bool_t | linphone_call_params_is_capability_negotiation_reinvite_enabled (const LinphoneCallParams *params) |
Check if the capability negotiation (RFC5939) reINVITE is enabled or not. More... | |
bool_t | linphone_core_retransmission_on_nack_enabled (LinphoneCore *core) |
Tells whether NACK context is enabled or not. More... | |
void | linphone_core_enable_retransmission_on_nack (LinphoneCore *core, bool_t enable) |
Turns NACK context on or off. More... | |
void | linphone_core_set_download_bandwidth (LinphoneCore *core, int bandwidth) |
Sets maximum available download bandwidth This is IP bandwidth, in kbit/s. More... | |
void | linphone_core_set_upload_bandwidth (LinphoneCore *core, int bandwidth) |
Sets maximum available upload bandwidth This is IP bandwidth, in kbit/s. More... | |
void | linphone_core_set_expected_bandwidth (LinphoneCore *core, int bandwidth) |
Sets expected available upload bandwidth This is IP bandwidth, in kbit/s. More... | |
int | linphone_core_get_download_bandwidth (const LinphoneCore *core) |
Retrieve the maximum available download bandwidth. More... | |
int | linphone_core_get_upload_bandwidth (const LinphoneCore *core) |
Retrieve the maximum available upload bandwidth. More... | |
void | linphone_core_enable_adaptive_rate_control (LinphoneCore *core, bool_t enabled) |
Enable adaptive rate control. More... | |
bool_t | linphone_core_adaptive_rate_control_enabled (const LinphoneCore *core) |
Returns whether adaptive rate control is enabled. More... | |
void | linphone_core_set_adaptive_rate_algorithm (LinphoneCore *core, const char *algorithm) |
Sets adaptive rate algorithm. More... | |
const char * | linphone_core_get_adaptive_rate_algorithm (const LinphoneCore *core) |
Returns which adaptive rate algorithm is currently configured for future calls. More... | |
void | linphone_core_set_download_ptime (LinphoneCore *core, int ptime) |
Set audio packetization time linphone expects to receive from peer. More... | |
int | linphone_core_get_download_ptime (LinphoneCore *core) |
Get audio packetization time linphone expects to receive from peer. More... | |
void | linphone_core_set_upload_ptime (LinphoneCore *core, int ptime) |
Set audio packetization time linphone will send (in absence of requirement from peer) A value of 0 stands for the current codec default packetization time. More... | |
int | linphone_core_get_upload_ptime (LinphoneCore *core) |
Set audio packetization time linphone will send (in absence of requirement from peer) A value of 0 stands for the current codec default packetization time. More... | |
void | linphone_core_set_sip_transport_timeout (LinphoneCore *core, int timeout_ms) |
Set the SIP transport timeout, which represents the maximum time permitted to establish a connection to a SIP server. More... | |
int | linphone_core_get_sip_transport_timeout (LinphoneCore *core) |
Get the SIP transport timeout, which represents the maximum time permitted to establish a connection to a SIP server. More... | |
void | linphone_core_enable_dns_srv (LinphoneCore *core, bool_t enable) |
Enable or disable DNS SRV resolution. More... | |
bool_t | linphone_core_dns_srv_enabled (const LinphoneCore *core) |
Tells whether DNS SRV resolution is enabled. More... | |
void | linphone_core_enable_dns_search (LinphoneCore *core, bool_t enable) |
Enable or disable DNS search (use of local domain if the fully qualified name did return results). More... | |
bool_t | linphone_core_dns_search_enabled (const LinphoneCore *core) |
Tells whether DNS search (use of local domain if the fully qualified name did return results) is enabled. More... | |
bool_t | linphone_core_get_dns_set_by_app (LinphoneCore *core) |
Tells if the DNS was set by an application. More... | |
void | linphone_core_set_dns_servers_app (LinphoneCore *core, const bctbx_list_t *servers) |
Forces liblinphone to use the supplied list of dns servers, instead of system's ones and set dns_set_by_app at true or false according to value of servers list. More... | |
void | linphone_core_set_dns_servers (LinphoneCore *core, const bctbx_list_t *servers) |
Forces liblinphone to use the supplied list of dns servers, instead of system's ones. More... | |
bctbx_list_t * | linphone_core_get_audio_payload_types (LinphoneCore *core) |
Return the list of the available audio payload types. More... | |
void | linphone_core_set_audio_payload_types (LinphoneCore *core, const bctbx_list_t *payload_types) |
Redefine the list of the available payload types. More... | |
bctbx_list_t * | linphone_core_get_video_payload_types (LinphoneCore *core) |
Return the list of the available video payload types. More... | |
void | linphone_core_set_video_payload_types (LinphoneCore *core, const bctbx_list_t *payload_types) |
Redefine the list of the available video payload types. More... | |
void | linphone_core_set_video_codec_priority_policy (LinphoneCore *core, LinphoneCodecPriorityPolicy policy) |
Set the priority policy for video codecs (payload types). More... | |
LinphoneCodecPriorityPolicy | linphone_core_get_video_codec_priority_policy (const LinphoneCore *core) |
Get the current priority policy for video codecs (payload types). More... | |
bctbx_list_t * | linphone_core_get_text_payload_types (LinphoneCore *core) |
Return the list of the available text payload types. More... | |
void | linphone_core_set_text_payload_types (LinphoneCore *core, const bctbx_list_t *payload_types) |
Redefine the list of the available payload types. More... | |
void | linphone_core_enable_generic_comfort_noise (LinphoneCore *core, bool_t enabled) |
Enable RFC3389 generic comfort noise algorithm (CN payload type). More... | |
bool_t | linphone_core_generic_comfort_noise_enabled (const LinphoneCore *core) |
Returns enablement of RFC3389 generic comfort noise algorithm. More... | |
LinphonePayloadType * | linphone_core_get_payload_type (LinphoneCore *core, const char *type, int rate, int channels) |
Get payload type from mime type and clock rate. More... | |
void | linphone_core_enable_audio_adaptive_jittcomp (LinphoneCore *core, bool_t enable) |
Enable or disable the audio adaptive jitter compensation. More... | |
bool_t | linphone_core_audio_adaptive_jittcomp_enabled (LinphoneCore *core) |
Tells whether the audio adaptive jitter compensation is enabled. More... | |
int | linphone_core_get_audio_jittcomp (LinphoneCore *core) |
Returns the nominal audio jitter buffer size in milliseconds. More... | |
void | linphone_core_set_audio_jittcomp (LinphoneCore *core, int milliseconds) |
Sets the nominal audio jitter buffer size in milliseconds. More... | |
void | linphone_core_enable_video_adaptive_jittcomp (LinphoneCore *core, bool_t enable) |
Enable or disable the video adaptive jitter compensation. More... | |
bool_t | linphone_core_video_adaptive_jittcomp_enabled (LinphoneCore *core) |
Tells whether the video adaptive jitter compensation is enabled. More... | |
int | linphone_core_get_video_jittcomp (LinphoneCore *core) |
Returns the nominal video jitter buffer size in milliseconds. More... | |
void | linphone_core_set_video_jittcomp (LinphoneCore *core, int milliseconds) |
Sets the nominal video jitter buffer size in milliseconds. More... | |
int | linphone_core_get_nortp_timeout (const LinphoneCore *core) |
Gets the value of the no-rtp timeout. More... | |
void | linphone_core_set_audio_port_range (LinphoneCore *core, int min_port, int max_port) |
Sets the UDP port range from which to randomly select the port used for audio streaming. More... | |
void | linphone_core_set_video_port_range (LinphoneCore *core, int min_port, int max_port) |
Sets the UDP port range from which to randomly select the port used for video streaming. More... | |
void | linphone_core_set_text_port_range (LinphoneCore *core, int min_port, int max_port) |
Sets the UDP port range from which to randomly select the port used for text streaming. More... | |
void | linphone_core_set_nortp_timeout (LinphoneCore *core, int seconds) |
Sets the no-rtp timeout value in seconds. More... | |
void | linphone_core_set_use_info_for_dtmf (LinphoneCore *core, bool_t use_info) |
Sets whether SIP INFO is to be used to send digits. More... | |
bool_t | linphone_core_get_use_info_for_dtmf (LinphoneCore *core) |
Indicates whether SIP INFO is used to send digits. More... | |
void | linphone_core_set_use_rfc2833_for_dtmf (LinphoneCore *core, bool_t use_rfc2833) |
Sets whether RFC2833 is to be used to send digits. More... | |
bool_t | linphone_core_get_use_rfc2833_for_dtmf (LinphoneCore *core) |
Indicates whether RFC2833 is used to send digits. More... | |
bctbx_list_t * | linphone_core_get_sound_devices_list (const LinphoneCore *core) |
Gets the list of the available sound devices. More... | |
void | linphone_core_reload_sound_devices (LinphoneCore *core) |
Update detection of sound devices. More... | |
void | linphone_core_set_mic_gain_db (LinphoneCore *core, float level) |
Allow to control microphone level: gain in db. More... | |
float | linphone_core_get_mic_gain_db (LinphoneCore *core) |
Get microphone gain in db. More... | |
void | linphone_core_set_disable_record_on_mute (LinphoneCore *core, bool_t disable) |
Calling this method with disable=true will cause the microhone to be completely deactivated when muted, when given possible by the implementation on the platform on which liblinphone is running. More... | |
bool_t | linphone_core_get_disable_record_on_mute (LinphoneCore *core) |
Get whether the microphone will be completely deactivated when muted. More... | |
void | linphone_core_set_playback_gain_db (LinphoneCore *core, float level) |
Allow to control play level before entering sound card: gain in db. More... | |
float | linphone_core_get_playback_gain_db (LinphoneCore *core) |
Get playback gain in db before entering sound card. More... | |
const char * | linphone_core_get_ringer_device (LinphoneCore *core) |
Gets the name of the currently assigned sound device for ringing. More... | |
const char * | linphone_core_get_playback_device (LinphoneCore *core) |
Gets the name of the currently assigned sound device for playback. More... | |
const char * | linphone_core_get_capture_device (LinphoneCore *core) |
Gets the name of the currently assigned sound device for capture. More... | |
const char * | linphone_core_get_media_device (LinphoneCore *core) |
Gets the name of the currently assigned sound device for media. More... | |
LinphoneStatus | linphone_core_set_ringer_device (LinphoneCore *core, const char *devid) |
Sets the sound device used for ringing. More... | |
LinphoneStatus | linphone_core_set_playback_device (LinphoneCore *core, const char *devid) |
Sets the sound device used for playback. More... | |
LinphoneStatus | linphone_core_set_capture_device (LinphoneCore *core, const char *devid) |
Sets the sound device used for capture. More... | |
LinphoneStatus | linphone_core_set_media_device (LinphoneCore *core, const char *devid) |
Sets the sound device used for media. More... | |
void | linphone_core_stop_ringing (LinphoneCore *core) |
Whenever the liblinphone is playing a ring to advertise an incoming call or ringback of an outgoing call, this function stops the ringing. More... | |
void | linphone_core_set_ring (LinphoneCore *core, const char *path) |
Sets the path to a wav file used for ringing. More... | |
const char * | linphone_core_get_ring (const LinphoneCore *core) |
Returns the path to the wav file used for ringing. More... | |
void | linphone_core_set_native_ringing_enabled (LinphoneCore *core, bool_t enable) |
Sets whether to use the native ringing (Android only). More... | |
void | linphone_core_enable_native_ringing (LinphoneCore *core, bool_t enable) |
Sets whether to use the native ringing (Android only). More... | |
bool_t | linphone_core_is_native_ringing_enabled (const LinphoneCore *core) |
Returns whether the native ringing is enabled or not. More... | |
bool_t | linphone_core_native_ringing_enabled (const LinphoneCore *core) |
Returns whether the native ringing is enabled or not. More... | |
void | linphone_core_set_ringback (LinphoneCore *core, const char *path) |
Sets the path to a wav file used for ringing back. More... | |
const char * | linphone_core_get_ringback (const LinphoneCore *core) |
Returns the path to the wav file used for ringing back. More... | |
void | linphone_core_set_remote_ringback_tone (LinphoneCore *core, const char *ring) |
Specify a ring back tone to be played to far end during incoming calls. More... | |
const char * | linphone_core_get_remote_ringback_tone (const LinphoneCore *core) |
Get the ring back tone played to far end during incoming calls. More... | |
void | linphone_core_set_ring_during_incoming_early_media (LinphoneCore *core, bool_t enable) |
Enable or disable the ring play during an incoming early media call. More... | |
bool_t | linphone_core_get_ring_during_incoming_early_media (const LinphoneCore *core) |
Tells whether the ring play is enabled during an incoming early media call. More... | |
void | linphone_core_enable_echo_cancellation (LinphoneCore *core, bool_t enable) |
Enables or disable echo cancellation. More... | |
void | linphone_core_reset_echo_cancellation_calibration (LinphoneCore *core) |
Clears all state resulting from a previous echo canceller calibration procedure, which restores default policy and settings for echo cancellation. More... | |
int | linphone_core_get_echo_cancellation_calibration (const LinphoneCore *core) |
Gets the currently stored calibration delay for the software echo cancellation. More... | |
bool_t | linphone_core_echo_cancellation_enabled (const LinphoneCore *core) |
Returns TRUE if echo cancellation is enabled. More... | |
void | linphone_core_enable_echo_limiter (LinphoneCore *core, bool_t enable) |
Enables or disable echo limiter. More... | |
bool_t | linphone_core_echo_limiter_enabled (const LinphoneCore *core) |
Tells whether echo limiter is enabled. More... | |
void | linphone_core_enable_agc (LinphoneCore *core, bool_t val) |
Enable the experimental software Automatic Gain Control. More... | |
bool_t | linphone_core_agc_enabled (const LinphoneCore *core) |
Tells whether the experimental software Automatic Gain Control is activated. More... | |
void | linphone_core_enable_mic (LinphoneCore *core, bool_t enable) |
Enable or disable the microphone. More... | |
bool_t | linphone_core_mic_enabled (LinphoneCore *core) |
Tells whether the microphone is enabled. More... | |
bool_t | linphone_core_video_enabled (LinphoneCore *core) |
Returns TRUE if either capture or display is enabled, FALSE otherwise. More... | |
void | linphone_core_enable_video_capture (LinphoneCore *core, bool_t enable) |
Enable or disable video capture. More... | |
void | linphone_core_enable_video_display (LinphoneCore *core, bool_t enable) |
Enable or disable video display. More... | |
void | linphone_core_enable_video_source_reuse (LinphoneCore *core, bool_t enable) |
Enable or disable video source reuse when switching from preview to actual video call. More... | |
bool_t | linphone_core_video_capture_enabled (LinphoneCore *core) |
Tells whether video capture is enabled. More... | |
bool_t | linphone_core_video_display_enabled (LinphoneCore *core) |
Tells whether video display is enabled. More... | |
LinphoneVideoActivationPolicy * | linphone_video_activation_policy_ref (LinphoneVideoActivationPolicy *policy) |
Increment refcount. More... | |
void | linphone_video_activation_policy_unref (LinphoneVideoActivationPolicy *policy) |
Decrement refcount and possibly free the object. More... | |
void * | linphone_video_activation_policy_get_user_data (const LinphoneVideoActivationPolicy *policy) |
Gets the user data in the LinphoneVideoActivationPolicy object. More... | |
void | linphone_video_activation_policy_set_user_data (LinphoneVideoActivationPolicy *policy, void *user_data) |
Sets the user data in the LinphoneVideoActivationPolicy object. More... | |
bool_t | linphone_video_activation_policy_get_automatically_accept (const LinphoneVideoActivationPolicy *policy) |
Gets the value for the automatically accept video policy. More... | |
bool_t | linphone_video_activation_policy_get_automatically_initiate (const LinphoneVideoActivationPolicy *policy) |
Gets the value for the automatically initiate video policy. More... | |
void | linphone_video_activation_policy_set_automatically_accept (LinphoneVideoActivationPolicy *policy, bool_t enable) |
Sets the value for the automatically accept video policy. More... | |
void | linphone_video_activation_policy_set_automatically_initiate (LinphoneVideoActivationPolicy *policy, bool_t enable) |
Sets the value for the automatically initiate video policy. More... | |
void | linphone_core_set_video_activation_policy (LinphoneCore *core, const LinphoneVideoActivationPolicy *policy) |
Sets the default policy for video. More... | |
LinphoneVideoActivationPolicy * | linphone_core_get_video_activation_policy (const LinphoneCore *core) |
Get the default policy for video. More... | |
void | linphone_core_set_preferred_video_definition (LinphoneCore *core, LinphoneVideoDefinition *video_definition) |
Set the preferred video definition for the stream that is captured and sent to the remote party. More... | |
void | linphone_core_set_preferred_video_definition_by_name (LinphoneCore *core, const char *name) |
Sets the preferred video definition by its name. More... | |
void | linphone_core_set_preview_video_definition (LinphoneCore *core, LinphoneVideoDefinition *video_definition) |
Set the video definition for the captured (preview) video. More... | |
void | linphone_core_set_preview_video_definition_by_name (LinphoneCore *core, const char *name) |
const LinphoneVideoDefinition * | linphone_core_get_preview_video_definition (const LinphoneCore *core) |
Get the definition of the captured video. More... | |
LinphoneVideoDefinition * | linphone_core_get_current_preview_video_definition (const LinphoneCore *core) |
Get the effective video definition provided by the camera for the captured video. More... | |
const LinphoneVideoDefinition * | linphone_core_get_preferred_video_definition (const LinphoneCore *core) |
Get the preferred video definition for the stream that is captured and sent to the remote party. More... | |
void | linphone_core_set_preferred_framerate (LinphoneCore *core, float fps) |
Set the preferred frame rate for video. More... | |
float | linphone_core_get_preferred_framerate (LinphoneCore *core) |
Returns the preferred video framerate, previously set by linphone_core_set_preferred_framerate(). More... | |
void | linphone_core_preview_ogl_render (const LinphoneCore *core) |
Call generic OpenGL render for a given core. More... | |
void | linphone_core_enable_video_preview (LinphoneCore *core, bool_t enable) |
Controls video preview enablement. More... | |
bool_t | linphone_core_video_preview_enabled (const LinphoneCore *core) |
Tells whether video preview is enabled. More... | |
void | linphone_core_enable_qrcode_video_preview (LinphoneCore *core, bool_t enable) |
Controls QRCode enablement. More... | |
void | linphone_core_set_qrcode_decode_rect (LinphoneCore *core, const int x, const int y, const int w, const int h) |
Set the rectangle where the decoder will search a QRCode. More... | |
bool_t | linphone_core_qrcode_video_preview_enabled (const LinphoneCore *core) |
Tells whether QRCode is enabled in the preview. More... | |
void | linphone_core_enable_self_view (LinphoneCore *core, bool_t enable) |
Enables or disable self view during calls. More... | |
bool_t | linphone_core_self_view_enabled (const LinphoneCore *core) |
Tells whether video self view during call is enabled or not. More... | |
void | linphone_core_reload_video_devices (LinphoneCore *core) |
Update detection of camera devices. More... | |
bctbx_list_t * | linphone_core_get_video_devices_list (const LinphoneCore *core) |
Gets the list of the available video capture devices. More... | |
LinphoneStatus | linphone_core_set_video_device (LinphoneCore *core, const char *id) |
Sets the active video device. More... | |
const char * | linphone_core_get_video_device (const LinphoneCore *core) |
Returns the name of the currently active video device. More... | |
LinphoneStatus | linphone_core_set_static_picture (LinphoneCore *core, const char *path) |
Set the path to the image file to stream when "Static picture" is set as the video device. More... | |
const char * | linphone_core_get_static_picture (LinphoneCore *core) |
Get the path to the image file streamed when "Static picture" is set as the video device. More... | |
LinphoneStatus | linphone_core_set_static_picture_fps (LinphoneCore *core, float fps) |
Set the frame rate for static picture. More... | |
float | linphone_core_get_static_picture_fps (LinphoneCore *core) |
Get the frame rate for static picture. More... | |
void * | linphone_core_create_native_video_window_id (const LinphoneCore *core) |
Create a native window handle for the video window. More... | |
void * | linphone_core_get_native_video_window_id (const LinphoneCore *core) |
Get the native window handle of the video window. More... | |
void | linphone_core_set_native_video_window_id (LinphoneCore *core, void *window_id) |
Set the native video window id where the video is to be displayed. More... | |
void * | linphone_core_create_native_preview_window_id (LinphoneCore *core) |
Create a native window handle for the video preview window. More... | |
void * | linphone_core_get_native_preview_window_id (LinphoneCore *core) |
Get the native window handle of the video preview window. More... | |
void | linphone_core_set_native_preview_window_id (LinphoneCore *core, void *window_id) |
Set the native window id where the preview video (local camera) is to be displayed. More... | |
void | linphone_core_use_preview_window (LinphoneCore *core, bool_t yesno) |
Tells the core to use a separate window for local camera preview video, instead of inserting local view within the remote video window. More... | |
int | linphone_core_get_device_rotation (LinphoneCore *core) |
Gets the current device orientation. More... | |
void | linphone_core_set_device_rotation (LinphoneCore *core, int rotation) |
Tells the core the device current orientation. More... | |
int | linphone_core_get_camera_sensor_rotation (LinphoneCore *core) |
Get the camera sensor rotation. More... | |
void | linphone_core_set_use_files (LinphoneCore *core, bool_t yesno) |
Ask the core to stream audio from and to files, instead of using the soundcard. More... | |
bool_t | linphone_core_get_use_files (LinphoneCore *core) |
Gets whether linphone is currently streaming audio from and to files, rather than using the soundcard. More... | |
const char * | linphone_core_get_play_file (const LinphoneCore *core) |
Get the wav file that is played when putting somebody on hold, or when files are used instead of soundcards (see linphone_core_set_use_files()). More... | |
void | linphone_core_set_play_file (LinphoneCore *core, const char *file) |
Sets a wav file to be played when putting somebody on hold, or when files are used instead of soundcards (see linphone_core_set_use_files()). More... | |
const char * | linphone_core_get_record_file (const LinphoneCore *core) |
Get the wav file where incoming stream is recorded, when files are used instead of soundcards (see linphone_core_set_use_files()). More... | |
void | linphone_core_set_record_file (LinphoneCore *core, const char *file) |
Sets a wav file where incoming stream is to be recorded, when files are used instead of soundcards (see linphone_core_set_use_files()). More... | |
void | linphone_core_play_dtmf (LinphoneCore *core, char dtmf, int duration_ms) |
Plays a dtmf sound to the local user. More... | |
void | linphone_core_stop_dtmf (LinphoneCore *core) |
Stops playing a dtmf started by linphone_core_play_dtmf(). More... | |
int | linphone_core_get_mtu (const LinphoneCore *core) |
Returns the maximum transmission unit size in bytes. | |
void | linphone_core_set_mtu (LinphoneCore *core, int mtu) |
Sets the maximum transmission unit size in bytes. More... | |
void | linphone_core_set_enable_sip_update (const LinphoneCore *core, int value) |
Enable or disable the UPDATE method support. More... | |
void | linphone_core_set_session_expires_enabled (const LinphoneCore *core, bool_t enabled) |
Enable the Session Timers support. More... | |
void | linphone_core_enable_session_expires (const LinphoneCore *core, bool_t enabled) |
Enable the Session Timers support. More... | |
bool_t | linphone_core_get_session_expires_enabled (const LinphoneCore *core) |
Check if the Session Timers feature is enabled. More... | |
bool_t | linphone_core_session_expires_enabled (const LinphoneCore *core) |
Check if the Session Timers feature is enabled. More... | |
void | linphone_core_set_session_expires_value (const LinphoneCore *core, int expires) |
Sets the session expires value, 0 by default. More... | |
int | linphone_core_get_session_expires_value (const LinphoneCore *core) |
Returns the session expires value. More... | |
void | linphone_core_set_session_expires_refresher_value (const LinphoneCore *core, LinphoneSessionExpiresRefresher refresher) |
Sets the session expires refresher value. More... | |
LinphoneSessionExpiresRefresher | linphone_core_get_session_expires_refresher_value (const LinphoneCore *core) |
Returns the session expires refresher value. More... | |
void | linphone_core_set_session_expires_min_value (const LinphoneCore *core, int min) |
Sets the session expires minSE value, forced to a minimum of 90 by default. More... | |
int | linphone_core_get_session_expires_min_value (const LinphoneCore *core) |
Returns the session expires min value, 90 by default. More... | |
LinphoneZrtpPeerStatus | linphone_core_get_zrtp_status (LinphoneCore *core, const char *addr) |
Get the zrtp sas validation status for a peer uri. More... | |
LinphoneStatus | linphone_core_set_media_encryption (LinphoneCore *core, LinphoneMediaEncryption menc) |
Choose the media encryption policy to be used for RTP packets. More... | |
LinphoneMediaEncryption | linphone_core_get_media_encryption (const LinphoneCore *core) |
Get the media encryption policy being used for RTP packets. More... | |
bool_t | linphone_core_is_media_encryption_mandatory (LinphoneCore *core) |
Check if the configured media encryption is mandatory or not. More... | |
void | linphone_core_set_supported_media_encryptions (LinphoneCore *lc, const bctbx_list_t *encs) |
Sets the supported media encryptions. More... | |
const bctbx_list_t * | linphone_core_get_supported_media_encryptions (LinphoneCore *lc) |
Get list of supported media descriptions. More... | |
bool_t | linphone_core_is_media_encryption_supported (LinphoneCore *core, LinphoneMediaEncryption menc) |
Check if media encryption is supported. More... | |
void | linphone_core_set_media_encryption_mandatory (LinphoneCore *core, bool_t mandatory) |
Define whether the configured media encryption is mandatory, if it is and the negotation cannot result in the desired media encryption then the call will fail. More... | |
bool_t | linphone_core_cfg_lines_merging_enabled (const LinphoneCore *core) |
Check if cfg lines are going to the merged if the capability negotiation (RFC5939) is supported or not. More... | |
void | linphone_core_enable_cfg_lines_merging (LinphoneCore *core, bool_t merge) |
Define whether cfg lines are going to be merged if capability negotiation (RFC5939) is supported. More... | |
bool_t | linphone_core_tcap_lines_merging_enabled (const LinphoneCore *core) |
Check if tcap lines are going to the merged if the capability negotiation (RFC5939) is supported or not. More... | |
void | linphone_core_enable_tcap_line_merging (LinphoneCore *core, bool_t merge) |
Define whether tcap lines are going to be merged if capability negotiation (RFC5939) is supported. More... | |
bool_t | linphone_core_capability_negotiation_reinvite_enabled (const LinphoneCore *core) |
Check if the capability negotiation (RFC5939) reINVITE is enabled or not. More... | |
void | linphone_core_enable_zero_rtp_port_for_stream_inactive (LinphoneCore *lc, bool_t enable) |
Define whether RTP port is set to 0 when a stream is inactive. More... | |
bool_t | linphone_core_zero_rtp_port_for_stream_inactive_enabled (const LinphoneCore *lc) |
Check if RTP port is set to 0 when a stream is inactive. More... | |
void | linphone_core_enable_capability_negotiation_reinvite (LinphoneCore *core, bool_t enable) |
Define whether capability negotiation (RFC5939) reINVITE is enabled. More... | |
bool_t | linphone_core_capability_negociation_enabled (const LinphoneCore *core) |
Check if the capability negotiation (RFC5939) is supported or not. More... | |
void | linphone_core_enable_capability_negociation (LinphoneCore *core, bool_t enable) |
Define whether capability negotiation (RFC5939) is supported. More... | |
const char * | linphone_core_get_video_display_filter (LinphoneCore *core) |
Get the name of the mediastreamer2 filter used for rendering video. More... | |
void | linphone_core_set_video_display_filter (LinphoneCore *core, const char *filter_name) |
Set the name of the mediastreamer2 filter to be used for rendering video. More... | |
const char * | linphone_core_get_default_video_display_filter (LinphoneCore *core) |
Get the name of the default mediastreamer2 filter used for rendering video on the current platform. More... | |
bool_t | linphone_core_is_media_filter_supported (LinphoneCore *core, const char *filtername) |
Checks if the given media filter is loaded and usable. More... | |
const char * | linphone_core_get_echo_canceller_filter_name (const LinphoneCore *core) |
Get the name of the mediastreamer2 filter used for echo cancelling. More... | |
void | linphone_core_set_echo_canceller_filter_name (LinphoneCore *core, const char *filtername) |
Set the name of the mediastreamer2 filter to be used for echo cancelling. More... | |
void | linphone_core_set_tone (LinphoneCore *core, LinphoneToneID tone_id, const char *audiofile) |
Assign an audio file to be played as a specific tone id. More... | |
bctbx_list_t * | linphone_core_get_supported_file_formats_list (const LinphoneCore *core) |
Returns a null terminated table of strings containing the file format extension supported for call recording. More... | |
bool_t | linphone_core_file_format_supported (LinphoneCore *core, const char *fmt) |
Returns whether a specific file format is supported. More... | |
void | linphone_core_set_avpf_mode (LinphoneCore *core, LinphoneAVPFMode mode) |
Enable RTCP feedback (also known as RTP/AVPF profile). More... | |
LinphoneAVPFMode | linphone_core_get_avpf_mode (const LinphoneCore *core) |
Return AVPF enablement. More... | |
void | linphone_core_set_avpf_rr_interval (LinphoneCore *core, int interval) |
Set the avpf report interval in seconds. More... | |
int | linphone_core_get_avpf_rr_interval (const LinphoneCore *core) |
Return the avpf report interval in seconds. More... | |
LinphoneStatus | linphone_core_set_audio_multicast_addr (LinphoneCore *core, const char *ip) |
Use to set multicast address to be used for audio stream. More... | |
LinphoneStatus | linphone_core_set_video_multicast_addr (LinphoneCore *core, const char *ip) |
Use to set multicast address to be used for video stream. More... | |
const char * | linphone_core_get_audio_multicast_addr (const LinphoneCore *core) |
Use to get multicast address to be used for audio stream. More... | |
const char * | linphone_core_get_video_multicast_addr (const LinphoneCore *core) |
Use to get multicast address to be used for video stream. More... | |
LinphoneStatus | linphone_core_set_audio_multicast_ttl (LinphoneCore *core, int ttl) |
Use to set multicast ttl to be used for audio stream. More... | |
LinphoneStatus | linphone_core_set_video_multicast_ttl (LinphoneCore *core, int ttl) |
Use to set multicast ttl to be used for video stream. More... | |
int | linphone_core_get_audio_multicast_ttl (const LinphoneCore *core) |
Use to get multicast ttl to be used for audio stream. More... | |
int | linphone_core_get_video_multicast_ttl (const LinphoneCore *core) |
Use to get multicast ttl to be used for video stream. More... | |
void | linphone_core_enable_audio_multicast (LinphoneCore *core, bool_t yesno) |
Use to enable multicast rtp for audio stream. More... | |
bool_t | linphone_core_audio_multicast_enabled (const LinphoneCore *core) |
Use to get multicast state of audio stream. More... | |
void | linphone_core_enable_video_multicast (LinphoneCore *core, bool_t yesno) |
Use to enable multicast rtp for video stream. More... | |
bool_t | linphone_core_video_multicast_enabled (const LinphoneCore *core) |
Use to get multicast state of video stream. More... | |
void | linphone_core_enable_call_tone_indications (const LinphoneCore *lc, bool_t yesno) |
Enables or disables call tone indications. More... | |
bool_t | linphone_core_call_tone_indications_enabled (const LinphoneCore *lc) |
Check whether tone indications of calls are enabled. More... | |
bool_t | linphone_core_rtp_bundle_enabled (const LinphoneCore *core) |
Returns whether RTP bundle mode (also known as Media Multiplexing) is enabled. More... | |
void | linphone_core_enable_rtp_bundle (LinphoneCore *core, bool_t value) |
Enables or disables RTP bundle mode (Media Multiplexing). More... | |
LinphoneStatus | linphone_core_set_network_simulator_params (LinphoneCore *core, const OrtpNetworkSimulatorParams *params) |
Set the network simulator parameters. More... | |
const OrtpNetworkSimulatorParams * | linphone_core_get_network_simulator_params (const LinphoneCore *core) |
Get the previously set network simulation parameters. More... | |
void | linphone_core_set_video_preset (LinphoneCore *core, const char *preset) |
Set the video preset to be used for video calls. More... | |
const char * | linphone_core_get_video_preset (const LinphoneCore *core) |
Get the video preset used for video calls. More... | |
bool_t | linphone_core_realtime_text_enabled (LinphoneCore *core) |
Gets if realtime text is enabled or not. More... | |
unsigned int | linphone_core_realtime_text_get_keepalive_interval (const LinphoneCore *core) |
Gets keep alive interval of real time text. More... | |
bool_t | linphone_core_get_post_quantum_available (void) |
Are PostQuantum algoritms available. More... | |
bctbx_list_t * | linphone_core_get_zrtp_available_key_agreement_list (LinphoneCore *lc) |
Return the list of the available ZRTP key agreement algorithns. More... | |
bctbx_list_t * | linphone_core_get_zrtp_key_agreement_list (LinphoneCore *lc) |
Return the ordonated list of the ZRTP key agreement algorithns currently configured. More... | |
void | linphone_core_set_zrtp_key_agreement_suites (LinphoneCore *lc, bctbx_list_t *key_agreements) |
Redefine the list of prefered ZRTP key agreement algorithms. More... | |
MS2_DEPRECATED void | linphone_core_send_dtmf (LinphoneCore *core, char dtmf) |
Send the specified dtmf. More... | |
MS2_DEPRECATED const bctbx_list_t * | linphone_core_get_audio_codecs (const LinphoneCore *core) |
Returns the list of available audio codecs. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_set_audio_codecs (LinphoneCore *core, bctbx_list_t *codecs) |
Sets the list of audio codecs. More... | |
MS2_DEPRECATED const bctbx_list_t * | linphone_core_get_video_codecs (const LinphoneCore *core) |
Returns the list of available video codecs. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_set_video_codecs (LinphoneCore *core, bctbx_list_t *codecs) |
Sets the list of video codecs. More... | |
MS2_DEPRECATED const bctbx_list_t * | linphone_core_get_text_codecs (const LinphoneCore *core) |
Returns the list of available text codecs. More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_set_text_codecs (LinphoneCore *core, bctbx_list_t *codecs) |
Sets the list of text codecs. More... | |
MS2_DEPRECATED bool_t | linphone_core_payload_type_enabled (const LinphoneCore *core, const OrtpPayloadType *pt) |
Tells whether the specified payload type is enabled. More... | |
MS2_DEPRECATED bool_t | linphone_core_payload_type_is_vbr (const LinphoneCore *core, const OrtpPayloadType *pt) |
Tells whether the specified payload type represents a variable bitrate codec. More... | |
MS2_DEPRECATED void | linphone_core_set_payload_type_bitrate (LinphoneCore *core, OrtpPayloadType *pt, int bitrate) |
Set an explicit bitrate (IP bitrate, not codec bitrate) for a given codec, in kbit/s. More... | |
MS2_DEPRECATED int | linphone_core_get_payload_type_bitrate (LinphoneCore *core, const OrtpPayloadType *pt) |
Get the bitrate explicitely set with linphone_core_set_payload_type_bitrate(). More... | |
MS2_DEPRECATED LinphoneStatus | linphone_core_enable_payload_type (LinphoneCore *core, OrtpPayloadType *pt, bool_t enable) |
Enable or disable the use of the specified payload type. More... | |
MS2_DEPRECATED OrtpPayloadType * | linphone_core_find_payload_type (LinphoneCore *core, const char *type, int rate, int channels) |
Get payload type from mime type and clock rate. More... | |
MS2_DEPRECATED int | linphone_core_get_payload_type_number (LinphoneCore *core, const OrtpPayloadType *pt) |
Returns the payload type number assigned for this codec. More... | |
MS2_DEPRECATED void | linphone_core_set_payload_type_number (LinphoneCore *core, OrtpPayloadType *pt, int number) |
Force a number for a payload type. More... | |
MS2_DEPRECATED bool_t | linphone_core_check_payload_type_usability (LinphoneCore *core, const OrtpPayloadType *pt) |
Return TRUE if codec can be used with bandwidth, FALSE else. More... | |
MS2_DEPRECATED const char ** | linphone_core_get_sound_devices (LinphoneCore *core) |
Gets the list of the available sound devices. More... | |
MS2_DEPRECATED bool_t | linphone_core_sound_device_can_capture (LinphoneCore *core, const char *device) |
Tells whether a specified sound device can capture sound. More... | |
MS2_DEPRECATED bool_t | linphone_core_sound_device_can_playback (LinphoneCore *core, const char *device) |
Tells whether a specified sound device can play sound. More... | |
MS2_DEPRECATED int | linphone_core_get_ring_level (LinphoneCore *core) |
Get ring sound level in 0-100 scale. More... | |
MS2_DEPRECATED int | linphone_core_get_play_level (LinphoneCore *core) |
Get playback sound level in 0-100 scale. More... | |
MS2_DEPRECATED int | linphone_core_get_rec_level (LinphoneCore *core) |
Get sound capture level in 0-100 scale. More... | |
MS2_DEPRECATED int | linphone_core_get_media_level (LinphoneCore *core) |
Get sound media level in 0-100 scale. More... | |
MS2_DEPRECATED void | linphone_core_set_ring_level (LinphoneCore *core, int level) |
Set sound ring level in 0-100 scale. More... | |
MS2_DEPRECATED void | linphone_core_set_play_level (LinphoneCore *core, int level) |
Set sound playback level in 0-100 scale. More... | |
MS2_DEPRECATED void | linphone_core_set_rec_level (LinphoneCore *core, int level) |
Set sound capture level in 0-100 scale. More... | |
MS2_DEPRECATED void | linphone_core_set_media_level (LinphoneCore *core, int level) |
Set sound media level in 0-100 scale. More... | |
MS2_DEPRECATED void | linphone_core_enable_video (LinphoneCore *core, bool_t vcap_enabled, bool_t display_enabled) |
Enables video globally. More... | |
MS2_DEPRECATED void | linphone_core_set_video_policy (LinphoneCore *core, const LinphoneVideoPolicy *policy) |
Sets the default policy for video. More... | |
MS2_DEPRECATED const LinphoneVideoPolicy * | linphone_core_get_video_policy (const LinphoneCore *core) |
Get the default policy for video. More... | |
MS2_DEPRECATED const MSVideoSizeDef * | linphone_core_get_supported_video_sizes (LinphoneCore *core) |
Returns the zero terminated table of supported video resolutions. More... | |
MS2_DEPRECATED void | linphone_core_set_preferred_video_size (LinphoneCore *core, MSVideoSize vsize) |
Sets the preferred video size. More... | |
MS2_DEPRECATED void | linphone_core_set_preview_video_size (LinphoneCore *core, MSVideoSize vsize) |
Sets the video size for the captured (preview) video. More... | |
MS2_DEPRECATED void | linphone_core_set_preview_video_size_by_name (LinphoneCore *core, const char *name) |
Sets the preview video size by its name. More... | |
MS2_DEPRECATED MSVideoSize | linphone_core_get_preview_video_size (const LinphoneCore *core) |
Returns video size for the captured video if it was previously set by linphone_core_set_preview_video_size(), otherwise returns a 0,0 size. More... | |
MS2_DEPRECATED MSVideoSize | linphone_core_get_current_preview_video_size (const LinphoneCore *core) |
Returns the effective video size for the captured video as provided by the camera. More... | |
MS2_DEPRECATED MSVideoSize | linphone_core_get_preferred_video_size (const LinphoneCore *core) |
Returns the current preferred video size for sending. More... | |
MS2_DEPRECATED void | linphone_core_set_preferred_video_size_by_name (LinphoneCore *core, const char *name) |
Sets the preferred video size by its name. More... | |
MS2_DEPRECATED const char ** | linphone_core_get_video_devices (const LinphoneCore *core) |
Gets the list of the available video capture devices. More... | |
MS2_DEPRECATED const char ** | linphone_core_get_supported_file_formats (LinphoneCore *core) |
Returns a null terminated table of strings containing the file format extension supported for call recording. More... | |
const char * | linphone_media_encryption_to_string (LinphoneMediaEncryption media_encryption) |
Convert enum member to string. More... | |
const char * | linphone_media_direction_to_string (LinphoneMediaDirection media_direction) |
Convert enum member to string. More... | |
int | linphone_media_encryption_from_string (const char *value) |
Convert string to enum member. More... | |
LinphoneVideoDefinition * | linphone_video_definition_ref (LinphoneVideoDefinition *video_definition) |
Acquire a reference to the video definition. More... | |
void | linphone_video_definition_unref (LinphoneVideoDefinition *video_definition) |
Release reference to the video definition. More... | |
void * | linphone_video_definition_get_user_data (const LinphoneVideoDefinition *video_definition) |
Retrieve the user pointer associated with the video definition. More... | |
void | linphone_video_definition_set_user_data (LinphoneVideoDefinition *video_definition, void *user_data) |
Assign a user pointer to the video definition. More... | |
LinphoneVideoDefinition * | linphone_video_definition_clone (const LinphoneVideoDefinition *video_definition) |
Clone a video definition. More... | |
unsigned int | linphone_video_definition_get_width (const LinphoneVideoDefinition *video_definition) |
Get the width of the video definition. More... | |
void | linphone_video_definition_set_width (LinphoneVideoDefinition *video_definition, unsigned int width) |
Set the width of the video definition. More... | |
unsigned int | linphone_video_definition_get_height (const LinphoneVideoDefinition *video_definition) |
Get the height of the video definition. More... | |
void | linphone_video_definition_set_height (LinphoneVideoDefinition *video_definition, unsigned int height) |
Set the height of the video definition. More... | |
void | linphone_video_definition_set_definition (LinphoneVideoDefinition *video_definition, unsigned int width, unsigned int height) |
Set the width and the height of the video definition. More... | |
const char * | linphone_video_definition_get_name (const LinphoneVideoDefinition *video_definition) |
Get the name of the video definition. More... | |
void | linphone_video_definition_set_name (LinphoneVideoDefinition *video_definition, const char *name) |
Set the name of the video definition. More... | |
bool_t | linphone_video_definition_equals (const LinphoneVideoDefinition *video_definition1, const LinphoneVideoDefinition *video_definition2) |
Tells whether two LinphoneVideoDefinition objects are equal (the widths and the heights are the same but can be switched). More... | |
bool_t | linphone_video_definition_strict_equals (const LinphoneVideoDefinition *video_definition1, const LinphoneVideoDefinition *video_definition2) |
Tells whether two LinphoneVideoDefinition objects are strictly equal (the widths are the same and the heights are the same). More... | |
bool_t | linphone_video_definition_is_undefined (const LinphoneVideoDefinition *video_definition) |
Tells whether a LinphoneVideoDefinition is undefined. More... | |
void * | linphone_call_get_native_video_window_id (const LinphoneCall *call) |
Get the native window handle of the video window, casted as an unsigned long. More... | |
void * | linphone_call_create_native_video_window_id (const LinphoneCall *call) |
Create a native video window id where the video is to be displayed. More... | |
void | linphone_call_set_native_video_window_id (LinphoneCall *call, void *window_id) |
Set the native video window id where the video is to be displayed. More... | |
void | linphone_call_enable_echo_cancellation (LinphoneCall *call, bool_t enable) |
Enables or disable echo cancellation for this call. More... | |
bool_t | linphone_call_echo_cancellation_enabled (const LinphoneCall *call) |
Returns if echo cancellation is enabled. More... | |
void | linphone_call_enable_echo_limiter (LinphoneCall *call, bool_t enable) |
Enables or disable echo limiter for this call. More... | |
bool_t | linphone_call_echo_limiter_enabled (const LinphoneCall *call) |
Returns if echo limiter is enabled. More... | |
LinphonePayloadType * | linphone_payload_type_clone (const LinphonePayloadType *orig) |
Instantiates a new payload type with values from source. More... | |
LinphonePayloadType * | linphone_payload_type_ref (LinphonePayloadType *payload_type) |
Take a reference on a LinphonePayloadType. More... | |
void | linphone_payload_type_unref (LinphonePayloadType *payload_type) |
Release a reference on a LinphonePayloadType. More... | |
int | linphone_payload_type_get_type (const LinphonePayloadType *payload_type) |
Get the type of a payload type. More... | |
int | linphone_payload_type_enable (LinphonePayloadType *payload_type, bool_t enabled) |
Enable/disable a payload type. More... | |
bool_t | linphone_payload_type_enabled (const LinphonePayloadType *payload_type) |
Check whether a palyoad type is enabled. More... | |
const char * | linphone_payload_type_get_description (const LinphonePayloadType *payload_type) |
Return a string describing a payload type. More... | |
const char * | linphone_payload_type_get_encoder_description (const LinphonePayloadType *payload_type) |
Get a description of the encoder used to provide a payload type. More... | |
int | linphone_payload_type_get_normal_bitrate (const LinphonePayloadType *payload_type) |
Get the normal bitrate in bits/s. More... | |
void | linphone_payload_type_set_normal_bitrate (LinphonePayloadType *payload_type, int bitrate) |
Change the normal bitrate of a payload type. More... | |
const char * | linphone_payload_type_get_mime_type (const LinphonePayloadType *payload_type) |
Get the mime type. More... | |
int | linphone_payload_type_get_channels (const LinphonePayloadType *payload_type) |
Get the number of channels. More... | |
int | linphone_payload_type_get_number (const LinphonePayloadType *payload_type) |
Returns the payload type number assigned for this codec. More... | |
void | linphone_payload_type_set_number (LinphonePayloadType *payload_type, int number) |
Force a number for a payload type. More... | |
const char * | linphone_payload_type_get_recv_fmtp (const LinphonePayloadType *payload_type) |
Get the format parameters for incoming streams. More... | |
void | linphone_payload_type_set_recv_fmtp (LinphonePayloadType *payload_type, const char *recv_fmtp) |
Set the format parameters for incoming streams. More... | |
const char * | linphone_payload_type_get_send_fmtp (const LinphonePayloadType *payload_type) |
Get the format parameters for outgoing streams. More... | |
void | linphone_payload_type_set_send_fmtp (LinphonePayloadType *payload_type, const char *send_fmtp) |
Set the format parameters for outgoing streams. More... | |
int | linphone_payload_type_get_clock_rate (const LinphonePayloadType *payload_type) |
Get the clock rate of a payload type. More... | |
bool_t | linphone_payload_type_is_vbr (const LinphonePayloadType *payload_type) |
Tells whether the specified payload type represents a variable bitrate codec. More... | |
bool_t | linphone_payload_type_is_usable (const LinphonePayloadType *payload_type) |
Check whether the payload is usable according the bandwidth targets set in the core. More... | |
bool_t | linphone_payload_type_weak_equals (const LinphonePayloadType *payload_type, const LinphonePayloadType *other_payload_type) |
Compare two payload types, and returns true if they are equal. More... | |
Controlling media parameters.
Multicast
Call using rtp multicast addresses are supported for both audio and video with some limitations. Limitations are, no stun, no ice, no encryption.
typedef enum _LinphoneCodecPriorityPolicy LinphoneCodecPriorityPolicy |
Codec priority policies.
This enum represents different policies for managing offered codec lists during calls, as well as the offer-answer logic. Currently, policies can be applied only for video codecs.
typedef struct _LinphoneVideoActivationPolicy LinphoneVideoActivationPolicy |
Object describing policy regarding video streams establishments.
Use linphone_video_activation_policy_set_automatically_accept() and linphone_video_activation_policy_set_automatically_initiate() to tell the Core to automatically accept or initiate video during calls.
Even if disabled, you'll still be able to add it later while the call is running.
typedef struct _LinphoneVideoDefinition LinphoneVideoDefinition |
This object represents a video definition, eg.
it's width, it's height and possibly it's name.
It is mostly used to configure the default video size sent by your camera during a video call with linphone_core_set_preferred_video_definition() method.
typedef struct _LinphoneVideoPolicy LinphoneVideoPolicy |
Structure describing policy regarding video streams establishments.
enum _LinphoneAVPFMode |
Codec priority policies.
This enum represents different policies for managing offered codec lists during calls, as well as the offer-answer logic. Currently, policies can be applied only for video codecs.
Enumerator | |
---|---|
LinphoneCodecPriorityPolicyBasic | In this mode, codecs have initial default ordering, that can be changed by the application The answerer of a call accepts codecs with the order given in the offer. |
LinphoneCodecPriorityPolicyAuto | In this mode, the codec list is managed by the LinphoneCore according to hardware capabilities in the goal of optimizing video quality and user experience. The answerer of call may re-order the offerer's list in its answer in order to give preference to certain codecs. |
Enum describing the result of the echo canceller calibration process.
void* linphone_call_create_native_video_window_id | ( | const LinphoneCall * | call | ) |
Create a native video window id where the video is to be displayed.
call | the LinphoneCall object |
bool_t linphone_call_echo_cancellation_enabled | ( | const LinphoneCall * | call | ) |
Returns if echo cancellation is enabled.
call | the LinphoneCall object |
bool_t linphone_call_echo_limiter_enabled | ( | const LinphoneCall * | call | ) |
Returns if echo limiter is enabled.
call | the LinphoneCall object |
void linphone_call_enable_echo_cancellation | ( | LinphoneCall * | call, |
bool_t | enable | ||
) |
Enables or disable echo cancellation for this call.
call | the LinphoneCall object |
enable | wether to enable echo cancellation or not. |
void linphone_call_enable_echo_limiter | ( | LinphoneCall * | call, |
bool_t | enable | ||
) |
Enables or disable echo limiter for this call.
call | the LinphoneCall object |
enable | wether to enable echo limiter or not. |
void* linphone_call_get_native_video_window_id | ( | const LinphoneCall * | call | ) |
Get the native window handle of the video window, casted as an unsigned long.
call | the LinphoneCall object |
void linphone_call_params_add_custom_content | ( | LinphoneCallParams * | params, |
LinphoneContent * | content | ||
) |
Adds a LinphoneContent to be added to the INVITE SDP.
params | The LinphoneCallParams in which to set the custom LinphoneContent. |
content | The LinphoneContent to be added. |
void linphone_call_params_add_custom_sdp_attribute | ( | LinphoneCallParams * | params, |
const char * | attribute_name, | ||
const char * | attribute_value | ||
) |
Add a custom attribute related to all the streams in the SDP exchanged within SIP messages during a call.
params | The LinphoneCallParams to add a custom SDP attribute to. |
attribute_name | The name of the attribute to add. |
attribute_value | The content value of the attribute to add. |
void linphone_call_params_add_custom_sdp_media_attribute | ( | LinphoneCallParams * | params, |
LinphoneStreamType | type, | ||
const char * | attribute_name, | ||
const char * | attribute_value | ||
) |
Add a custom attribute related to a specific stream in the SDP exchanged within SIP messages during a call.
params | The LinphoneCallParams to add a custom SDP attribute to. |
type | The type of the stream to add a custom SDP attribute to. |
attribute_name | The name of the attribute to add. |
attribute_value | The content value of the attribute to add. |
bool_t linphone_call_params_audio_multicast_enabled | ( | const LinphoneCallParams * | params | ) |
Use to get multicast state of audio stream.
params | LinphoneCallParams |
bool_t linphone_call_params_capability_negotiation_reinvite_enabled | ( | const LinphoneCallParams * | params | ) |
Check if the capability negotiation (RFC5939) reINVITE is enabled or not.
params | the LinphoneCallParams |
bool_t linphone_call_params_capability_negotiations_enabled | ( | const LinphoneCallParams * | params | ) |
Indicates whether capability negotiations (RFC5939) is enabled.
params | the LinphoneCallParams |
bool_t linphone_call_params_cfg_lines_merged | ( | const LinphoneCallParams * | params | ) |
Indicates whether cfg lines with consecutive indexes are going to be merged or not if capability negotiations (RFC5939) is enabled.
params | the LinphoneCallParams |
void linphone_call_params_clear_custom_sdp_attributes | ( | LinphoneCallParams * | params | ) |
Clear the custom SDP attributes related to all the streams in the SDP exchanged within SIP messages during a call.
params | The LinphoneCallParams to clear the custom SDP attributes from. |
void linphone_call_params_clear_custom_sdp_media_attributes | ( | LinphoneCallParams * | params, |
LinphoneStreamType | type | ||
) |
Clear the custom SDP attributes related to a specific stream in the SDP exchanged within SIP messages during a call.
params | The LinphoneCallParams to clear the custom SDP attributes from. |
type | The type of the stream to clear the custom SDP attributes from. |
void linphone_call_params_enable_audio_multicast | ( | LinphoneCallParams * | params, |
bool_t | yesno | ||
) |
Use to enable multicast rtp for audio stream.
params | LinphoneCallParams |
yesno | if yes, subsequent calls will propose multicast ip set by linphone_core_set_audio_multicast_addr() |
void linphone_call_params_enable_capability_negotiation_reinvite | ( | LinphoneCallParams * | params, |
bool_t | enable | ||
) |
Define whether capability negotiation (RFC5939) reINVITE is enabled.
params | the LinphoneCallParams |
enable | TRUE to enable capability negotiation reINVITE; FALSE otherwise. |
void linphone_call_params_enable_mic | ( | LinphoneCallParams * | params, |
bool_t | enable | ||
) |
Enable or disable the microphone at the call creation.
params | LinphoneCallParams object |
enable | TRUE to enable the microphone, FALSE to disable it. |
LinphoneStatus linphone_call_params_enable_realtime_text | ( | LinphoneCallParams * | params, |
bool_t | yesno | ||
) |
Use to enable real time text following rfc4103.
If enabled, outgoing calls put a m=text line in SDP offer .
params | LinphoneCallParams |
yesno | if yes, subsequent outgoing calls will propose rtt |
MS2_DEPRECATED void linphone_call_params_enable_rtp_bundle | ( | LinphoneCallParams * | params, |
bool_t | value | ||
) |
Enables or disables RTP bundle mode (Media Multiplexing).
See https://datatracker.ietf.org/doc/html/rfc8843 for more information about the feature. When enabled, liblinphone will try to negociate the use of a single port for all streams. It automatically enables rtcp-mux.
params | the LinphoneCallParams |
value | a boolean to indicate whether the feature is to be enabled. |
void linphone_call_params_enable_tone_indications | ( | LinphoneCallParams * | params, |
bool_t | enable | ||
) |
Define whether tone indications are enabled.
params | the LinphoneCallParams |
enable | TRUE to enable tone indications; FALSE otherwise. |
void linphone_call_params_enable_video_multicast | ( | LinphoneCallParams * | params, |
bool_t | yesno | ||
) |
Use to enable multicast rtp for video stream.
If enabled, outgoing calls put a multicast address from linphone_core_get_video_multicast_addr() into video cline. In case of outgoing call video stream is sent to this multicast address.
For incoming calls behavior is unchanged.
params | LinphoneCallParams |
yesno | if yes, subsequent outgoing calls will propose multicast ip set by linphone_core_set_video_multicast_addr() |
bctbx_list_t* linphone_call_params_get_custom_contents | ( | const LinphoneCallParams * | params | ) |
Gets a list of LinphoneContent set if exists.
params | The LinphoneCallParams to get the custom Content from. |
const char* linphone_call_params_get_custom_sdp_attribute | ( | const LinphoneCallParams * | params, |
const char * | attribute_name | ||
) |
Get a custom SDP attribute that is related to all the streams.
params | The LinphoneCallParams to get the custom SDP attribute from. |
attribute_name | The name of the attribute to get. |
const char* linphone_call_params_get_custom_sdp_media_attribute | ( | const LinphoneCallParams * | params, |
LinphoneStreamType | type, | ||
const char * | attribute_name | ||
) |
Get a custom SDP attribute that is related to a specific stream.
params | The LinphoneCallParams to get the custom SDP attribute from. |
type | The type of the stream to add a custom SDP attribute to. |
attribute_name | The name of the attribute to get. |
unsigned int linphone_call_params_get_realtime_text_keepalive_interval | ( | const LinphoneCallParams * | params | ) |
Use to get keep alive interval of real time text following rfc4103.
params | LinphoneCallParams |
bctbx_list_t* linphone_call_params_get_srtp_suites | ( | const LinphoneCallParams * | call_params | ) |
Returns the list of enable srtp suite in the call (enforced only if SDES is the selected encryption mode)
call_params | the LinphoneCallParams |
bctbx_list_t* linphone_call_params_get_supported_encryptions | ( | const LinphoneCallParams * | params | ) |
Returns the list of supported encryptions in the call.
params | the LinphoneCallParams |
bool_t linphone_call_params_has_custom_sdp_attribute | ( | const LinphoneCallParams * | params, |
const char * | attribute_name | ||
) |
Returns TRUE if a custom SDP attribute that is related to all the streams is present.
params | The LinphoneCallParams to get the custom SDP attribute from. |
attribute_name | The name of the attribute to get. |
bool_t linphone_call_params_has_custom_sdp_media_attribute | ( | const LinphoneCallParams * | params, |
LinphoneStreamType | type, | ||
const char * | attribute_name | ||
) |
Indicates whether a custom SDP attribute that is related to a specific stream is present or not.
params | The LinphoneCallParams to get the custom SDP attribute from. |
type | The type of the stream to add a custom SDP attribute to. |
attribute_name | The name of the attribute to get. |
MS2_DEPRECATED bool_t linphone_call_params_is_capability_negotiation_reinvite_enabled | ( | const LinphoneCallParams * | params | ) |
Check if the capability negotiation (RFC5939) reINVITE is enabled or not.
params | the LinphoneCallParams |
bool_t linphone_call_params_is_media_encryption_supported | ( | const LinphoneCallParams * | params, |
const LinphoneMediaEncryption | encryption | ||
) |
Returns the encryption is supported.
params | the LinphoneCallParams |
encryption | The LinphoneMediaEncryption to check whether is supported |
bool_t linphone_call_params_mic_enabled | ( | const LinphoneCallParams * | params | ) |
Tells whether the microphone will be enabled when the call will be created.
params | LinphoneCallParams object |
bool_t linphone_call_params_realtime_text_enabled | ( | const LinphoneCallParams * | params | ) |
Use to get real time text following rfc4103.
params | LinphoneCallParams |
bool_t linphone_call_params_rtp_bundle_enabled | ( | const LinphoneCallParams * | params | ) |
Indicates whether RTP bundle mode (also known as Media Multiplexing) is enabled.
See https://datatracker.ietf.org/doc/html/rfc8843 for more information.
params | the LinphoneCallParams |
void linphone_call_params_set_realtime_text_keepalive_interval | ( | LinphoneCallParams * | params, |
unsigned int | interval | ||
) |
Use to set keep alive interval for real time text following rfc4103.
params | LinphoneCallParams |
interval | The keep alive interval for real time text, 25000 by default. |
void linphone_call_params_set_srtp_suites | ( | LinphoneCallParams * | call_params, |
bctbx_list_t * | srtpSuites | ||
) |
Sets the list of srtp suite enabled(enforced only when SDES is the encryption mode)
call_params | LinphoneCallParams object |
srtpSuites | list with the list of SRTP encryption suites enabled in a given call |
bool_t linphone_call_params_tcap_lines_merged | ( | const LinphoneCallParams * | params | ) |
Indicates whether tcap lines with consecutive indexes are going to be merged or not if capability negotiations (RFC5939) is enabled.
params | the LinphoneCallParams |
bool_t linphone_call_params_tone_indications_enabled | ( | const LinphoneCallParams * | params | ) |
Check if tone indications are enabled.
params | the LinphoneCallParams |
bool_t linphone_call_params_video_multicast_enabled | ( | const LinphoneCallParams * | params | ) |
Use to get multicast state of video stream.
params | LinphoneCallParams |
void linphone_call_set_native_video_window_id | ( | LinphoneCall * | call, |
void * | window_id | ||
) |
Set the native video window id where the video is to be displayed.
For MacOS, Linux, Windows: if not set or 0 a window will be automatically created, unless the special id -1 is given.
call | the LinphoneCall object |
window_id | the native video window id. |
bool_t linphone_core_adaptive_rate_control_enabled | ( | const LinphoneCore * | core | ) |
Returns whether adaptive rate control is enabled.
core | the LinphoneCore |
bool_t linphone_core_agc_enabled | ( | const LinphoneCore * | core | ) |
Tells whether the experimental software Automatic Gain Control is activated.
This algorithm is very experimental, not usable in its current state.
core | LinphoneCore object. |
bool_t linphone_core_audio_adaptive_jittcomp_enabled | ( | LinphoneCore * | core | ) |
Tells whether the audio adaptive jitter compensation is enabled.
core | LinphoneCore object |
bool_t linphone_core_audio_multicast_enabled | ( | const LinphoneCore * | core | ) |
Use to get multicast state of audio stream.
core | LinphoneCore |
bool_t linphone_core_call_tone_indications_enabled | ( | const LinphoneCore * | lc | ) |
Check whether tone indications of calls are enabled.
core | LinphoneCore |
bool_t linphone_core_capability_negociation_enabled | ( | const LinphoneCore * | core | ) |
Check if the capability negotiation (RFC5939) is supported or not.
core | LinphoneCore object. |
bool_t linphone_core_capability_negotiation_reinvite_enabled | ( | const LinphoneCore * | core | ) |
Check if the capability negotiation (RFC5939) reINVITE is enabled or not.
core | LinphoneCore object. |
bool_t linphone_core_cfg_lines_merging_enabled | ( | const LinphoneCore * | core | ) |
Check if cfg lines are going to the merged if the capability negotiation (RFC5939) is supported or not.
core | LinphoneCore object. |
MS2_DEPRECATED bool_t linphone_core_check_payload_type_usability | ( | LinphoneCore * | core, |
const OrtpPayloadType * | pt | ||
) |
Return TRUE if codec can be used with bandwidth, FALSE else.
void* linphone_core_create_native_preview_window_id | ( | LinphoneCore * | core | ) |
Create a native window handle for the video preview window.
see linphone_core_set_native_video_window_id() for details about window_id
MSQOgl can be used for the creation. linphone_core_create_native_preview_window_id() returns a #QQuickFramebufferObject::Renderer. This object must be returned by your QQuickFramebufferObject::createRenderer() overload for Qt. linphone_core_set_native_preview_window_id() must be called with this object after the creation. Note : Qt blocks GUI thread when calling createRenderer(), so it is safe to call linphone functions there if needed.
core | LinphoneCore object |
void* linphone_core_create_native_video_window_id | ( | const LinphoneCore * | core | ) |
Create a native window handle for the video window.
see linphone_core_set_native_video_window_id() for details about window_id
MSQOgl can be used for the creation. linphone_core_create_native_video_window_id() returns a #QQuickFramebufferObject::Renderer. This object must be returned by your QQuickFramebufferObject::createRenderer() overload for Qt. linphone_core_set_native_video_window_id() must be called with this object after the creation. Note : Qt blocks GUI thread when calling createRenderer(), so it is safe to call linphone functions there if needed.
core | LinphoneCore object |
bool_t linphone_core_dns_search_enabled | ( | const LinphoneCore * | core | ) |
Tells whether DNS search (use of local domain if the fully qualified name did return results) is enabled.
core | LinphoneCore object. |
bool_t linphone_core_dns_srv_enabled | ( | const LinphoneCore * | core | ) |
Tells whether DNS SRV resolution is enabled.
core | LinphoneCore object. |
bool_t linphone_core_echo_cancellation_enabled | ( | const LinphoneCore * | core | ) |
Returns TRUE if echo cancellation is enabled.
core | LinphoneCore object |
bool_t linphone_core_echo_limiter_enabled | ( | const LinphoneCore * | core | ) |
Tells whether echo limiter is enabled.
Enables or disable echo limiter. "Echo limiter" refers to an algorithm that creates half-duplex conversation in order to suppress echo. It is experimental and shall be used only in rare cases where echo cancellation cannot perform because of non-linear speaker/mic coupling. You shall not expected good audio quality with the echo limiter.
core | LinphoneCore object. |
void linphone_core_enable_adaptive_rate_control | ( | LinphoneCore * | core, |
bool_t | enabled | ||
) |
Enable adaptive rate control.
Adaptive rate control consists in using RTCP feedback provided information to dynamically control the output bitrate of the audio and video encoders, so that we can adapt to the network conditions and available bandwidth. Control of the audio encoder is done in case of audio-only call, and control of the video encoder is done for audio & video calls. Adaptive rate control feature is enabled by default.
core | the LinphoneCore |
enabled | TRUE to enable adaptive rate control, FALSE otherwise |
void linphone_core_enable_agc | ( | LinphoneCore * | core, |
bool_t | val | ||
) |
Enable the experimental software Automatic Gain Control.
This algorithm is very experimental, not usable in its current state. Automatic Gain Control is usally provided by sound devices, typically on iOS and Android.
core | LinphoneCore object. |
val | a boolean value |
void linphone_core_enable_audio_adaptive_jittcomp | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable the audio adaptive jitter compensation.
core | LinphoneCore object |
enable | TRUE to enable the audio adaptive jitter compensation, FALSE to disable it. |
void linphone_core_enable_audio_multicast | ( | LinphoneCore * | core, |
bool_t | yesno | ||
) |
Use to enable multicast rtp for audio stream.
If enabled, outgoing calls put a multicast address from linphone_core_get_video_multicast_addr() into audio cline. In case of outgoing call audio stream is sent to this multicast address. For incoming calls behavior is unchanged.
core | LinphoneCore |
yesno | if yes, subsequent calls will propose multicast ip set by linphone_core_set_audio_multicast_addr() |
void linphone_core_enable_call_tone_indications | ( | const LinphoneCore * | lc, |
bool_t | yesno | ||
) |
Enables or disables call tone indications.
This value is taken into account from next tine call parameters are created. This feature can also be enabled per-call using LinphoneCallParams.
core | the LinphoneCore |
value | a boolean to indicate whether the feature is to be enabled. |
void linphone_core_enable_capability_negociation | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Define whether capability negotiation (RFC5939) is supported.
core | LinphoneCore object. |
support | TRUE to support RFC5939; FALSE otherwise. |
void linphone_core_enable_capability_negotiation_reinvite | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Define whether capability negotiation (RFC5939) reINVITE is enabled.
core | LinphoneCore object. |
enable | TRUE to enable capability negotiation reINVITE; FALSE otherwise. |
void linphone_core_enable_cfg_lines_merging | ( | LinphoneCore * | core, |
bool_t | merge | ||
) |
Define whether cfg lines are going to be merged if capability negotiation (RFC5939) is supported.
core | LinphoneCore object. |
merge | TRUE to merge acfg and pcfg lines with consecutive indexes; FALSE otherwise. |
void linphone_core_enable_dns_search | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable DNS search (use of local domain if the fully qualified name did return results).
core | LinphoneCore object. |
enable | TRUE to enable DNS search, FALSE to disable it. |
void linphone_core_enable_dns_srv | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable DNS SRV resolution.
core | LinphoneCore object. |
enable | TRUE to enable DNS SRV resolution, FALSE to disable it. |
void linphone_core_enable_echo_cancellation | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enables or disable echo cancellation.
Value is saved and used for subsequent calls. This actually controls software echo cancellation only. When 'enable' is set to FALSE, software echo cancellation is disabled, but hardware one, if available, remains activated. When set to TRUE, software echo cancellation is activated in either of these two conditions:
core | LinphoneCore object |
enable | A boolean value telling whether echo cancellation is to be enabled or disabled. |
void linphone_core_enable_echo_limiter | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enables or disable echo limiter.
"Echo limiter" refers to an algorithm that creates half-duplex conversation in order to suppress echo. It is experimental and shall be used only in rare cases where echo cancellation cannot perform because of non-linear speaker/mic coupling. You shall not expected good audio quality with the echo limiter.
core | LinphoneCore object. |
enable | TRUE to enable echo limiter, FALSE to disable it. |
void linphone_core_enable_generic_comfort_noise | ( | LinphoneCore * | core, |
bool_t | enabled | ||
) |
Enable RFC3389 generic comfort noise algorithm (CN payload type).
It is disabled by default, because this algorithm is only relevant for legacy codecs (PCMU, PCMA, G722). Enablement requires a SDK built with full G729 support: -DENABLE_G729=ON -DENABLE_G729B_CNG=ON .
core | LinphoneCore object |
enabled | TRUE if enabled, FALSE otherwise. |
void linphone_core_enable_mic | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable the microphone.
This effectively enable or disable microphone (mute) for currently the running call or conference if any, as well as it applies to future currently running calls or conferences.
core | LinphoneCore object |
enable | TRUE to enable the microphone, FALSE to disable it. |
void linphone_core_enable_native_ringing | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Sets whether to use the native ringing (Android only).
core | LinphoneCore object |
enable | True to enable native ringing, false otherwise |
MS2_DEPRECATED LinphoneStatus linphone_core_enable_payload_type | ( | LinphoneCore * | core, |
OrtpPayloadType * | pt, | ||
bool_t | enable | ||
) |
Enable or disable the use of the specified payload type.
core | LinphoneCore object. |
pt | The payload type to enable or disable. It can be retrieved using linphone_core_find_payload_type() |
enable | TRUE to enable the payload type, FALSE to disable it. |
void linphone_core_enable_qrcode_video_preview | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Controls QRCode enablement.
core | LinphoneCore object |
enable | A boolean value telling whether the QRCode is enabled in the preview. |
void linphone_core_enable_retransmission_on_nack | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Turns NACK context on or off.
core | LinphoneCore object |
enable | A boolean value telling whether to enable NACK context |
void linphone_core_enable_rtp_bundle | ( | LinphoneCore * | core, |
bool_t | value | ||
) |
Enables or disables RTP bundle mode (Media Multiplexing).
See https://datatracker.ietf.org/doc/html/rfc8843 for more information about the feature. When enabled, liblinphone will try to negociate the use of a single port for all streams when doing an outgoing call. It automatically enables rtcp-mux. This feature can also be enabled per-call using LinphoneCallParams.
core | the LinphoneCore |
value | a boolean to indicate whether the feature is to be enabled. |
void linphone_core_enable_self_view | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enables or disable self view during calls.
core | LinphoneCore object |
enable | A boolean value telling whether to enable self view Self-view refers to having local webcam image inserted in corner of the video window during calls. This function works at any time, including during calls. |
void linphone_core_enable_session_expires | ( | const LinphoneCore * | core, |
bool_t | enabled | ||
) |
Enable the Session Timers support.
core | LinphoneCore object |
enabled | Enable or disable it |
void linphone_core_enable_tcap_line_merging | ( | LinphoneCore * | core, |
bool_t | merge | ||
) |
Define whether tcap lines are going to be merged if capability negotiation (RFC5939) is supported.
core | LinphoneCore object. |
merge | TRUE to merge tcap lines with consecutive indexes; FALSE otherwise. |
MS2_DEPRECATED void linphone_core_enable_video | ( | LinphoneCore * | core, |
bool_t | vcap_enabled, | ||
bool_t | display_enabled | ||
) |
Enables video globally.
This function does not have any effect during calls. It just indicates LinphoneCore to initiate future calls with video or not. The two boolean parameters indicate in which direction video is enabled. Setting both to false disables video entirely.
core | The LinphoneCore object |
vcap_enabled | indicates whether video capture is enabled |
display_enabled | indicates whether video display should be shown |
void linphone_core_enable_video_adaptive_jittcomp | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable the video adaptive jitter compensation.
core | LinphoneCore object |
enable | TRUE to enable the video adaptive jitter compensation, FALSE to disable it. |
void linphone_core_enable_video_capture | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable video capture.
This function does not have any effect during calls. It just indicates the LinphoneCore to initiate future calls with video capture or not.
core | LinphoneCore object. |
enable | TRUE to enable video capture, FALSE to disable it. |
void linphone_core_enable_video_display | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable video display.
This function does not have any effect during calls. It just indicates the LinphoneCore to initiate future calls with video display or not.
core | LinphoneCore object. |
enable | TRUE to enable video display, FALSE to disable it. |
void linphone_core_enable_video_multicast | ( | LinphoneCore * | core, |
bool_t | yesno | ||
) |
Use to enable multicast rtp for video stream.
If enabled, outgoing calls put a multicast address from linphone_core_get_video_multicast_addr() into video cline. In case of outgoing call video stream is sent to this multicast address. For incoming calls behavior is unchanged.
core | LinphoneCore |
yesno | if yes, subsequent outgoing calls will propose multicast ip set by linphone_core_set_video_multicast_addr() |
void linphone_core_enable_video_preview | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Controls video preview enablement.
core | LinphoneCore object |
enable | A boolean value telling whether the video preview is to be shown Video preview refers to the action of displaying the local webcam image to the user while not in call. |
void linphone_core_enable_video_source_reuse | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable video source reuse when switching from preview to actual video call.
This source reuse is useful when you always display the preview, even before calls are initiated. By keeping the video source for the transition to a real video call, you will smooth out the source close/reopen cycle.
This function does not have any effect durfing calls. It just indicates the LinphoneCore to initiate future calls with video source reuse or not. Also, at the end of a video call, the source will be closed whatsoever for now.
core | LinphoneCore object |
enable | TRUE to enable video source reuse. FALSE to disable it for subsequent calls. |
void linphone_core_enable_zero_rtp_port_for_stream_inactive | ( | LinphoneCore * | lc, |
bool_t | enable | ||
) |
Define whether RTP port is set to 0 when a stream is inactive.
core | LinphoneCore object. |
enable | TRUE to set the RTP port to 0 if the stream direction is inactive; FALSE otherwise. |
bool_t linphone_core_file_format_supported | ( | LinphoneCore * | core, |
const char * | fmt | ||
) |
Returns whether a specific file format is supported.
core | A LinphoneCore object |
fmt | The format extension (wav, mkv). |
MS2_DEPRECATED OrtpPayloadType* linphone_core_find_payload_type | ( | LinphoneCore * | core, |
const char * | type, | ||
int | rate, | ||
int | channels | ||
) |
Get payload type from mime type and clock rate.
This function searches in audio and video codecs for the given payload type name and clockrate.
core | LinphoneCore object |
type | payload mime type (I.E SPEEX, PCMU, VP8) |
rate | can be LINPHONE_FIND_PAYLOAD_IGNORE_RATE |
channels | number of channels, can be LINPHONE_FIND_PAYLOAD_IGNORE_CHANNELS |
bool_t linphone_core_generic_comfort_noise_enabled | ( | const LinphoneCore * | core | ) |
Returns enablement of RFC3389 generic comfort noise algorithm.
core | LinphoneCore object |
const char* linphone_core_get_adaptive_rate_algorithm | ( | const LinphoneCore * | core | ) |
Returns which adaptive rate algorithm is currently configured for future calls.
core | the LinphoneCore |
MS2_DEPRECATED const bctbx_list_t* linphone_core_get_audio_codecs | ( | const LinphoneCore * | core | ) |
Returns the list of available audio codecs.
core | The LinphoneCore object |
This list is unmodifiable. The ->data field of the bctbx_list_t points a PayloadType structure holding the codec information. It is possible to make copy of the list with bctbx_list_copy() in order to modify it (such as the order of codecs).
int linphone_core_get_audio_jittcomp | ( | LinphoneCore * | core | ) |
Returns the nominal audio jitter buffer size in milliseconds.
core | LinphoneCore object |
const char* linphone_core_get_audio_multicast_addr | ( | const LinphoneCore * | core | ) |
Use to get multicast address to be used for audio stream.
core | LinphoneCore |
int linphone_core_get_audio_multicast_ttl | ( | const LinphoneCore * | core | ) |
Use to get multicast ttl to be used for audio stream.
core | LinphoneCore |
bctbx_list_t* linphone_core_get_audio_payload_types | ( | LinphoneCore * | core | ) |
Return the list of the available audio payload types.
core | The core. |
LinphoneAVPFMode linphone_core_get_avpf_mode | ( | const LinphoneCore * | core | ) |
Return AVPF enablement.
See linphone_core_set_avpf_mode() .
core | LinphoneCore object |
int linphone_core_get_avpf_rr_interval | ( | const LinphoneCore * | core | ) |
Return the avpf report interval in seconds.
core | LinphoneCore object |
int linphone_core_get_camera_sensor_rotation | ( | LinphoneCore * | core | ) |
Get the camera sensor rotation.
This is needed on some mobile platforms to get the number of degrees the camera sensor is rotated relative to the screen.
core | The linphone core related to the operation |
const char* linphone_core_get_capture_device | ( | LinphoneCore * | core | ) |
Gets the name of the currently assigned sound device for capture.
core | LinphoneCore object |
LinphoneVideoDefinition* linphone_core_get_current_preview_video_definition | ( | const LinphoneCore * | core | ) |
Get the effective video definition provided by the camera for the captured video.
When preview is disabled or not yet started this function returns a 0x0 video definition.
core | LinphoneCore object |
MS2_DEPRECATED MSVideoSize linphone_core_get_current_preview_video_size | ( | const LinphoneCore * | core | ) |
Returns the effective video size for the captured video as provided by the camera.
When preview is disabled or not yet started, this function returns a zeroed video size.
core | the core |
const char* linphone_core_get_default_video_display_filter | ( | LinphoneCore * | core | ) |
Get the name of the default mediastreamer2 filter used for rendering video on the current platform.
This is for advanced users of the library, mainly to expose mediastreamer video filter name and status.
core | LinphoneCore object |
int linphone_core_get_device_rotation | ( | LinphoneCore * | core | ) |
Gets the current device orientation.
core | LinphoneCore object |
bool_t linphone_core_get_disable_record_on_mute | ( | LinphoneCore * | core | ) |
Get whether the microphone will be completely deactivated when muted.
Please refer to linphone_core_set_disable_record_on_mute().
core | LinphoneCore object |
bool_t linphone_core_get_dns_set_by_app | ( | LinphoneCore * | core | ) |
Tells if the DNS was set by an application.
core | LinphoneCore object. |
int linphone_core_get_download_bandwidth | ( | const LinphoneCore * | core | ) |
Retrieve the maximum available download bandwidth.
This value was set by linphone_core_set_download_bandwidth().
core | the LinphoneCore object |
int linphone_core_get_download_ptime | ( | LinphoneCore * | core | ) |
Get audio packetization time linphone expects to receive from peer.
A value of zero means that ptime is not specified.
core | the LinphoneCore |
int linphone_core_get_echo_cancellation_calibration | ( | const LinphoneCore * | core | ) |
Gets the currently stored calibration delay for the software echo cancellation.
core | LinphoneCore object |
const char* linphone_core_get_echo_canceller_filter_name | ( | const LinphoneCore * | core | ) |
Get the name of the mediastreamer2 filter used for echo cancelling.
core | LinphoneCore object |
const char* linphone_core_get_media_device | ( | LinphoneCore * | core | ) |
Gets the name of the currently assigned sound device for media.
core | LinphoneCore object |
LinphoneMediaEncryption linphone_core_get_media_encryption | ( | const LinphoneCore * | core | ) |
Get the media encryption policy being used for RTP packets.
core | LinphoneCore object. |
MS2_DEPRECATED int linphone_core_get_media_level | ( | LinphoneCore * | core | ) |
Get sound media level in 0-100 scale.
float linphone_core_get_mic_gain_db | ( | LinphoneCore * | core | ) |
void* linphone_core_get_native_preview_window_id | ( | LinphoneCore * | core | ) |
Get the native window handle of the video preview window.
see linphone_core_set_native_video_window_id() for details about window_id
There is a special case for Qt : linphone_core_get_native_preview_window_id() returns a #QQuickFramebufferObject::Renderer. Note : Qt blocks GUI thread when calling createRenderer(), so it is safe to call linphone functions there if needed.
core | LinphoneCore object |
void* linphone_core_get_native_video_window_id | ( | const LinphoneCore * | core | ) |
Get the native window handle of the video window.
see linphone_core_set_native_video_window_id for details about window_id
There is a special case for Qt : linphone_core_get_native_video_window_id() returns a #QQuickFramebufferObject::Renderer. Note : Qt blocks GUI thread when calling createRenderer(), so it is safe to call linphone functions there if needed.
core | LinphoneCore object |
const OrtpNetworkSimulatorParams* linphone_core_get_network_simulator_params | ( | const LinphoneCore * | core | ) |
Get the previously set network simulation parameters.
int linphone_core_get_nortp_timeout | ( | const LinphoneCore * | core | ) |
Gets the value of the no-rtp timeout.
When no RTP or RTCP packets have been received for a while LinphoneCore will consider the call is broken (remote end crashed or disconnected from the network), and thus will terminate the call. The no-rtp timeout is the duration above which the call is considered broken.
core | LinphoneCore object |
LinphonePayloadType* linphone_core_get_payload_type | ( | LinphoneCore * | core, |
const char * | type, | ||
int | rate, | ||
int | channels | ||
) |
Get payload type from mime type and clock rate.
This function searches in audio and video codecs for the given payload type name and clockrate.
core | LinphoneCore object |
type | payload mime type (I.E SPEEX, PCMU, VP8) |
rate | can be LINPHONE_FIND_PAYLOAD_IGNORE_RATE |
channels | number of channels, can be LINPHONE_FIND_PAYLOAD_IGNORE_CHANNELS |
MS2_DEPRECATED int linphone_core_get_payload_type_bitrate | ( | LinphoneCore * | core, |
const OrtpPayloadType * | pt | ||
) |
Get the bitrate explicitely set with linphone_core_set_payload_type_bitrate().
core | the LinphoneCore object |
pt | the payload type to modify. |
MS2_DEPRECATED int linphone_core_get_payload_type_number | ( | LinphoneCore * | core, |
const OrtpPayloadType * | pt | ||
) |
Returns the payload type number assigned for this codec.
const char* linphone_core_get_play_file | ( | const LinphoneCore * | core | ) |
Get the wav file that is played when putting somebody on hold, or when files are used instead of soundcards (see linphone_core_set_use_files()).
The file is a 16 bit linear wav file.
core | LinphoneCore object |
MS2_DEPRECATED int linphone_core_get_play_level | ( | LinphoneCore * | core | ) |
Get playback sound level in 0-100 scale.
const char* linphone_core_get_playback_device | ( | LinphoneCore * | core | ) |
Gets the name of the currently assigned sound device for playback.
core | LinphoneCore object |
float linphone_core_get_playback_gain_db | ( | LinphoneCore * | core | ) |
Get playback gain in db before entering sound card.
core | LinphoneCore object |
bool_t linphone_core_get_post_quantum_available | ( | void | ) |
Are PostQuantum algoritms available.
float linphone_core_get_preferred_framerate | ( | LinphoneCore * | core | ) |
Returns the preferred video framerate, previously set by linphone_core_set_preferred_framerate().
core | the linphone core |
const LinphoneVideoDefinition* linphone_core_get_preferred_video_definition | ( | const LinphoneCore * | core | ) |
Get the preferred video definition for the stream that is captured and sent to the remote party.
core | LinphoneCore object |
MS2_DEPRECATED MSVideoSize linphone_core_get_preferred_video_size | ( | const LinphoneCore * | core | ) |
Returns the current preferred video size for sending.
const LinphoneVideoDefinition* linphone_core_get_preview_video_definition | ( | const LinphoneCore * | core | ) |
Get the definition of the captured video.
core | LinphoneCore object |
MS2_DEPRECATED MSVideoSize linphone_core_get_preview_video_size | ( | const LinphoneCore * | core | ) |
Returns video size for the captured video if it was previously set by linphone_core_set_preview_video_size(), otherwise returns a 0,0 size.
core | the core |
MS2_DEPRECATED int linphone_core_get_rec_level | ( | LinphoneCore * | core | ) |
Get sound capture level in 0-100 scale.
const char* linphone_core_get_record_file | ( | const LinphoneCore * | core | ) |
Get the wav file where incoming stream is recorded, when files are used instead of soundcards (see linphone_core_set_use_files()).
This feature is different from call recording (linphone_call_params_set_record_file()) The file is a 16 bit linear wav file.
core | LinphoneCore object |
const char* linphone_core_get_remote_ringback_tone | ( | const LinphoneCore * | core | ) |
Get the ring back tone played to far end during incoming calls.
core | LinphoneCore object |
const char* linphone_core_get_ring | ( | const LinphoneCore * | core | ) |
Returns the path to the wav file used for ringing.
core | LinphoneCore object |
bool_t linphone_core_get_ring_during_incoming_early_media | ( | const LinphoneCore * | core | ) |
Tells whether the ring play is enabled during an incoming early media call.
core | LinphoneCore object |
MS2_DEPRECATED int linphone_core_get_ring_level | ( | LinphoneCore * | core | ) |
Get ring sound level in 0-100 scale.
const char* linphone_core_get_ringback | ( | const LinphoneCore * | core | ) |
Returns the path to the wav file used for ringing back.
core | LinphoneCore object |
const char* linphone_core_get_ringer_device | ( | LinphoneCore * | core | ) |
Gets the name of the currently assigned sound device for ringing.
core | LinphoneCore object |
bool_t linphone_core_get_session_expires_enabled | ( | const LinphoneCore * | core | ) |
Check if the Session Timers feature is enabled.
core | LinphoneCore object |
int linphone_core_get_session_expires_min_value | ( | const LinphoneCore * | core | ) |
Returns the session expires min value, 90 by default.
core | LinphoneCore object |
LinphoneSessionExpiresRefresher linphone_core_get_session_expires_refresher_value | ( | const LinphoneCore * | core | ) |
Returns the session expires refresher value.
core | LinphoneCore object |
int linphone_core_get_session_expires_value | ( | const LinphoneCore * | core | ) |
Returns the session expires value.
core | LinphoneCore object |
int linphone_core_get_sip_transport_timeout | ( | LinphoneCore * | core | ) |
Get the SIP transport timeout, which represents the maximum time permitted to establish a connection to a SIP server.
core | LinphoneCore object. |
MS2_DEPRECATED const char** linphone_core_get_sound_devices | ( | LinphoneCore * | core | ) |
Gets the list of the available sound devices.
core | LinphoneCore object |
bctbx_list_t* linphone_core_get_sound_devices_list | ( | const LinphoneCore * | core | ) |
Gets the list of the available sound devices.
core | LinphoneCore object |
const char* linphone_core_get_static_picture | ( | LinphoneCore * | core | ) |
Get the path to the image file streamed when "Static picture" is set as the video device.
core | LinphoneCore object. |
float linphone_core_get_static_picture_fps | ( | LinphoneCore * | core | ) |
Get the frame rate for static picture.
core | LinphoneCore object. |
MS2_DEPRECATED const char** linphone_core_get_supported_file_formats | ( | LinphoneCore * | core | ) |
Returns a null terminated table of strings containing the file format extension supported for call recording.
core | the core |
bctbx_list_t* linphone_core_get_supported_file_formats_list | ( | const LinphoneCore * | core | ) |
Returns a null terminated table of strings containing the file format extension supported for call recording.
core | the core |
const bctbx_list_t* linphone_core_get_supported_media_encryptions | ( | LinphoneCore * | lc | ) |
Get list of supported media descriptions.
core | LinphoneCore object. |
MS2_DEPRECATED const MSVideoSizeDef* linphone_core_get_supported_video_sizes | ( | LinphoneCore * | core | ) |
Returns the zero terminated table of supported video resolutions.
MS2_DEPRECATED const bctbx_list_t* linphone_core_get_text_codecs | ( | const LinphoneCore * | core | ) |
Returns the list of available text codecs.
core | The LinphoneCore object |
This list is unmodifiable. The ->data field of the bctbx_list_t points a PayloadType structure holding the codec information. It is possible to make copy of the list with bctbx_list_copy() in order to modify it (such as the order of codecs).
bctbx_list_t* linphone_core_get_text_payload_types | ( | LinphoneCore * | core | ) |
Return the list of the available text payload types.
core | The core. |
int linphone_core_get_upload_bandwidth | ( | const LinphoneCore * | core | ) |
Retrieve the maximum available upload bandwidth.
This value was set by linphone_core_set_upload_bandwidth().
core | the LinphoneCore object |
int linphone_core_get_upload_ptime | ( | LinphoneCore * | core | ) |
Set audio packetization time linphone will send (in absence of requirement from peer) A value of 0 stands for the current codec default packetization time.
core | the LinphoneCore |
bool_t linphone_core_get_use_files | ( | LinphoneCore * | core | ) |
Gets whether linphone is currently streaming audio from and to files, rather than using the soundcard.
core | LinphoneCore object |
bool_t linphone_core_get_use_info_for_dtmf | ( | LinphoneCore * | core | ) |
Indicates whether SIP INFO is used to send digits.
core | LinphoneCore object |
bool_t linphone_core_get_use_rfc2833_for_dtmf | ( | LinphoneCore * | core | ) |
Indicates whether RFC2833 is used to send digits.
core | LinphoneCore object |
LinphoneVideoActivationPolicy* linphone_core_get_video_activation_policy | ( | const LinphoneCore * | core | ) |
Get the default policy for video.
See linphone_core_set_video_activation_policy() for more details.
core | LinphoneCore object |
LinphoneCodecPriorityPolicy linphone_core_get_video_codec_priority_policy | ( | const LinphoneCore * | core | ) |
Get the current priority policy for video codecs (payload types).
See LinphoneCodecPriorityPolicy for more details.
core,the | core |
MS2_DEPRECATED const bctbx_list_t* linphone_core_get_video_codecs | ( | const LinphoneCore * | core | ) |
Returns the list of available video codecs.
core | The LinphoneCore object |
This list is unmodifiable. The ->data field of the bctbx_list_t points a PayloadType structure holding the codec information. It is possible to make copy of the list with bctbx_list_copy() in order to modify it (such as the order of codecs).
const char* linphone_core_get_video_device | ( | const LinphoneCore * | core | ) |
Returns the name of the currently active video device.
core | LinphoneCore object |
MS2_DEPRECATED const char** linphone_core_get_video_devices | ( | const LinphoneCore * | core | ) |
Gets the list of the available video capture devices.
core | LinphoneCore object |
bctbx_list_t* linphone_core_get_video_devices_list | ( | const LinphoneCore * | core | ) |
Gets the list of the available video capture devices.
core | LinphoneCore object |
const char* linphone_core_get_video_display_filter | ( | LinphoneCore * | core | ) |
Get the name of the mediastreamer2 filter used for rendering video.
core | LinphoneCore object |
int linphone_core_get_video_jittcomp | ( | LinphoneCore * | core | ) |
Returns the nominal video jitter buffer size in milliseconds.
core | LinphoneCore object |
const char* linphone_core_get_video_multicast_addr | ( | const LinphoneCore * | core | ) |
Use to get multicast address to be used for video stream.
core | LinphoneCore |
int linphone_core_get_video_multicast_ttl | ( | const LinphoneCore * | core | ) |
Use to get multicast ttl to be used for video stream.
core | LinphoneCore |
bctbx_list_t* linphone_core_get_video_payload_types | ( | LinphoneCore * | core | ) |
Return the list of the available video payload types.
core | The core. |
MS2_DEPRECATED const LinphoneVideoPolicy* linphone_core_get_video_policy | ( | const LinphoneCore * | core | ) |
Get the default policy for video.
See linphone_core_set_video_policy() for more details.
core | LinphoneCore object |
const char* linphone_core_get_video_preset | ( | const LinphoneCore * | core | ) |
Get the video preset used for video calls.
core | LinphoneCore object |
bctbx_list_t* linphone_core_get_zrtp_available_key_agreement_list | ( | LinphoneCore * | lc | ) |
Return the list of the available ZRTP key agreement algorithns.
lc | The core. |
bctbx_list_t* linphone_core_get_zrtp_key_agreement_list | ( | LinphoneCore * | lc | ) |
Return the ordonated list of the ZRTP key agreement algorithns currently configured.
lc | The core. |
LinphoneZrtpPeerStatus linphone_core_get_zrtp_status | ( | LinphoneCore * | core, |
const char * | addr | ||
) |
Get the zrtp sas validation status for a peer uri.
Once the SAS has been validated or rejected, the status will never return to Unknown (unless you delete your cache)
core | LinphoneCore object. |
addr | the peer uri |
bool_t linphone_core_is_media_encryption_mandatory | ( | LinphoneCore * | core | ) |
Check if the configured media encryption is mandatory or not.
core | LinphoneCore object. |
bool_t linphone_core_is_media_encryption_supported | ( | LinphoneCore * | core, |
LinphoneMediaEncryption | menc | ||
) |
Check if media encryption is supported.
core | LinphoneCore object. |
menc | The media encryption policy to be used. |
bool_t linphone_core_is_media_filter_supported | ( | LinphoneCore * | core, |
const char * | filtername | ||
) |
Checks if the given media filter is loaded and usable.
This is for advanced users of the library, mainly to expose mediastreamer video filter status.
core | LinphoneCore object |
filtername | the filter name |
bool_t linphone_core_is_native_ringing_enabled | ( | const LinphoneCore * | core | ) |
Returns whether the native ringing is enabled or not.
core | LinphoneCore object |
bool_t linphone_core_mic_enabled | ( | LinphoneCore * | core | ) |
Tells whether the microphone is enabled.
core | LinphoneCore object |
bool_t linphone_core_native_ringing_enabled | ( | const LinphoneCore * | core | ) |
Returns whether the native ringing is enabled or not.
core | LinphoneCore object |
MS2_DEPRECATED bool_t linphone_core_payload_type_enabled | ( | const LinphoneCore * | core, |
const OrtpPayloadType * | pt | ||
) |
Tells whether the specified payload type is enabled.
core | LinphoneCore object. |
pt | The payload type to check. |
MS2_DEPRECATED bool_t linphone_core_payload_type_is_vbr | ( | const LinphoneCore * | core, |
const OrtpPayloadType * | pt | ||
) |
Tells whether the specified payload type represents a variable bitrate codec.
core | LinphoneCore object. |
pt | The payload type to check. |
void linphone_core_play_dtmf | ( | LinphoneCore * | core, |
char | dtmf, | ||
int | duration_ms | ||
) |
Plays a dtmf sound to the local user.
core | LinphoneCore object |
dtmf | DTMF to play ['0'..'16'] | '#' | '#' |
duration_ms | Duration in ms, -1 means play until next further call to linphone_core_stop_dtmf() |
void linphone_core_preview_ogl_render | ( | const LinphoneCore * | core | ) |
Call generic OpenGL render for a given core.
core | The core. |
bool_t linphone_core_qrcode_video_preview_enabled | ( | const LinphoneCore * | core | ) |
Tells whether QRCode is enabled in the preview.
core | LinphoneCore object |
bool_t linphone_core_realtime_text_enabled | ( | LinphoneCore * | core | ) |
Gets if realtime text is enabled or not.
core | LinphoneCore object |
unsigned int linphone_core_realtime_text_get_keepalive_interval | ( | const LinphoneCore * | core | ) |
Gets keep alive interval of real time text.
core | LinphoneCore object |
void linphone_core_reload_sound_devices | ( | LinphoneCore * | core | ) |
Update detection of sound devices.
Use this function when the application is notified of USB plug events, so that list of available hardwares for sound playback and capture is updated.
core | LinphoneCore object. |
void linphone_core_reload_video_devices | ( | LinphoneCore * | core | ) |
Update detection of camera devices.
Use this function when the application is notified of USB plug events, so that list of available hardwares for video capture is updated.
core | LinphoneCore object. |
void linphone_core_reset_echo_cancellation_calibration | ( | LinphoneCore * | core | ) |
Clears all state resulting from a previous echo canceller calibration procedure, which restores default policy and settings for echo cancellation.
core | LinphoneCore object |
bool_t linphone_core_retransmission_on_nack_enabled | ( | LinphoneCore * | core | ) |
Tells whether NACK context is enabled or not.
core | LinphoneCore object |
bool_t linphone_core_rtp_bundle_enabled | ( | const LinphoneCore * | core | ) |
Returns whether RTP bundle mode (also known as Media Multiplexing) is enabled.
See https://datatracker.ietf.org/doc/html/rfc8843 for more information.
core | the LinphoneCore |
bool_t linphone_core_self_view_enabled | ( | const LinphoneCore * | core | ) |
Tells whether video self view during call is enabled or not.
core | LinphoneCore object |
MS2_DEPRECATED void linphone_core_send_dtmf | ( | LinphoneCore * | core, |
char | dtmf | ||
) |
Send the specified dtmf.
This function only works during calls. The dtmf is automatically played to the user.
core | The LinphoneCore object |
dtmf | The dtmf name specified as a char, such as '0', '#' etc... |
23/11/2015 Use linphone_call_send_dtmf() instead.
bool_t linphone_core_session_expires_enabled | ( | const LinphoneCore * | core | ) |
Check if the Session Timers feature is enabled.
core | LinphoneCore object |
void linphone_core_set_adaptive_rate_algorithm | ( | LinphoneCore * | core, |
const char * | algorithm | ||
) |
Sets adaptive rate algorithm.
It will be used for each new calls starting from now. Calls already started will not be updated.
core | the core |
algorithm | the adaptive rate control algorithm. Currently two values are supported: 'advanced', which is the default value, or 'basic'. |
MS2_DEPRECATED LinphoneStatus linphone_core_set_audio_codecs | ( | LinphoneCore * | core, |
bctbx_list_t * | codecs | ||
) |
Sets the list of audio codecs.
core | The LinphoneCore object |
codecs | The new list of codecs. The list is taken by the LinphoneCore, thus the application should not free it. |
31/03/2017 Use linphone_core_set_audio_payload_types() instead.
void linphone_core_set_audio_jittcomp | ( | LinphoneCore * | core, |
int | milliseconds | ||
) |
Sets the nominal audio jitter buffer size in milliseconds.
The value takes effect immediately for all running and pending calls, if any. A value of 0 disables the jitter buffer.
core | the LinphoneCore object |
milliseconds | the audio jitter buffer size to set in milliseconds |
LinphoneStatus linphone_core_set_audio_multicast_addr | ( | LinphoneCore * | core, |
const char * | ip | ||
) |
Use to set multicast address to be used for audio stream.
core | LinphoneCore |
ip | an ipv4/6 multicast address. |
LinphoneStatus linphone_core_set_audio_multicast_ttl | ( | LinphoneCore * | core, |
int | ttl | ||
) |
Use to set multicast ttl to be used for audio stream.
core | LinphoneCore |
ttl | value or -1 if not used. [0..255] default value is 1 |
void linphone_core_set_audio_payload_types | ( | LinphoneCore * | core, |
const bctbx_list_t * | payload_types | ||
) |
Redefine the list of the available payload types.
core | The core. |
payload_types | The new list of payload types. The core does not take ownership on it. |
void linphone_core_set_audio_port_range | ( | LinphoneCore * | core, |
int | min_port, | ||
int | max_port | ||
) |
Sets the UDP port range from which to randomly select the port used for audio streaming.
core | LinphoneCore object |
min_port | The lower bound of the audio port range to use |
max_port | The upper bound of the audio port range to use |
void linphone_core_set_avpf_mode | ( | LinphoneCore * | core, |
LinphoneAVPFMode | mode | ||
) |
Enable RTCP feedback (also known as RTP/AVPF profile).
Setting LinphoneAVPFDefault is equivalent to LinphoneAVPFDisabled. This setting can be overriden per LinphoneProxyConfig with linphone_proxy_config_set_avpf_mode(). The value set here is used for calls placed or received out of any proxy configured, or if the proxy config is configured with LinphoneAVPFDefault.
core | LinphoneCore object |
mode | The AVPF mode to use. |
void linphone_core_set_avpf_rr_interval | ( | LinphoneCore * | core, |
int | interval | ||
) |
Set the avpf report interval in seconds.
This value can be overriden by the proxy config using linphone_proxy_config_set_avpf_rr_interval().
core | LinphoneCore object |
interval | The report interval in seconds |
LinphoneStatus linphone_core_set_capture_device | ( | LinphoneCore * | core, |
const char * | devid | ||
) |
Sets the sound device used for capture.
core | LinphoneCore object |
devid | The device name as returned by linphone_core_get_sound_devices() |
void linphone_core_set_device_rotation | ( | LinphoneCore * | core, |
int | rotation | ||
) |
Tells the core the device current orientation.
This can be used by capture filters on mobile devices to select between portrait/landscape mode and to produce properly oriented images. The exact meaning of the value in rotation if left to each device specific implementations. IOS supported values are 0 for UIInterfaceOrientationPortrait and 270 for UIInterfaceOrientationLandscapeRight.
core | LinphoneCore object |
rotation | The orientation to use |
void linphone_core_set_disable_record_on_mute | ( | LinphoneCore * | core, |
bool_t | disable | ||
) |
Calling this method with disable=true will cause the microhone to be completely deactivated when muted, when given possible by the implementation on the platform on which liblinphone is running.
Otherwise, sound recording remains active but silence is sent instead of recorded audio. Playback sound will be briefly interrupted while the audio is reconfigured. Currently only implemented for IOS, it will also disable Apple's microphone recording indicator when microphone is muted.
core | LinphoneCore object |
disable | True if you wish to entirely stop the audio recording when muting the microphone. |
void linphone_core_set_dns_servers | ( | LinphoneCore * | core, |
const bctbx_list_t * | servers | ||
) |
Forces liblinphone to use the supplied list of dns servers, instead of system's ones.
core | LinphoneCore object. |
servers | A list of strings containing the IP addresses of DNS servers to be used. Setting to NULL restores default behaviour, which is to use the DNS server list provided by the system. The list is copied internally. |
void linphone_core_set_dns_servers_app | ( | LinphoneCore * | core, |
const bctbx_list_t * | servers | ||
) |
Forces liblinphone to use the supplied list of dns servers, instead of system's ones and set dns_set_by_app at true or false according to value of servers list.
core | LinphoneCore object. |
servers | A list of strings containing the IP addresses of DNS servers to be used. Setting to NULL restores default behaviour, which is to use the DNS server list provided by the system. The list is copied internally. |
void linphone_core_set_download_bandwidth | ( | LinphoneCore * | core, |
int | bandwidth | ||
) |
Sets maximum available download bandwidth This is IP bandwidth, in kbit/s.
This information is used signaled to other parties during calls (within SDP messages) so that the remote end can have sufficient knowledge to properly configure its audio & video codec output bitrate to not overflow available bandwidth.
core | the LinphoneCore object |
bandwidth | the bandwidth in kbits/s, 0 for infinite |
void linphone_core_set_download_ptime | ( | LinphoneCore * | core, |
int | ptime | ||
) |
Set audio packetization time linphone expects to receive from peer.
A value of zero means that ptime is not specified.
core | the LinphoneCore |
ptime | the download packetization time to set |
void linphone_core_set_echo_canceller_filter_name | ( | LinphoneCore * | core, |
const char * | filtername | ||
) |
Set the name of the mediastreamer2 filter to be used for echo cancelling.
This is for advanced users of the library.
core | LinphoneCore object |
filtername | The name of the mediastreamer2 filter to be used for echo cancelling. |
void linphone_core_set_enable_sip_update | ( | const LinphoneCore * | core, |
int | value | ||
) |
Enable or disable the UPDATE method support.
core | LinphoneCore object |
value | Enable or disable it |
void linphone_core_set_expected_bandwidth | ( | LinphoneCore * | core, |
int | bandwidth | ||
) |
Sets expected available upload bandwidth This is IP bandwidth, in kbit/s.
This information is used by liblinphone together with remote side available bandwidth signaled in SDP messages to properly configure audio & video codec's output bitrate.
core | the LinphoneCore object |
bandwidth | the bandwidth in kbits/s, 0 for infinite |
LinphoneStatus linphone_core_set_media_device | ( | LinphoneCore * | core, |
const char * | devid | ||
) |
Sets the sound device used for media.
core | LinphoneCore object |
devid | The device name as returned by linphone_core_get_sound_devices() |
LinphoneStatus linphone_core_set_media_encryption | ( | LinphoneCore * | core, |
LinphoneMediaEncryption | menc | ||
) |
Choose the media encryption policy to be used for RTP packets.
core | LinphoneCore object. |
menc | The media encryption policy to be used. |
void linphone_core_set_media_encryption_mandatory | ( | LinphoneCore * | core, |
bool_t | mandatory | ||
) |
Define whether the configured media encryption is mandatory, if it is and the negotation cannot result in the desired media encryption then the call will fail.
If not an INVITE will be resent with encryption disabled.
core | LinphoneCore object. |
mandatory | TRUE to set it mandatory; FALSE otherwise. |
MS2_DEPRECATED void linphone_core_set_media_level | ( | LinphoneCore * | core, |
int | level | ||
) |
Set sound media level in 0-100 scale.
12/12/2018
void linphone_core_set_mic_gain_db | ( | LinphoneCore * | core, |
float | level | ||
) |
Allow to control microphone level: gain in db.
core | LinphoneCore object |
level | The new microphone level |
void linphone_core_set_mtu | ( | LinphoneCore * | core, |
int | mtu | ||
) |
Sets the maximum transmission unit size in bytes.
This information is useful for sending RTP packets. Default value is 1500.
core | LinphoneCore object |
mtu | The MTU in bytes |
void linphone_core_set_native_preview_window_id | ( | LinphoneCore * | core, |
void * | window_id | ||
) |
Set the native window id where the preview video (local camera) is to be displayed.
This has to be used in conjonction with linphone_core_use_preview_window(). see linphone_core_set_native_video_window_id() for general details about window_id
On Android : #org.linphone.mediastream.video.capture.CaptureTextureView is used for linphone_core_set_native_preview_window_id(). It is inherited from #TextureView and takes care of rotating the captured image from the camera and scale it to keep it's ratio.
core | LinphoneCore object |
window_id | The native window id where the preview video is to be displayed. |
void linphone_core_set_native_ringing_enabled | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Sets whether to use the native ringing (Android only).
core | LinphoneCore object |
enable | True to enable native ringing, false otherwise |
void linphone_core_set_native_video_window_id | ( | LinphoneCore * | core, |
void * | window_id | ||
) |
Set the native video window id where the video is to be displayed.
On Desktop platforms(MacOS, Linux, Windows), the display filter is "MSOGL" by default. That means : If window_id
is not set or set to LINPHONE_VIDEO_DISPLAY_NONE, then the core will not create its own window, unless the special id LINPHONE_VIDEO_DISPLAY_AUTO is given. This is currently only supported for Linux X11 (#Window type), Windows UWP (#SwapChainPanel type) and Windows (#HWND type).
The CSharp Wrapper on Windows for UWP takes directly a #SwapChainPanel without Marshalling. On other platforms, window_id
is a #MSOglContextInfo defined in msogl.h of mediastreamer2 There is a special case for Qt : The "MSQOGL" filter must be selected by using linphone_core_set_video_display_filter. Setting window id is only used to stop rendering by passing LINPHONE_VIDEO_DISPLAY_NONE. linphone_core_get_native_video_window_id() returns a #QQuickFramebufferObject::Renderer and linphone_core_create_native_video_window_id() creates one. After a creation, linphone_core_set_native_video_window_id() must be called with the new object.
On mobile operating systems, LINPHONE_VIDEO_DISPLAY_AUTO is not supported and window_id
depends of the platform : iOS : It is a #UIView. Android : It is a #TextureView.
core | LinphoneCore object |
window_id | The native window id where the remote video is to be displayed. |
LinphoneStatus linphone_core_set_network_simulator_params | ( | LinphoneCore * | core, |
const OrtpNetworkSimulatorParams * | params | ||
) |
Set the network simulator parameters.
Liblinphone has the capabability of simulating the effects of a network (latency, lost packets, jitter, max bandwidth). Please refer to the oRTP documentation for the meaning of the parameters of the OrtpNetworkSimulatorParams structure. This function has effect for future calls, but not for currently running calls, though this behavior may be changed in future versions.
core | the LinphoneCore |
params | the parameters used for the network simulation. |
void linphone_core_set_nortp_timeout | ( | LinphoneCore * | core, |
int | seconds | ||
) |
Sets the no-rtp timeout value in seconds.
core | LinphoneCore object |
seconds | The no-rtp timeout value to use in seconds |
MS2_DEPRECATED void linphone_core_set_payload_type_bitrate | ( | LinphoneCore * | core, |
OrtpPayloadType * | pt, | ||
int | bitrate | ||
) |
Set an explicit bitrate (IP bitrate, not codec bitrate) for a given codec, in kbit/s.
core | the LinphoneCore object |
pt | the payload type to modify. |
bitrate | the IP bitrate in kbit/s. |
MS2_DEPRECATED void linphone_core_set_payload_type_number | ( | LinphoneCore * | core, |
OrtpPayloadType * | pt, | ||
int | number | ||
) |
Force a number for a payload type.
The LinphoneCore does payload type number assignment automatically. THis function is to be used mainly for tests, in order to override the automatic assignment mechanism.
void linphone_core_set_play_file | ( | LinphoneCore * | core, |
const char * | file | ||
) |
Sets a wav file to be played when putting somebody on hold, or when files are used instead of soundcards (see linphone_core_set_use_files()).
The file must be a 16 bit linear wav file.
core | LinphoneCore object |
file | The path to the file to be played when putting somebody on hold. |
MS2_DEPRECATED void linphone_core_set_play_level | ( | LinphoneCore * | core, |
int | level | ||
) |
Set sound playback level in 0-100 scale.
20/12/2016
LinphoneStatus linphone_core_set_playback_device | ( | LinphoneCore * | core, |
const char * | devid | ||
) |
Sets the sound device used for playback.
core | LinphoneCore object |
devid | The device name as returned by linphone_core_get_sound_devices() |
void linphone_core_set_playback_gain_db | ( | LinphoneCore * | core, |
float | level | ||
) |
Allow to control play level before entering sound card: gain in db.
core | LinphoneCore object |
level | The new play level |
void linphone_core_set_preferred_framerate | ( | LinphoneCore * | core, |
float | fps | ||
) |
Set the preferred frame rate for video.
Based on the available bandwidth constraints and network conditions, the video encoder remains free to lower the framerate. There is no warranty that the preferred frame rate be the actual framerate. used during a call. Default value is 0, which means "use encoder's default fps value".
core | the LinphoneCore |
fps | the target frame rate in number of frames per seconds. |
void linphone_core_set_preferred_video_definition | ( | LinphoneCore * | core, |
LinphoneVideoDefinition * | video_definition | ||
) |
Set the preferred video definition for the stream that is captured and sent to the remote party.
All standard video definitions are accepted on the receive path.
core | LinphoneCore object |
video_definition | LinphoneVideoDefinition object |
void linphone_core_set_preferred_video_definition_by_name | ( | LinphoneCore * | core, |
const char * | name | ||
) |
Sets the preferred video definition by its name.
Call linphone_factory_get_supported_video_definitions() to have a list of supported video definitions.
core | The LinphoneCore object |
name | The name of the definition to set |
MS2_DEPRECATED void linphone_core_set_preferred_video_size | ( | LinphoneCore * | core, |
MSVideoSize | vsize | ||
) |
Sets the preferred video size.
This applies only to the stream that is captured and sent to the remote party, since we accept all standard video size on the receive path.
MS2_DEPRECATED void linphone_core_set_preferred_video_size_by_name | ( | LinphoneCore * | core, |
const char * | name | ||
) |
Sets the preferred video size by its name.
This is identical to linphone_core_set_preferred_video_size() except that it takes the name of the video resolution as input. Video resolution names are: qcif, svga, cif, vga, 4cif, svga ...
void linphone_core_set_preview_video_definition | ( | LinphoneCore * | core, |
LinphoneVideoDefinition * | video_definition | ||
) |
Set the video definition for the captured (preview) video.
This method is for advanced usage where a video capture must be set independently of the definition of the stream actually sent through the call. This allows for example to have the preview window in High Definition even if due to bandwidth constraint the sent video definition is small. Using this feature increases the CPU consumption, since a rescaling will be done internally.
core | LinphoneCore object |
video_definition | LinphoneVideoDefinition object |
void linphone_core_set_preview_video_definition_by_name | ( | LinphoneCore * | core, |
const char * | name | ||
) |
core | The LinphoneCore object |
name | The name of the definition to set |
MS2_DEPRECATED void linphone_core_set_preview_video_size | ( | LinphoneCore * | core, |
MSVideoSize | vsize | ||
) |
Sets the video size for the captured (preview) video.
This method is for advanced usage where a video capture must be set independently of the size of the stream actually sent through the call. This allows for example to have the preview window with HD resolution even if due to bandwidth constraint the sent video size is small. Using this feature increases the CPU consumption, since a rescaling will be done internally.
core | the linphone core |
vsize | the video resolution choosed for capuring and previewing. It can be (0,0) to not request any specific preview size and let the core optimize the processing. |
MS2_DEPRECATED void linphone_core_set_preview_video_size_by_name | ( | LinphoneCore * | core, |
const char * | name | ||
) |
Sets the preview video size by its name.
See linphone_core_set_preview_video_size() for more information about this feature.
Video resolution names are: qcif, svga, cif, vga, 4cif, svga ...
void linphone_core_set_qrcode_decode_rect | ( | LinphoneCore * | core, |
const int | x, | ||
const int | y, | ||
const int | w, | ||
const int | h | ||
) |
Set the rectangle where the decoder will search a QRCode.
core | LinphoneCore* object |
x | axis |
y | axis |
w | width |
h | height |
MS2_DEPRECATED void linphone_core_set_rec_level | ( | LinphoneCore * | core, |
int | level | ||
) |
Set sound capture level in 0-100 scale.
20/12/2016
void linphone_core_set_record_file | ( | LinphoneCore * | core, |
const char * | file | ||
) |
Sets a wav file where incoming stream is to be recorded, when files are used instead of soundcards (see linphone_core_set_use_files()).
This feature is different from call recording (linphone_call_params_set_record_file()) The file will be a 16 bit linear wav file.
core | LinphoneCore object |
file | The path to the file where incoming stream is to be recorded. |
void linphone_core_set_remote_ringback_tone | ( | LinphoneCore * | core, |
const char * | ring | ||
) |
Specify a ring back tone to be played to far end during incoming calls.
core | LinphoneCore object |
ring | The path to the remote ring back tone to be played. |
void linphone_core_set_ring | ( | LinphoneCore * | core, |
const char * | path | ||
) |
Sets the path to a wav file used for ringing.
The file must be a wav 16bit linear. If null, ringing is disable unless #linphone_core_get_use_native_ringing() is enabled, in which case we use the device ringtone.
core | LinphoneCore object |
path | The path to a wav file to be used for ringing, null to disable or use device ringing depending on #linphone_core_get_use_native_ringing(). |
void linphone_core_set_ring_during_incoming_early_media | ( | LinphoneCore * | core, |
bool_t | enable | ||
) |
Enable or disable the ring play during an incoming early media call.
core | LinphoneCore object |
enable | A boolean value telling whether to enable ringing during an incoming early media call. |
MS2_DEPRECATED void linphone_core_set_ring_level | ( | LinphoneCore * | core, |
int | level | ||
) |
Set sound ring level in 0-100 scale.
void linphone_core_set_ringback | ( | LinphoneCore * | core, |
const char * | path | ||
) |
Sets the path to a wav file used for ringing back.
Ringback means the ring that is heard when it's ringing at the remote party. The file must be a wav 16bit linear.
core | LinphoneCore object |
path | The path to a wav file to be used for ringing back. |
LinphoneStatus linphone_core_set_ringer_device | ( | LinphoneCore * | core, |
const char * | devid | ||
) |
Sets the sound device used for ringing.
core | LinphoneCore object |
devid | The device name as returned by linphone_core_get_sound_devices() |
void linphone_core_set_session_expires_enabled | ( | const LinphoneCore * | core, |
bool_t | enabled | ||
) |
Enable the Session Timers support.
core | LinphoneCore object |
enabled | Enable or disable it |
void linphone_core_set_session_expires_min_value | ( | const LinphoneCore * | core, |
int | min | ||
) |
Sets the session expires minSE value, forced to a minimum of 90 by default.
core | LinphoneCore object |
expire | The minSE value |
void linphone_core_set_session_expires_refresher_value | ( | const LinphoneCore * | core, |
LinphoneSessionExpiresRefresher | refresher | ||
) |
Sets the session expires refresher value.
core | LinphoneCore object |
refresher | The LinphoneSessionExpiresRefresher configuration value |
void linphone_core_set_session_expires_value | ( | const LinphoneCore * | core, |
int | expires | ||
) |
Sets the session expires value, 0 by default.
core | LinphoneCore object |
expire | The session expires value |
void linphone_core_set_sip_transport_timeout | ( | LinphoneCore * | core, |
int | timeout_ms | ||
) |
Set the SIP transport timeout, which represents the maximum time permitted to establish a connection to a SIP server.
core | LinphoneCore object. |
timeout_ms | The SIP transport timeout in milliseconds. |
LinphoneStatus linphone_core_set_static_picture | ( | LinphoneCore * | core, |
const char * | path | ||
) |
Set the path to the image file to stream when "Static picture" is set as the video device.
core | LinphoneCore object. |
path | The path to the image file to use. |
LinphoneStatus linphone_core_set_static_picture_fps | ( | LinphoneCore * | core, |
float | fps | ||
) |
Set the frame rate for static picture.
core | LinphoneCore object. |
fps | The new frame rate to use for static picture. |
void linphone_core_set_supported_media_encryptions | ( | LinphoneCore * | lc, |
const bctbx_list_t * | encs | ||
) |
Sets the supported media encryptions.
core | LinphoneCore object. |
enc_list | The supported media encryptions. Elements of the list are pointers to the values of enum LinphoneMediaEncryption. |
MS2_DEPRECATED LinphoneStatus linphone_core_set_text_codecs | ( | LinphoneCore * | core, |
bctbx_list_t * | codecs | ||
) |
Sets the list of text codecs.
core | The LinphoneCore object |
codecs | The new list of codecs. The list is taken by the LinphoneCore, thus the application should not free it. |
31/03/2017 Use linphone_core_set_text_payload_types() instead.
void linphone_core_set_text_payload_types | ( | LinphoneCore * | core, |
const bctbx_list_t * | payload_types | ||
) |
Redefine the list of the available payload types.
core | The core. |
payload_types | The new list of payload types. The core does not take ownership on it. |
void linphone_core_set_text_port_range | ( | LinphoneCore * | core, |
int | min_port, | ||
int | max_port | ||
) |
Sets the UDP port range from which to randomly select the port used for text streaming.
core | LinphoneCore object |
min_port | The lower bound of the text port range to use |
max_port | The upper bound of the text port range to use |
void linphone_core_set_tone | ( | LinphoneCore * | core, |
LinphoneToneID | tone_id, | ||
const char * | audiofile | ||
) |
Assign an audio file to be played as a specific tone id.
This function typically allows to customize telephony tones per country.
core | the core |
tone_id | the #LinphoneToneId |
audiofile | a wav file to be played or NULL to disable it. |
void linphone_core_set_upload_bandwidth | ( | LinphoneCore * | core, |
int | bandwidth | ||
) |
Sets maximum available upload bandwidth This is IP bandwidth, in kbit/s.
This information is used by liblinphone together with remote side available bandwidth signaled in SDP messages to properly configure audio & video codec's output bitrate.
core | the LinphoneCore object |
bandwidth | the bandwidth in kbits/s, 0 for infinite |
void linphone_core_set_upload_ptime | ( | LinphoneCore * | core, |
int | ptime | ||
) |
Set audio packetization time linphone will send (in absence of requirement from peer) A value of 0 stands for the current codec default packetization time.
core | the LinphoneCore |
ptime | the upload packetization time to set |
void linphone_core_set_use_files | ( | LinphoneCore * | core, |
bool_t | yesno | ||
) |
Ask the core to stream audio from and to files, instead of using the soundcard.
core | LinphoneCore object |
yesno | A boolean value asking to stream audio from and to files or not. |
void linphone_core_set_use_info_for_dtmf | ( | LinphoneCore * | core, |
bool_t | use_info | ||
) |
Sets whether SIP INFO is to be used to send digits.
core | LinphoneCore object |
use_info | A boolean value telling whether to use SIP INFO to send digits |
void linphone_core_set_use_rfc2833_for_dtmf | ( | LinphoneCore * | core, |
bool_t | use_rfc2833 | ||
) |
Sets whether RFC2833 is to be used to send digits.
core | LinphoneCore object |
use_rfc2833 | A boolean value telling whether to use RFC2833 to send digits |
void linphone_core_set_video_activation_policy | ( | LinphoneCore * | core, |
const LinphoneVideoActivationPolicy * | policy | ||
) |
Sets the default policy for video.
This policy defines whether:
core | the LinphoneCore object |
policy | The LinphoneVideoActivationPolicy to use |
void linphone_core_set_video_codec_priority_policy | ( | LinphoneCore * | core, |
LinphoneCodecPriorityPolicy | policy | ||
) |
Set the priority policy for video codecs (payload types).
Since version 5.3, the default value is LinphoneCodecPriorityPolicyAuto unless the core's configuration file describes a list of video payload type to use. This is to preserve backward compatibility for upgrading applications. See LinphoneCodecPriorityPolicy for more details.
core,the | core |
policy | the LinphoneCodecPriorityPolicy to apply |
MS2_DEPRECATED LinphoneStatus linphone_core_set_video_codecs | ( | LinphoneCore * | core, |
bctbx_list_t * | codecs | ||
) |
Sets the list of video codecs.
core | The LinphoneCore object |
codecs | The new list of codecs. The list is taken by the LinphoneCore, thus the application should not free it. |
31/03/2017 Use linphone_core_set_video_payload_types() instead.
LinphoneStatus linphone_core_set_video_device | ( | LinphoneCore * | core, |
const char * | id | ||
) |
Sets the active video device.
core | LinphoneCore object |
id | The name of the video device to use as returned by linphone_core_get_video_devices() |
void linphone_core_set_video_display_filter | ( | LinphoneCore * | core, |
const char * | filter_name | ||
) |
Set the name of the mediastreamer2 filter to be used for rendering video.
This is for advanced users of the library, mainly to workaround hardware/driver bugs.
core | the LinphoneCore |
filter_name | the filter name to use or NULL to use default. |
void linphone_core_set_video_jittcomp | ( | LinphoneCore * | core, |
int | milliseconds | ||
) |
Sets the nominal video jitter buffer size in milliseconds.
The value takes effect immediately for all running and pending calls, if any. A value of 0 disables the jitter buffer.
core | the LinphoneCore |
milliseconds | the jitter buffer size in milliseconds |
LinphoneStatus linphone_core_set_video_multicast_addr | ( | LinphoneCore * | core, |
const char * | ip | ||
) |
Use to set multicast address to be used for video stream.
core | LinphoneCore |
ip | an ipv4/6 multicast address. |
LinphoneStatus linphone_core_set_video_multicast_ttl | ( | LinphoneCore * | core, |
int | ttl | ||
) |
Use to set multicast ttl to be used for video stream.
core | LinphoneCore |
ttl | value or -1 if not used. [0..255] default value is 1 |
void linphone_core_set_video_payload_types | ( | LinphoneCore * | core, |
const bctbx_list_t * | payload_types | ||
) |
Redefine the list of the available video payload types.
Calling this function if the video codec priority policy is LinphoneCodecPriorityPolicyAuto turns video codec priority policy to basic scheme, since application is not supposed to control the order of video codecs when LinphoneCodecPriorityPolicyAuto is selected, by definition. (see linphone_core_set_video_codec_priority_policy() )
core | The core. |
payload_types | The new list of codecs. The core does not take ownership on it. |
MS2_DEPRECATED void linphone_core_set_video_policy | ( | LinphoneCore * | core, |
const LinphoneVideoPolicy * | policy | ||
) |
Sets the default policy for video.
This policy defines whether:
core | LinphoneCore object |
policy | The video policy to use |
void linphone_core_set_video_port_range | ( | LinphoneCore * | core, |
int | min_port, | ||
int | max_port | ||
) |
Sets the UDP port range from which to randomly select the port used for video streaming.
core | LinphoneCore object |
min_port | The lower bound of the video port range to use |
max_port | The upper bound of the video port range to use |
void linphone_core_set_video_preset | ( | LinphoneCore * | core, |
const char * | preset | ||
) |
Set the video preset to be used for video calls.
core | LinphoneCore object |
preset | The name of the video preset to be used (can be NULL to use the default video preset). |
void linphone_core_set_zrtp_key_agreement_suites | ( | LinphoneCore * | lc, |
bctbx_list_t * | key_agreements | ||
) |
Redefine the list of prefered ZRTP key agreement algorithms.
lc | The core. |
key_agreements | The new list of key agreements algorithms, in order of preference. The core does not take ownership on it. The setting accepts a maximum of 7 algorithms, if the list is longer, only the first 7 available algorithms are selected |
MS2_DEPRECATED bool_t linphone_core_sound_device_can_capture | ( | LinphoneCore * | core, |
const char * | device | ||
) |
Tells whether a specified sound device can capture sound.
core | LinphoneCore object |
device | the device name as returned by linphone_core_get_sound_devices() |
MS2_DEPRECATED bool_t linphone_core_sound_device_can_playback | ( | LinphoneCore * | core, |
const char * | device | ||
) |
Tells whether a specified sound device can play sound.
core | LinphoneCore object |
device | the device name as returned by linphone_core_get_sound_devices() |
void linphone_core_stop_dtmf | ( | LinphoneCore * | core | ) |
Stops playing a dtmf started by linphone_core_play_dtmf().
core | LinphoneCore object |
void linphone_core_stop_ringing | ( | LinphoneCore * | core | ) |
Whenever the liblinphone is playing a ring to advertise an incoming call or ringback of an outgoing call, this function stops the ringing.
Typical use is to stop ringing when the user requests to ignore the call.
core | LinphoneCore object |
bool_t linphone_core_tcap_lines_merging_enabled | ( | const LinphoneCore * | core | ) |
Check if tcap lines are going to the merged if the capability negotiation (RFC5939) is supported or not.
core | LinphoneCore object. |
void linphone_core_use_preview_window | ( | LinphoneCore * | core, |
bool_t | yesno | ||
) |
Tells the core to use a separate window for local camera preview video, instead of inserting local view within the remote video window.
core | LinphoneCore object. |
yesno | TRUE to use a separate window, FALSE to insert the preview in the remote video window. |
bool_t linphone_core_video_adaptive_jittcomp_enabled | ( | LinphoneCore * | core | ) |
Tells whether the video adaptive jitter compensation is enabled.
core | LinphoneCore object |
bool_t linphone_core_video_capture_enabled | ( | LinphoneCore * | core | ) |
Tells whether video capture is enabled.
core | LinphoneCore object. |
bool_t linphone_core_video_display_enabled | ( | LinphoneCore * | core | ) |
Tells whether video display is enabled.
core | LinphoneCore object. |
bool_t linphone_core_video_enabled | ( | LinphoneCore * | core | ) |
Returns TRUE if either capture or display is enabled, FALSE otherwise.
same as ( linphone_core_video_capture_enabled() | linphone_core_video_display_enabled() )
core | the LinphoneCore |
bool_t linphone_core_video_multicast_enabled | ( | const LinphoneCore * | core | ) |
Use to get multicast state of video stream.
core | LinphoneCore |
bool_t linphone_core_video_preview_enabled | ( | const LinphoneCore * | core | ) |
Tells whether video preview is enabled.
core | LinphoneCore object |
bool_t linphone_core_zero_rtp_port_for_stream_inactive_enabled | ( | const LinphoneCore * | lc | ) |
Check if RTP port is set to 0 when a stream is inactive.
core | LinphoneCore object. |
const char* linphone_media_direction_to_string | ( | LinphoneMediaDirection | media_direction | ) |
Convert enum member to string.
media_direction | the LinphoneMediaDirection to convert |
int linphone_media_encryption_from_string | ( | const char * | value | ) |
Convert string to enum member.
a | string representation of the LinphoneMediaEncryption to convert |
const char* linphone_media_encryption_to_string | ( | LinphoneMediaEncryption | media_encryption | ) |
Convert enum member to string.
media_encryption | the LinphoneMediaEncryption to convert |
LinphonePayloadType* linphone_payload_type_clone | ( | const LinphonePayloadType * | orig | ) |
Instantiates a new payload type with values from source.
[in] | source | The LinphonePayloadType object to be cloned. |
int linphone_payload_type_enable | ( | LinphonePayloadType * | payload_type, |
bool_t | enabled | ||
) |
Enable/disable a payload type.
payload_type | The payload type to enable/disable. |
enabled | Set TRUE for enabling and FALSE for disabling. |
bool_t linphone_payload_type_enabled | ( | const LinphonePayloadType * | payload_type | ) |
Check whether a palyoad type is enabled.
payload_type | the LinphonePayloadType object |
int linphone_payload_type_get_channels | ( | const LinphonePayloadType * | payload_type | ) |
Get the number of channels.
payload_type | the LinphonePayloadType object |
int linphone_payload_type_get_clock_rate | ( | const LinphonePayloadType * | payload_type | ) |
Get the clock rate of a payload type.
payload_type | the LinphonePayloadType object |
const char* linphone_payload_type_get_description | ( | const LinphonePayloadType * | payload_type | ) |
Return a string describing a payload type.
The format of the string is <mime_type>/<clock_rate>/<channels>.
payload_type | the LinphonePayloadType object |
const char* linphone_payload_type_get_encoder_description | ( | const LinphonePayloadType * | payload_type | ) |
Get a description of the encoder used to provide a payload type.
payload_type | the LinphonePayloadType object |
const char* linphone_payload_type_get_mime_type | ( | const LinphonePayloadType * | payload_type | ) |
int linphone_payload_type_get_normal_bitrate | ( | const LinphonePayloadType * | payload_type | ) |
Get the normal bitrate in bits/s.
payload_type | the LinphonePayloadType object |
int linphone_payload_type_get_number | ( | const LinphonePayloadType * | payload_type | ) |
Returns the payload type number assigned for this codec.
payload_type | the LinphonePayloadType object |
const char* linphone_payload_type_get_recv_fmtp | ( | const LinphonePayloadType * | payload_type | ) |
Get the format parameters for incoming streams.
payload_type | the LinphonePayloadType object |
const char* linphone_payload_type_get_send_fmtp | ( | const LinphonePayloadType * | payload_type | ) |
Get the format parameters for outgoing streams.
payload_type | the LinphonePayloadType object |
int linphone_payload_type_get_type | ( | const LinphonePayloadType * | payload_type | ) |
Get the type of a payload type.
payload_type | The payload type. |
bool_t linphone_payload_type_is_usable | ( | const LinphonePayloadType * | payload_type | ) |
Check whether the payload is usable according the bandwidth targets set in the core.
payload_type | the LinphonePayloadType object |
bool_t linphone_payload_type_is_vbr | ( | const LinphonePayloadType * | payload_type | ) |
Tells whether the specified payload type represents a variable bitrate codec.
payload_type | the LinphonePayloadType object |
LinphonePayloadType* linphone_payload_type_ref | ( | LinphonePayloadType * | payload_type | ) |
Take a reference on a LinphonePayloadType.
payload_type | the LinphonePayloadType object |
void linphone_payload_type_set_normal_bitrate | ( | LinphonePayloadType * | payload_type, |
int | bitrate | ||
) |
Change the normal bitrate of a payload type.
payload_type | the LinphonePayloadType object |
bitrate | The new bitrate in kbits/s. |
void linphone_payload_type_set_number | ( | LinphonePayloadType * | payload_type, |
int | number | ||
) |
Force a number for a payload type.
The LinphoneCore does payload type number assignment automatically. This function is mainly to be used for tests, in order to override the automatic assignment mechanism.
payload_type | the LinphonePayloadType object |
number | The number to assign to the payload type. |
void linphone_payload_type_set_recv_fmtp | ( | LinphonePayloadType * | payload_type, |
const char * | recv_fmtp | ||
) |
Set the format parameters for incoming streams.
payload_type | the LinphonePayloadType object |
recv_fmtp | The new format parameters as string. The string will be copied. |
void linphone_payload_type_set_send_fmtp | ( | LinphonePayloadType * | payload_type, |
const char * | send_fmtp | ||
) |
Set the format parameters for outgoing streams.
payload_type | the LinphonePayloadType object |
send_fmtp | The new format parameters as string. The string will be copied. |
void linphone_payload_type_unref | ( | LinphonePayloadType * | payload_type | ) |
Release a reference on a LinphonePayloadType.
payload_type | the LinphonePayloadType object |
bool_t linphone_payload_type_weak_equals | ( | const LinphonePayloadType * | payload_type, |
const LinphonePayloadType * | other_payload_type | ||
) |
Compare two payload types, and returns true if they are equal.
Parameters (fmtp strings) are not compared, hence the name 'weak equals'.
payload_type | the LinphonePayloadType object |
other_payload_type | another LinphonePayloadType object |
bool_t linphone_video_activation_policy_get_automatically_accept | ( | const LinphoneVideoActivationPolicy * | policy | ) |
Gets the value for the automatically accept video policy.
policy | the LinphoneVideoActivationPolicy object |
bool_t linphone_video_activation_policy_get_automatically_initiate | ( | const LinphoneVideoActivationPolicy * | policy | ) |
Gets the value for the automatically initiate video policy.
policy | the LinphoneVideoActivationPolicy object |
void* linphone_video_activation_policy_get_user_data | ( | const LinphoneVideoActivationPolicy * | policy | ) |
Gets the user data in the LinphoneVideoActivationPolicy object.
policy | the LinphoneVideoActivationPolicy |
LinphoneVideoActivationPolicy* linphone_video_activation_policy_ref | ( | LinphoneVideoActivationPolicy * | policy | ) |
Increment refcount.
policy | LinphoneVideoActivationPolicy object |
void linphone_video_activation_policy_set_automatically_accept | ( | LinphoneVideoActivationPolicy * | policy, |
bool_t | enable | ||
) |
Sets the value for the automatically accept video policy.
policy | the LinphoneVideoActivationPolicy object |
enable | whether or not to enable automatically accept video requests |
void linphone_video_activation_policy_set_automatically_initiate | ( | LinphoneVideoActivationPolicy * | policy, |
bool_t | enable | ||
) |
Sets the value for the automatically initiate video policy.
policy | the LinphoneVideoActivationPolicy object |
enable | whether or not to enable automatically initiate video calls |
void linphone_video_activation_policy_set_user_data | ( | LinphoneVideoActivationPolicy * | policy, |
void * | user_data | ||
) |
Sets the user data in the LinphoneVideoActivationPolicy object.
policy | the LinphoneVideoActivationPolicy object |
user_data | the user data |
void linphone_video_activation_policy_unref | ( | LinphoneVideoActivationPolicy * | policy | ) |
Decrement refcount and possibly free the object.
policy | LinphoneVideoActivationPolicy object |
LinphoneVideoDefinition* linphone_video_definition_clone | ( | const LinphoneVideoDefinition * | video_definition | ) |
Clone a video definition.
video_definition | LinphoneVideoDefinition object to be cloned |
bool_t linphone_video_definition_equals | ( | const LinphoneVideoDefinition * | video_definition1, |
const LinphoneVideoDefinition * | video_definition2 | ||
) |
Tells whether two LinphoneVideoDefinition objects are equal (the widths and the heights are the same but can be switched).
video_definition1 | LinphoneVideoDefinition object |
video_definition2 | LinphoneVideoDefinition object |
unsigned int linphone_video_definition_get_height | ( | const LinphoneVideoDefinition * | video_definition | ) |
Get the height of the video definition.
video_definition | LinphoneVideoDefinition object |
const char* linphone_video_definition_get_name | ( | const LinphoneVideoDefinition * | video_definition | ) |
Get the name of the video definition.
video_definition | LinphoneVideoDefinition object |
void* linphone_video_definition_get_user_data | ( | const LinphoneVideoDefinition * | video_definition | ) |
Retrieve the user pointer associated with the video definition.
video_definition | LinphoneVideoDefinition object. |
unsigned int linphone_video_definition_get_width | ( | const LinphoneVideoDefinition * | video_definition | ) |
Get the width of the video definition.
video_definition | LinphoneVideoDefinition object |
bool_t linphone_video_definition_is_undefined | ( | const LinphoneVideoDefinition * | video_definition | ) |
Tells whether a LinphoneVideoDefinition is undefined.
video_definition | LinphoneVideoDefinition object |
LinphoneVideoDefinition* linphone_video_definition_ref | ( | LinphoneVideoDefinition * | video_definition | ) |
Acquire a reference to the video definition.
video_definition | LinphoneVideoDefinition object. |
void linphone_video_definition_set_definition | ( | LinphoneVideoDefinition * | video_definition, |
unsigned int | width, | ||
unsigned int | height | ||
) |
Set the width and the height of the video definition.
video_definition | LinphoneVideoDefinition object |
width | The width of the video definition |
height | The height of the video definition |
void linphone_video_definition_set_height | ( | LinphoneVideoDefinition * | video_definition, |
unsigned int | height | ||
) |
Set the height of the video definition.
video_definition | LinphoneVideoDefinition object |
height | The height of the video definition |
void linphone_video_definition_set_name | ( | LinphoneVideoDefinition * | video_definition, |
const char * | name | ||
) |
Set the name of the video definition.
video_definition | LinphoneVideoDefinition object |
name | The name of the video definition |
void linphone_video_definition_set_user_data | ( | LinphoneVideoDefinition * | video_definition, |
void * | user_data | ||
) |
Assign a user pointer to the video definition.
video_definition | LinphoneVideoDefinition object. |
user_data | The user pointer to associate with the video definition. |
void linphone_video_definition_set_width | ( | LinphoneVideoDefinition * | video_definition, |
unsigned int | width | ||
) |
Set the width of the video definition.
video_definition | LinphoneVideoDefinition object |
width | The width of the video definition |
bool_t linphone_video_definition_strict_equals | ( | const LinphoneVideoDefinition * | video_definition1, |
const LinphoneVideoDefinition * | video_definition2 | ||
) |
Tells whether two LinphoneVideoDefinition objects are strictly equal (the widths are the same and the heights are the same).
video_definition1 | LinphoneVideoDefinition object |
video_definition2 | LinphoneVideoDefinition object |
void linphone_video_definition_unref | ( | LinphoneVideoDefinition * | video_definition | ) |
Release reference to the video definition.
video_definition | LinphoneVideoDefinition object. |