mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-23 12:18:33 +00:00
FS-10017
This commit is contained in:
parent
c14cadf163
commit
189786d49b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user