Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
a3f96a73
Commit
a3f96a73
authored
Jul 08, 2014
by
jehan
Browse files
add config param to disable vfu request
parent
9280f2ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
coreapi/linphonecall.c
coreapi/linphonecall.c
+7
-4
coreapi/linphonecore.c
coreapi/linphonecore.c
+1
-0
coreapi/private.h
coreapi/private.h
+1
-0
No files found.
coreapi/linphonecall.c
View file @
a3f96a73
...
...
@@ -1278,11 +1278,14 @@ void linphone_call_enable_camera (LinphoneCall *call, bool_t enable){
/**
* Request remote side to send us a Video Fast Update.
**/
void
linphone_call_send_vfu_request
(
LinphoneCall
*
call
)
{
void
linphone_call_send_vfu_request
(
LinphoneCall
*
call
)
{
#ifdef VIDEO_ENABLED
if
(
LinphoneCallStreamsRunning
==
linphone_call_get_state
(
call
))
sal_call_send_vfu_request
(
call
->
op
);
if
(
call
->
core
->
sip_conf
.
vfu_with_info
)
{
if
(
LinphoneCallStreamsRunning
==
linphone_call_get_state
(
call
))
sal_call_send_vfu_request
(
call
->
op
);
}
else
{
ms_message
(
"vfu request using sip disabled from config [sip,vfu_with_info]"
);
}
#endif
}
...
...
coreapi/linphonecore.c
View file @
a3f96a73
...
...
@@ -755,6 +755,7 @@ static void sip_config_read(LinphoneCore *lc)
sal_use_one_matching_codec_policy
(
lc
->
sal
,
lp_config_get_int
(
lc
->
config
,
"sip"
,
"only_one_codec"
,
0
));
sal_use_dates
(
lc
->
sal
,
lp_config_get_int
(
lc
->
config
,
"sip"
,
"put_date"
,
0
));
sal_enable_sip_update_method
(
lc
->
sal
,
lp_config_get_int
(
lc
->
config
,
"sip"
,
"sip_update"
,
1
));
lc
->
sip_conf
.
vfu_with_info
=
lp_config_get_int
(
lc
->
config
,
"sip"
,
"vfu_with_info"
,
1
);
}
static
void
rtp_config_read
(
LinphoneCore
*
lc
)
...
...
coreapi/private.h
View file @
a3f96a73
...
...
@@ -524,6 +524,7 @@ typedef struct sip_config
bool_t
ping_with_options
;
bool_t
auto_net_state_mon
;
bool_t
tcp_tls_keepalive
;
bool_t
vfu_with_info
;
/*use to enable vfu request using sip info*/
}
sip_config_t
;
typedef
struct
rtp_config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment