call_params.h 22.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
linphone
Copyright (C) 2010-2014  Belledonne Communications SARL

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18 19 20 21 22 23 24
*/


#ifndef __LINPHONE_CALL_PARAMS_H__
#define __LINPHONE_CALL_PARAMS_H__


25
#include "linphone/types.h"
26
#include "linphone/payload_type.h"
27 28


29 30 31
#ifdef __cplusplus
extern "C" {
#endif
32 33

/**
34 35
 * @addtogroup call_control
 * @{
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
**/

/*******************************************************************************
 * Public functions                                                            *
 ******************************************************************************/

/**
 * Add a custom SIP header in the INVITE for a call.
 * @param[in] cp The #LinphoneCallParams to add a custom SIP header to.
 * @param[in] header_name The name of the header to add.
 * @param[in] header_value The content of the header to add.
**/
LINPHONE_PUBLIC void linphone_call_params_add_custom_header(LinphoneCallParams *cp, const char *header_name, const char *header_value);

/**
51 52 53
 * Copy an existing #LinphoneCallParams object to a new #LinphoneCallParams object.
 * @param[in] cp The #LinphoneCallParams object to copy.
 * @return A copy of the #LinphoneCallParams object.
54 55 56 57 58
**/
LINPHONE_PUBLIC LinphoneCallParams * linphone_call_params_copy(const LinphoneCallParams *cp);

/**
 * Indicate whether sending of early media was enabled.
59
 * @param[in] cp #LinphoneCallParams object
60 61 62 63 64 65
 * @return A boolean value telling whether sending of early media was enabled.
**/
LINPHONE_PUBLIC bool_t linphone_call_params_early_media_sending_enabled(const LinphoneCallParams *cp);

/**
 * Enable sending of real early media (during outgoing calls).
66
 * @param[in] cp #LinphoneCallParams object
67 68 69 70 71 72 73 74 75
 * @param[in] enabled A boolean value telling whether to enable early media sending or not.
**/
LINPHONE_PUBLIC void linphone_call_params_enable_early_media_sending(LinphoneCallParams *cp, bool_t enabled);

/**
 * Indicate low bandwith mode.
 * Configuring a call to low bandwidth mode will result in the core to activate several settings for the call in order to ensure that bitrate usage
 * is lowered to the minimum possible. Typically, ptime (packetization time) will be increased, audio codec's output bitrate will be targetted to 20kbit/s provided
 * that it is achievable by the codec selected after SDP handshake. Video is automatically disabled.
76
 * @param[in] cp #LinphoneCallParams object
77 78 79 80
 * @param[in] enabled A boolean value telling whether to activate the low bandwidth mode or not.
**/
LINPHONE_PUBLIC void linphone_call_params_enable_low_bandwidth(LinphoneCallParams *cp, bool_t enabled);

81 82
/**
 * Enable audio stream.
83
 * @param[in] cp #LinphoneCallParams object
84 85 86 87
 * @param[in] enabled A boolean value telling whether to enable audio or not.
**/
LINPHONE_PUBLIC void linphone_call_params_enable_audio(LinphoneCallParams *cp, bool_t enabled);

88 89
/**
 * Enable video stream.
90
 * @param[in] cp #LinphoneCallParams object
91 92 93 94 95 96 97 98 99 100 101 102 103 104
 * @param[in] enabled A boolean value telling whether to enable video or not.
**/
LINPHONE_PUBLIC void linphone_call_params_enable_video(LinphoneCallParams *cp, bool_t enabled);

/**
 * Get a custom SIP header.
 * @param[in] cp The #LinphoneCallParams to get the custom SIP header from.
 * @param[in] header_name The name of the header to get.
 * @return The content of the header or NULL if not found.
**/
LINPHONE_PUBLIC const char *linphone_call_params_get_custom_header(const LinphoneCallParams *cp, const char *header_name);

/**
 * Tell whether the call is part of the locally managed conference.
105 106 107 108
 * @warning If a conference server is used to manage conferences,
 * that function does not return TRUE even if the conference is running.<br/>
 * If you want to test whether the conference is running, you should test
 * whether linphone_core_get_conference() return a non-null pointer.
109
 * @param[in] cp #LinphoneCallParams object
110 111 112 113 114 115
 * @return A boolean value telling whether the call is part of the locally managed conference.
**/
LINPHONE_PUBLIC bool_t linphone_call_params_get_local_conference_mode(const LinphoneCallParams *cp);

/**
 * Get the kind of media encryption selected for the call.
116
 * @param[in] cp #LinphoneCallParams object
117 118 119 120
 * @return The kind of media encryption selected for the call.
**/
LINPHONE_PUBLIC LinphoneMediaEncryption linphone_call_params_get_media_encryption(const LinphoneCallParams *cp);

121 122
/**
 * Get requested level of privacy for the call.
123
 * @param[in] cp #LinphoneCallParams object
124 125 126 127
 * @return The privacy mode used for the call.
**/
LINPHONE_PUBLIC LinphonePrivacyMask linphone_call_params_get_privacy(const LinphoneCallParams *cp);

128 129
/**
 * Get the framerate of the video that is received.
130
 * @param[in] cp #LinphoneCallParams object
131 132 133 134
 * @return The actual received framerate in frames per seconds, 0 if not available.
 */
LINPHONE_PUBLIC float linphone_call_params_get_received_framerate(const LinphoneCallParams *cp);

135 136
/**
 * Get the definition of the received video.
137 138
 * @param[in] cp #LinphoneCallParams object
 * @return The received #LinphoneVideoDefinition
139 140 141
 */
LINPHONE_PUBLIC const LinphoneVideoDefinition * linphone_call_params_get_received_video_definition(const LinphoneCallParams *cp);

142
/**
143 144
 * @brief Get the size of the video that is received.
 * @param[in] cp #LinphoneCallParams object
145
 * @return The received video size or MS_VIDEO_SIZE_UNKNOWN if not available.
146 147
 * @deprecated Use #linphone_call_params_get_received_video_definition() instead. Deprecated since 2017-03-28.
 * @donotwrap
148
 */
149
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize linphone_call_params_get_received_video_size(const LinphoneCallParams *cp);
150 151 152

/**
 * Get the path for the audio recording of the call.
153
 * @param[in] cp #LinphoneCallParams object
154 155 156 157 158 159 160 161 162 163 164 165 166
 * @return The path to the audio recording of the call.
**/
LINPHONE_PUBLIC const char *linphone_call_params_get_record_file(const LinphoneCallParams *cp);

/**
 * Get the RTP profile being used.
 * @param[in] cp #LinphoneCallParams object
 * @return The RTP profile.
 */
LINPHONE_PUBLIC const char * linphone_call_params_get_rtp_profile(const LinphoneCallParams *cp);

/**
 * Get the framerate of the video that is sent.
167
 * @param[in] cp #LinphoneCallParams object
168 169 170 171
 * @return The actual sent framerate in frames per seconds, 0 if not available.
 */
LINPHONE_PUBLIC float linphone_call_params_get_sent_framerate(const LinphoneCallParams *cp);

172 173
/**
 * Get the definition of the sent video.
174 175
 * @param[in] cp #LinphoneCallParams object
 * @return The sent #LinphoneVideoDefinition
176 177 178
 */
LINPHONE_PUBLIC const LinphoneVideoDefinition * linphone_call_params_get_sent_video_definition(const LinphoneCallParams *cp);

179
/**
180
 * @brief Gets the size of the video that is sent.
181
 * @param[in] cp #LinphoneCalParams object
182
 * @return The sent video size or MS_VIDEO_SIZE_UNKNOWN if not available.
183 184
 * @deprecated Use #linphone_call_params_get_sent_video_definition() instead. Deprecated since 2017-03-28.
 * @donotwrap
185
 */
186
LINPHONE_PUBLIC LINPHONE_DEPRECATED MSVideoSize linphone_call_params_get_sent_video_size(const LinphoneCallParams *cp);
187 188 189 190

/**
 * Get the session name of the media session (ie in SDP).
 * Subject from the SIP message can be retrieved using linphone_call_params_get_custom_header() and is different.
191
 * @param[in] cp #LinphoneCallParams object
192 193 194 195 196
 * @return The session name of the media session.
**/
LINPHONE_PUBLIC const char *linphone_call_params_get_session_name(const LinphoneCallParams *cp);

/**
197 198 199
 * Get the audio payload type that has been selected by a call.
 * @param[in] cp The call.
 * @return The selected payload type. NULL is returned if no audio payload type has been seleced
200
 * by the call.
201
**/
202
LINPHONE_PUBLIC LinphonePayloadType *linphone_call_params_get_used_audio_payload_type(const LinphoneCallParams *cp);
203 204

/**
205 206 207
 * Get the video payload type that has been selected by a call.
 * @param[in] cp The call.
 * @return The selected payload type. NULL is returned if no video payload type has been seleced
208
 * by the call.
209
**/
210
LINPHONE_PUBLIC LinphonePayloadType *linphone_call_params_get_used_video_payload_type(const LinphoneCallParams *cp);
211

212
/**
213 214 215
 * Get the text payload type that has been selected by a call.
 * @param[in] cp The call.
 * @return The selected payload type. NULL is returned if no text payload type has been seleced
216
 * by the call.
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
**/
LINPHONE_PUBLIC LinphonePayloadType *linphone_call_params_get_used_text_payload_type(const LinphoneCallParams *cp);

/**
 * Get the audio payload type that has been selected by a call.
 * @param[in] cp The call.
 * @return The selected payload type. NULL is returned if no audio payload type has been seleced by the call.
 * @deprecated Use linphone_call_params_get_used_audio_payload_type() instead.
 * @donotwrap
**/
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType *linphone_call_params_get_used_audio_codec(const LinphoneCallParams *cp);

/**
 * Get the video payload type that has been selected by a call.
 * @param[in] cp The call.
 * @return The selected payload type. NULL is returned if no video payload type has been seleced by the call.
 * @deprecated Use linphone_call_params_get_used_video_payload_type() instead.
 * @donotwrap
**/
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType *linphone_call_params_get_used_video_codec(const LinphoneCallParams *cp);

/**
 * Get the text payload type that has been selected by a call.
 * @param[in] cp The call.
 * @return The selected payload type. NULL is returned if no text payload type has been seleced by the call.
 * @deprecated Use linphone_call_params_get_used_text_payload_type() instead.
 * @donotwrap
244
**/
245
LINPHONE_PUBLIC LINPHONE_DEPRECATED const OrtpPayloadType *linphone_call_params_get_used_text_codec(const LinphoneCallParams *cp);
246

247 248 249 250 251 252
/**
 * Tell whether the call has been configured in low bandwidth mode or not.
 * This mode can be automatically discovered thanks to a stun server when activate_edge_workarounds=1 in section [net] of configuration file.
 * An application that would have reliable way to know network capacity may not use activate_edge_workarounds=1 but instead manually configure
 * low bandwidth mode with linphone_call_params_enable_low_bandwidth().
 * When enabled, this param may transform a call request with video in audio only mode.
253
 * @param[in] cp #LinphoneCallParams object
254 255 256 257 258 259 260
 * @return A boolean value telling whether the low bandwidth mode has been configured/detected.
 */
LINPHONE_PUBLIC bool_t linphone_call_params_low_bandwidth_enabled(const LinphoneCallParams *cp);

/**
 * Refine bandwidth settings for this call by setting a bandwidth limit for audio streams.
 * As a consequence, codecs whose bitrates are not compatible with this limit won't be used.
261
 * @param[in] cp #LinphoneCallParams object
262 263 264 265 266 267
 * @param[in] bw The audio bandwidth limit to set in kbit/s.
**/
LINPHONE_PUBLIC void linphone_call_params_set_audio_bandwidth_limit(LinphoneCallParams *cp, int bw);

/**
 * Set requested media encryption for a call.
268
 * @param[in] cp #LinphoneCallParams object
269 270 271 272
 * @param[in] enc The media encryption to use for the call.
**/
LINPHONE_PUBLIC void linphone_call_params_set_media_encryption(LinphoneCallParams *cp, LinphoneMediaEncryption enc);

273 274 275
/**
 * Set requested level of privacy for the call.
 * \xmlonly <language-tags>javascript</language-tags> \endxmlonly
276
 * @param[in] cp #LinphoneCallParams object
277 278
 * @param[in] privacy The privacy mode to used for the call.
**/
279
LINPHONE_PUBLIC void linphone_call_params_set_privacy(LinphoneCallParams *cp, LinphonePrivacyMask privacy);
280

281 282 283 284 285
/**
 * Enable recording of the call.
 * This function must be used before the call parameters are assigned to the call.
 * The call recording can be started and paused after the call is established with
 * linphone_call_start_recording() and linphone_call_pause_recording().
286
 * @param[in] cp #LinphoneCallParams object
287 288 289 290 291 292 293 294
 * @param[in] path A string containing the path and filename of the file where audio/video streams are to be written.
 * The filename must have either .mkv or .wav extention. The video stream will be written only if a MKV file is given.
**/
LINPHONE_PUBLIC void linphone_call_params_set_record_file(LinphoneCallParams *cp, const char *path);

/**
 * Set the session name of the media session (ie in SDP).
 * Subject from the SIP message (which is different) can be set using linphone_call_params_set_custom_header().
295
 * @param[in] cp #LinphoneCallParams object
296 297 298 299
 * @param[in] name The session name to be used.
**/
LINPHONE_PUBLIC void linphone_call_params_set_session_name(LinphoneCallParams *cp, const char *name);

300 301
/**
 * Tell whether audio is enabled or not.
302
 * @param[in] cp #LinphoneCallParams object
303 304 305 306
 * @return A boolean value telling whether audio is enabled or not.
**/
LINPHONE_PUBLIC bool_t linphone_call_params_audio_enabled(const LinphoneCallParams *cp);

307 308
/**
 * Tell whether video is enabled or not.
309
 * @param[in] cp #LinphoneCallParams object
310 311 312 313
 * @return A boolean value telling whether video is enabled or not.
**/
LINPHONE_PUBLIC bool_t linphone_call_params_video_enabled(const LinphoneCallParams *cp);

jehan's avatar
jehan committed
314 315
/**
 * Get the audio stream direction.
316
 * @param[in] cp #LinphoneCallParams object
jehan's avatar
jehan committed
317 318
 * @return The audio stream direction associated with the call params.
**/
319
LINPHONE_PUBLIC  LinphoneMediaDirection linphone_call_params_get_audio_direction(const LinphoneCallParams *cp);
jehan's avatar
jehan committed
320 321 322

/**
 * Get the video stream direction.
323
 * @param[in] cp #LinphoneCallParams object
jehan's avatar
jehan committed
324 325
 * @return The video stream direction associated with the call params.
**/
326
LINPHONE_PUBLIC  LinphoneMediaDirection linphone_call_params_get_video_direction(const LinphoneCallParams *cp);
jehan's avatar
jehan committed
327 328

/**
329
 * Set the audio stream direction.
330
 * @param[in] cp #LinphoneCallParams object
331
 * @param[in] dir The audio stream direction associated with this call params.
jehan's avatar
jehan committed
332
**/
333
LINPHONE_PUBLIC void linphone_call_params_set_audio_direction(LinphoneCallParams *cp, LinphoneMediaDirection dir);
jehan's avatar
jehan committed
334 335

/**
336
 * Set the video stream direction.
337
 * @param[in] cp #LinphoneCallParams object
338
 * @param[in] dir The video stream direction associated with this call params.
jehan's avatar
jehan committed
339
**/
340
LINPHONE_PUBLIC void linphone_call_params_set_video_direction(LinphoneCallParams *cp, LinphoneMediaDirection dir);
jehan's avatar
jehan committed
341

342

343 344 345 346 347 348 349 350 351 352
int linphone_call_params_get_audio_bandwidth_limit(const LinphoneCallParams *params);
bool_t linphone_call_params_real_early_media_enabled(const LinphoneCallParams *params);
bool_t linphone_call_params_avpf_enabled(const LinphoneCallParams *params);
void linphone_call_params_enable_avpf(LinphoneCallParams *params, bool_t enable);
bool_t linphone_call_params_mandatory_media_encryption_enabled(const LinphoneCallParams *params);
void linphone_call_params_enable_mandatory_media_encryption(LinphoneCallParams *params, bool_t value);
uint16_t linphone_call_params_get_avpf_rr_interval(const LinphoneCallParams *params);
void linphone_call_params_set_avpf_rr_interval(LinphoneCallParams *params, uint16_t value);


353 354 355 356 357 358
/*******************************************************************************
 * Reference and user data handling functions                                  *
 ******************************************************************************/

/**
 * Get the user data associated with the call params.
359
 * @param[in] cp #LinphoneCallParams object
360 361 362 363 364 365
 * @return The user data associated with the call params.
**/
LINPHONE_PUBLIC void *linphone_call_params_get_user_data(const LinphoneCallParams *cp);

/**
 * Assign a user data to the call params.
366
 * @param[in] cp #LinphoneCallParams object
367 368 369 370 371 372
 * @param[in] ud The user data to associate with the call params.
**/
LINPHONE_PUBLIC void linphone_call_params_set_user_data(LinphoneCallParams *cp, void *ud);

/**
 * Acquire a reference to the call params.
373 374
 * @param[in] cp #LinphoneCallParams object
 * @return The same #LinphoneCallParams object
375 376 377 378 379
**/
LINPHONE_PUBLIC LinphoneCallParams * linphone_call_params_ref(LinphoneCallParams *cp);

/**
 * Release a reference to the call params.
380
 * @param[in] cp #LinphoneCallParams object
381 382 383 384
**/
LINPHONE_PUBLIC void linphone_call_params_unref(LinphoneCallParams *cp);


385 386 387 388
/**
 * 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.
 * <br> For incoming calls behavior is unchanged.
389
 * @param params #LinphoneCallParams
390 391 392
 * @param yesno if yes, subsequent calls will propose multicast ip set by #linphone_core_set_audio_multicast_addr
 * @ingroup media_parameters
**/
393
LINPHONE_PUBLIC void linphone_call_params_enable_audio_multicast(LinphoneCallParams *params, bool_t yesno);
394 395 396

/**
 * Use to get multicast state of audio stream.
397
 * @param params #LinphoneCallParams
398 399 400
 * @return true if  subsequent calls will propose multicast ip set by #linphone_core_set_audio_multicast_addr
 * @ingroup media_parameters
**/
401
LINPHONE_PUBLIC bool_t linphone_call_params_audio_multicast_enabled(const LinphoneCallParams *params);
402 403 404 405 406

/**
 * 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.
 * <br> For incoming calls behavior is unchanged.
407
 * @param params #LinphoneCallParams
408 409 410
 * @param yesno if yes, subsequent outgoing calls will propose multicast ip set by #linphone_core_set_video_multicast_addr
 * @ingroup media_parameters
**/
411
LINPHONE_PUBLIC void linphone_call_params_enable_video_multicast(LinphoneCallParams *params, bool_t yesno);
412

413 414
/**
 * Use to get multicast state of video stream.
415
 * @param params #LinphoneCallParams
416 417 418
 * @return true if  subsequent calls will propose multicast ip set by #linphone_core_set_video_multicast_addr
 * @ingroup media_parameters
**/
419 420 421 422 423 424 425 426 427
LINPHONE_PUBLIC bool_t linphone_call_params_video_multicast_enabled(const LinphoneCallParams *params);

/**
 * Use to enable real time text following rfc4103.
 * If enabled, outgoing calls put a m=text line in SDP offer .
 * @param params #LinphoneCallParams
 * @param yesno if yes, subsequent outgoing calls will propose rtt
 * @ingroup media_parameters
**/
428
LINPHONE_PUBLIC LinphoneStatus linphone_call_params_enable_realtime_text(LinphoneCallParams *params, bool_t yesno);
429 430 431 432 433 434 435 436

/**
 * Use to get real time text following rfc4103.
 * @param params #LinphoneCallParams
 * @returns returns true if call rtt is activated.
 * @ingroup media_parameters
**/
LINPHONE_PUBLIC bool_t linphone_call_params_realtime_text_enabled(const LinphoneCallParams *params);
437

438 439 440 441 442 443 444 445 446 447 448 449
/**
 * Add a custom attribute related to all the streams in the SDP exchanged within SIP messages during a call.
 * @param[in] params The #LinphoneCallParams to add a custom SDP attribute to.
 * @param[in] attribute_name The name of the attribute to add.
 * @param[in] attribute_value The content value of the attribute to add.
 * @ingroup media_parameters
**/
LINPHONE_PUBLIC void linphone_call_params_add_custom_sdp_attribute(LinphoneCallParams *params, 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.
 * @param[in] params The #LinphoneCallParams to add a custom SDP attribute to.
450
 * @param[in] type The type of the stream to add a custom SDP attribute to.
451 452 453 454 455 456 457 458 459 460 461
 * @param[in] attribute_name The name of the attribute to add.
 * @param[in] attribute_value The content value of the attribute to add.
 * @ingroup media_parameters
**/
LINPHONE_PUBLIC void linphone_call_params_add_custom_sdp_media_attribute(LinphoneCallParams *params, LinphoneStreamType type, const char *attribute_name, const char *attribute_value);

/**
 * Get a custom SDP attribute that is related to all the streams.
 * @param[in] params The #LinphoneCallParams to get the custom SDP attribute from.
 * @param[in] attribute_name The name of the attribute to get.
 * @return The content value of the attribute or NULL if not found.
462
 * @ingroup media_parameters
463 464 465 466 467 468
**/
LINPHONE_PUBLIC 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 a specific stream.
 * @param[in] params The #LinphoneCallParams to get the custom SDP attribute from.
469
 * @param[in] type The type of the stream to add a custom SDP attribute to.
470 471
 * @param[in] attribute_name The name of the attribute to get.
 * @return The content value of the attribute or NULL if not found.
472
 * @ingroup media_parameters
473 474 475
**/
LINPHONE_PUBLIC const char * linphone_call_params_get_custom_sdp_media_attribute(const LinphoneCallParams *params, LinphoneStreamType type, const char *attribute_name);

476 477 478 479 480 481 482 483 484 485 486 487 488 489 490
/**
 * Clear the custom SDP attributes related to all the streams in the SDP exchanged within SIP messages during a call.
 * @param[in] params The #LinphoneCallParams to clear the custom SDP attributes from.
 * @ingroup media_parameters
**/
LINPHONE_PUBLIC void linphone_call_params_clear_custom_sdp_attributes(LinphoneCallParams *params);

/**
 * Clear the custom SDP attributes related to a specific stream in the SDP exchanged within SIP messages during a call.
 * @param[in] params The #LinphoneCallParams to clear the custom SDP attributes from.
 * @param[in] type The type of the stream to clear the custom SDP attributes from.
 * @ingroup media_parameters
**/
LINPHONE_PUBLIC void linphone_call_params_clear_custom_sdp_media_attributes(LinphoneCallParams *params, LinphoneStreamType type);

491

492 493 494 495 496 497 498 499
/*******************************************************************************
 * DEPRECATED                                                                  *
 ******************************************************************************/

/** @deprecated Use linphone_call_params_get_local_conference_mode() instead. */
#define linphone_call_params_local_conference_mode linphone_call_params_get_local_conference_mode

/**
500 501
 * Destroy a #LinphoneCallParams object.
 * @param[in] cp #LinphoneCallParams object
502
 * @deprecated Use linphone_call_params_unref() instead.
503
 * @donotwrap
504
**/
505
LINPHONE_DEPRECATED LINPHONE_PUBLIC void linphone_call_params_destroy(LinphoneCallParams *cp);
506 507 508 509 510

/**
 * @}
**/

511 512 513
#ifdef __cplusplus
}
#endif
514 515

#endif /* __LINPHONE_CALL_PARAMS_H__ */