mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
Add 'video_enabled' information to call log
This commit is contained in:
parent
83b2a28753
commit
9a21860f49
4 changed files with 5 additions and 1 deletions
|
|
@ -1337,6 +1337,7 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut
|
|||
call->current_params.has_video=FALSE;
|
||||
if (call->videostream!=NULL) {
|
||||
linphone_call_start_video_stream(call,cname,all_inputs_muted);
|
||||
call->log->video_enabled = TRUE;
|
||||
}
|
||||
|
||||
call->all_muted=all_inputs_muted;
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ void call_logs_write_to_config_file(LinphoneCore *lc){
|
|||
lp_config_set_int(cfg,logsection,"duration",cl->duration);
|
||||
if (cl->refkey) lp_config_set_string(cfg,logsection,"refkey",cl->refkey);
|
||||
lp_config_set_float(cfg,logsection,"quality",cl->quality);
|
||||
lp_config_set_int(cfg,logsection,"video_enabled", cl->video_enabled);
|
||||
}
|
||||
for(;i<lc->max_call_logs;++i){
|
||||
snprintf(logsection,sizeof(logsection),"call_log_%i",i);
|
||||
|
|
@ -160,6 +161,7 @@ static void call_logs_read_from_config_file(LinphoneCore *lc){
|
|||
tmp=lp_config_get_string(cfg,logsection,"refkey",NULL);
|
||||
if (tmp) cl->refkey=ms_strdup(tmp);
|
||||
cl->quality=lp_config_get_float(cfg,logsection,"quality",-1);
|
||||
cl->video_enabled=lp_config_get_int(cfg,logsection,"video_enabled",0);
|
||||
lc->call_logs=ms_list_append(lc->call_logs,cl);
|
||||
}else break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ typedef struct _LinphoneCallLog{
|
|||
rtp_stats_t local_stats;
|
||||
rtp_stats_t remote_stats;
|
||||
float quality;
|
||||
int video_enabled;
|
||||
struct _LinphoneCore *lc;
|
||||
} LinphoneCallLog;
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 992399ad92032dd5da35c84ec0a14249c8af5144
|
||||
Subproject commit 513945c9781dbb9ae6905bb7fa80db2665f64d01
|
||||
Loading…
Add table
Reference in a new issue