mod_sofia: allow video negotiation on re-invite (SFSIP-211)

This commit is contained in:
Michael Jerris 2010-05-31 09:14:53 -04:00
parent f356c5e6f3
commit be92e5df08
1 changed files with 1 additions and 2 deletions

View File

@ -358,8 +358,7 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, uint32
}
if (sofia_test_flag(tech_pvt, TFLAG_VIDEO)) {
if (!switch_channel_test_flag(tech_pvt->channel, CF_ANSWERED) && !switch_channel_test_flag(tech_pvt->channel, CF_EARLY_MEDIA) &&
!tech_pvt->local_sdp_video_port) {
if (!tech_pvt->local_sdp_video_port) {
sofia_glue_tech_choose_video_port(tech_pvt, 0);
}