]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_sofia: allow video negotiation on re-invite (SFSIP-211)
authorMichael Jerris <mike@jerris.com>
Mon, 31 May 2010 13:14:53 +0000 (09:14 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 31 May 2010 13:14:53 +0000 (09:14 -0400)
src/mod/endpoints/mod_sofia/sofia_glue.c

index c4bd001e827ec4e6b0516c282ad91b06d33dc95c..2209daec0cf8ba635e5eb0650ec6243a8fc54cbf 100644 (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);
                }