forked from Mirrors/freeswitch
FS-4266 --resolve
This commit is contained in:
parent
25287f3828
commit
baf5bbd565
@ -1751,7 +1751,7 @@ void sofia_glue_tech_patch_sdp(private_object_t *tech_pvt)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if ((!strncmp("m=audio ", p, 8) && *(p + 9) != '0') || (!strncmp("m=image ", p, 8) && *(p + 9) != '0')) {
|
} else if ((!strncmp("m=audio ", p, 8) && *(p + 8) != '0') || (!strncmp("m=image ", p, 8) && *(p + 8) != '0')) {
|
||||||
strncpy(q, p, 8);
|
strncpy(q, p, 8);
|
||||||
p += 8;
|
p += 8;
|
||||||
|
|
||||||
@ -1787,7 +1787,7 @@ void sofia_glue_tech_patch_sdp(private_object_t *tech_pvt)
|
|||||||
|
|
||||||
has_audio++;
|
has_audio++;
|
||||||
|
|
||||||
} else if (!strncmp("m=video ", p, 8) && *(p + 9) != '0') {
|
} else if (!strncmp("m=video ", p, 8) && *(p + 8) != '0') {
|
||||||
if (!has_video) {
|
if (!has_video) {
|
||||||
sofia_glue_tech_choose_video_port(tech_pvt, 1);
|
sofia_glue_tech_choose_video_port(tech_pvt, 1);
|
||||||
tech_pvt->video_rm_encoding = "PROXY-VID";
|
tech_pvt->video_rm_encoding = "PROXY-VID";
|
||||||
|
Loading…
Reference in New Issue
Block a user