]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4684 try this, this behaviour is not supported in proxy mode
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 5 Oct 2012 14:00:30 +0000 (09:00 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 5 Oct 2012 14:00:30 +0000 (09:00 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 4c0ae8de1fd32e23476557a041c3632b9ea65c62..a67bc97b36292a6fdc1d5e2c9a93956ae460ca80 100644 (file)
@@ -1830,6 +1830,9 @@ void sofia_glue_tech_patch_sdp(private_object_t *tech_pvt)
                                tech_pvt->video_rm_rate = 90000;
                                tech_pvt->video_codec_ms = 0;
                                switch_snprintf(vport_buf, sizeof(vport_buf), "%u", tech_pvt->adv_sdp_video_port);
+                               if (switch_channel_media_ready(tech_pvt->channel) && !switch_rtp_ready(tech_pvt->video_rtp_session)) {
+                                       sofia_glue_activate_rtp(tech_pvt, 0);
+                               }
                        }
 
                        strncpy(q, p, 8);