]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params...
authorSeven Du <dujinfang@gmail.com>
Wed, 15 Aug 2012 06:34:16 +0000 (14:34 +0800)
committerSeven Du <dujinfang@gmail.com>
Wed, 15 Aug 2012 06:35:42 +0000 (14:35 +0800)
src/mod/applications/mod_esf/mod_esf.c

index 5414b9d8df693931828e9511b7444582892a6b5c..9d9aabdbae23ab2ddd30d0b5eb2d9a3847cdd225 100644 (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");