Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params should be hardcoded

This commit is contained in:
Seven Du 2012-08-15 14:34:16 +08:00
parent 90ce980c61
commit 376f137392
1 changed files with 3 additions and 3 deletions

View File

@ -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");