Changeset 480:69b8ff584182 in verona for phapi/phapi.c


Ignore:
Timestamp:
May 16, 2012 6:17:42 PM (12 months ago)
Author:
Vadim Lebedev <vadim@…>
Branch:
default
Message:

close rtp socks tunnel at the end of call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phapi/phapi.c

    r478 r480  
    11891189          } 
    11901190#endif 
     1191#ifdef ENABLE_SOCKS 
     1192          if (phcfg.use_tunnel & PH_RTP_TUNNEL_USE) { 
     1193                  if (ca->audio_rtptr) 
     1194                          rtp_socks_close(ca->audio_rtptr); 
     1195                  if (ca->audio_rtcptr) 
     1196                          rtp_socks_close(ca->audio_rtcptr); 
     1197 
     1198#ifdef PHAPI_VIDEO_SUPPORT 
     1199 
     1200                  if (_is_video_enabled(ca->nego_mstreams)) { 
     1201                          if (ca->video_rtptr) 
     1202                                  rtp_socks_close(ca->video_rtptr); 
     1203                          if (ca->video_rtcptr) 
     1204                                  rtp_socks_close(ca->video_rtcptr); 
     1205                  } 
     1206 
     1207#endif 
     1208          } 
     1209#endif 
     1210 
    11911211} 
    11921212 
Note: See TracChangeset for help on using the changeset viewer.