mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 884071 Signaling - stop setting video prefs when in SDP mode r=jesup
This commit is contained in:
parent
0627a32e04
commit
cfb015452b
@ -631,13 +631,20 @@ processSessionEvent (line_t line_id, callid_t call_id, unsigned int event, sdp_d
|
||||
char* data1 =(char*)ccData.info1;
|
||||
long strtol_result;
|
||||
char *strtol_end;
|
||||
int sdpmode = 0;
|
||||
|
||||
CCAPP_DEBUG(DEB_L_C_F_PREFIX"event=%d data=%s",
|
||||
DEB_L_C_F_PREFIX_ARGS(SIP_CC_PROV, call_id, line_id, fname), event,
|
||||
((event == CC_FEATURE_KEYPRESS) ? "..." : data));
|
||||
|
||||
memset(&featdata, 0, sizeof(cc_feature_data_t));
|
||||
updateVideoPref(event, line_id, call_id, video_pref);
|
||||
|
||||
|
||||
config_get_value(CFGID_SDPMODE, &sdpmode, sizeof(sdpmode));
|
||||
if (!sdpmode) {
|
||||
updateVideoPref(event, line_id, call_id, video_pref);
|
||||
}
|
||||
|
||||
switch(event) {
|
||||
case CC_FEATURE_ONHOOK:
|
||||
getLineIdAndCallId(&line_id, &call_id);
|
||||
|
Loading…
Reference in New Issue
Block a user