提交 f4d8631c authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Andrey Volk

FS-11446: [freeswitch-core] Improve video JB scaling and fix misreported rtp stats #resolve

上级 878565e4
......@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论