Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params should be hardcoded
This commit is contained in:
parent
fbb53c75dd
commit
24a45b034b
|
@ -199,9 +199,9 @@ SWITCH_STANDARD_APP(bcast_function)
|
||||||
rtp_port,
|
rtp_port,
|
||||||
mcast_ip,
|
mcast_ip,
|
||||||
mcast_port,
|
mcast_port,
|
||||||
read_impl.ianacode,
|
0,
|
||||||
read_impl.samples_per_packet,
|
8000,
|
||||||
read_impl.microseconds_per_packet, (switch_rtp_flag_t) flags, "soft", &err, switch_core_session_get_pool(session));
|
20, (switch_rtp_flag_t) flags, "soft", &err, switch_core_session_get_pool(session));
|
||||||
|
|
||||||
if (!switch_rtp_ready(rtp_session)) {
|
if (!switch_rtp_ready(rtp_session)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "RTP Error\n");
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "RTP Error\n");
|
||||||
|
|
Loading…
Reference in New Issue