]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7500: increase buffer size
authorBrian West <brian@freeswitch.org>
Fri, 1 May 2015 20:39:12 +0000 (15:39 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:28 +0000 (12:47 -0500)
src/switch_rtp.c

index a76a5419fb1e3ef0523f3233828ca89e4653ea7d..2aadb0323ff00cb73f9244f6ae0dba5fe2ad3e48 100644 (file)
@@ -2413,8 +2413,8 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s
        }
 
        if (rtp_session->flags[SWITCH_RTP_FLAG_VIDEO]) {
-               switch_socket_opt_set(new_sock, SWITCH_SO_RCVBUF, 786432);
-               switch_socket_opt_set(new_sock, SWITCH_SO_SNDBUF, 786432);
+               switch_socket_opt_set(new_sock, SWITCH_SO_RCVBUF, 1572864);
+               switch_socket_opt_set(new_sock, SWITCH_SO_SNDBUF, 1572864);
        }
 
        if (switch_socket_bind(new_sock, rtp_session->local_addr) != SWITCH_STATUS_SUCCESS) {