]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4808 see if this helps
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 4 Dec 2012 13:44:41 +0000 (07:44 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 4 Dec 2012 13:44:41 +0000 (07:44 -0600)
src/mod/endpoints/mod_dingaling/mod_dingaling.c

index 2878968ddff94d961c05ced2f2cf266a84d284a0..753e037a9d8e0e0663865fe5f26634330fbf5f05 100644 (file)
@@ -1490,11 +1490,11 @@ static int activate_rtp(struct private_object *tech_pvt)
 {
        int r = 0;
 
-       if (tech_pvt->transports[LDL_TPORT_RTP].ready) {
+       if (tech_pvt->transports[LDL_TPORT_RTP].ready && tech_pvt->transports[LDL_TPORT_RTCP].ready) {
                r += activate_audio_rtp(tech_pvt);
        }
 
-       if (tech_pvt->transports[LDL_TPORT_VIDEO_RTP].ready) {
+       if (tech_pvt->transports[LDL_TPORT_VIDEO_RTP].ready && tech_pvt->transports[LDL_TPORT_VIDEO_RTCP].ready) {
                r += activate_video_rtp(tech_pvt);
        }