提交 189786d4 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-10017

上级 c14cadf1
......@@ -7914,6 +7914,8 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
if (rtp_session->flags[SWITCH_RTP_FLAG_NACK]) {
switch_channel_t *channel = switch_core_session_get_channel(rtp_session->session);
if (!rtp_session->vbw) {
int nack_size = 100;
const char *var;
......@@ -7925,8 +7927,8 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
}
}
if (!rtp_session->vbw) {
switch_jb_create(&rtp_session->vbw, SJB_VIDEO, nack_size, nack_size, rtp_session->pool);
if (rtp_session->vbw) {
switch_jb_set_flag(rtp_session->vbw, SJB_QUEUE_ONLY);
//switch_jb_debug_level(rtp_session->vbw, 10);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论