FS-6926 #resolve #comment please test and reopen if necessary

This commit is contained in:
Anthony Minessale committed 2014-10-16 17:57:46 -05:00
1 parent f1ee4ba4d7
commit 1f9025d446
2 files changed
+100 -135

No files matched your search

+5 -3
View File
@@ -3825,11 +3825,13 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_activate_jitter_buffer(switch_rtp_t *
}
READ_INC(rtp_session);
if (rtp_session->jb) {
stfu_n_resize(rtp_session->jb, queue_frames);
} else {
rtp_session->jb = stfu_n_init(queue_frames, max_queue_frames ? max_queue_frames : 50, samples_per_packet, samples_per_second, max_drift);
stfu_n_destroy(&rtp_session->jb);
}
rtp_session->jb = stfu_n_init(queue_frames, max_queue_frames ? max_queue_frames : 50, samples_per_packet, samples_per_second, max_drift);
READ_DEC(rtp_session);
if (rtp_session->jb) {