mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 21:17:06 +00:00
fix rtp issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4863 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ff484e6abb
commit
9b9723cbe8
6 files changed
+18
-8
No files matched your search
@@ -829,15 +829,13 @@ static int activate_rtp(struct private_object *tech_pvt)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "SETUP RTP %s:%d -> %s:%d\n", tech_pvt->profile->ip,
|
||||
tech_pvt->local_port, tech_pvt->remote_ip, tech_pvt->remote_port);
|
||||
|
||||
flags = SWITCH_RTP_FLAG_GOOGLEHACK | SWITCH_RTP_FLAG_AUTOADJ;
|
||||
flags = SWITCH_RTP_FLAG_GOOGLEHACK | SWITCH_RTP_FLAG_AUTOADJ | SWITCH_RTP_FLAG_RAW_WRITE | SWITCH_RTP_FLAG_AUTO_CNG;
|
||||
//flags = SWITCH_RTP_FLAG_AUTOADJ;
|
||||
|
||||
if (switch_test_flag(tech_pvt->profile, TFLAG_TIMER)) {
|
||||
flags |= SWITCH_RTP_FLAG_USE_TIMER;
|
||||
}
|
||||
|
||||
flags |= SWITCH_RTP_FLAG_AUTO_CNG;
|
||||
|
||||
if (!(tech_pvt->rtp_session = switch_rtp_new(tech_pvt->profile->ip,
|
||||
tech_pvt->local_port,
|
||||
tech_pvt->remote_ip,
|
||||
|
||||
Reference in new issue
Block a user