From: Anthony Minessale Date: Mon, 12 Nov 2018 14:47:54 +0000 (+0000) Subject: FS-11446: [freeswitch-core] Improve video JB scaling and fix misreported rtp stats... X-Git-Tag: v1.10.0~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d8631c09980e1859655c8b0a1ab335ab03a21b;p=thirdparty%2Ffreeswitch.git FS-11446: [freeswitch-core] Improve video JB scaling and fix misreported rtp stats #resolve --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 2f4013fd6a..392c5c49bf 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -2758,10 +2758,10 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s goto done; } - if (rtp_session->flags[SWITCH_RTP_FLAG_VIDEO]) { - switch_socket_opt_set(new_sock, SWITCH_SO_RCVBUF, 1572864); - switch_socket_opt_set(new_sock, SWITCH_SO_SNDBUF, 1572864); - } + //if (rtp_session->flags[SWITCH_RTP_FLAG_VIDEO]) { + // 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) { char *em = switch_core_sprintf(rtp_session->pool, "Bind Error! %s:%d", host, port);