From 24a45b034b6d6b6182aa97588f84edd5c028c167 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Wed, 15 Aug 2012 14:34:16 +0800 Subject: [PATCH] Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params should be hardcoded --- src/mod/applications/mod_esf/mod_esf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/applications/mod_esf/mod_esf.c b/src/mod/applications/mod_esf/mod_esf.c index 5414b9d8df..9d9aabdbae 100644 --- a/src/mod/applications/mod_esf/mod_esf.c +++ b/src/mod/applications/mod_esf/mod_esf.c @@ -199,9 +199,9 @@ SWITCH_STANDARD_APP(bcast_function) rtp_port, mcast_ip, mcast_port, - read_impl.ianacode, - read_impl.samples_per_packet, - read_impl.microseconds_per_packet, (switch_rtp_flag_t) flags, "soft", &err, switch_core_session_get_pool(session)); + 0, + 8000, + 20, (switch_rtp_flag_t) flags, "soft", &err, switch_core_session_get_pool(session)); if (!switch_rtp_ready(rtp_session)) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "RTP Error\n");