mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
add lc default value for call param real_early_media
This commit is contained in:
parent
f6447b3c07
commit
98448654d3
2 changed files with 3 additions and 0 deletions
|
|
@ -1482,6 +1482,7 @@ static void misc_config_read(LinphoneCore *lc) {
|
|||
*//*JOHAN: USELESS? REMOVE IT*/
|
||||
//const char *user_certificate_config_path = lp_config_get_string(config,"misc","uuid",);
|
||||
// }*/
|
||||
lc->real_early_media=lp_config_get_int(config,"misc","real_early_media",FALSE);
|
||||
}
|
||||
|
||||
static void linphone_core_start(LinphoneCore * lc) {
|
||||
|
|
@ -6904,6 +6905,7 @@ void linphone_core_init_default_params(LinphoneCore*lc, LinphoneCallParams *para
|
|||
params->avpf_enabled=FALSE;
|
||||
params->audio_dir=LinphoneCallParamsMediaDirectionSendRecv;
|
||||
params->video_dir=LinphoneCallParamsMediaDirectionSendRecv;
|
||||
params->real_early_media=lc->real_early_media;
|
||||
}
|
||||
|
||||
void linphone_core_set_device_identifier(LinphoneCore *lc,const char* device_id) {
|
||||
|
|
|
|||
|
|
@ -796,6 +796,7 @@ struct _LinphoneCore
|
|||
const char **supported_formats;
|
||||
LinphoneContent *log_collection_upload_information;
|
||||
LinphoneCoreVTable *current_vtable; // the latest vtable to call a callback, see linphone_core_get_current_vtable
|
||||
bool_t real_early_media; /*default value for CallParams.real_early_media*/
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue