mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 04:03:53 +00:00
FS-7501: tweak some settings on jb
This commit is contained in:
parent
6b92f8624c
commit
ac2e1b692e
@ -5693,7 +5693,6 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
|||||||
|
|
||||||
if (!rtp_session->flags[SWITCH_RTP_FLAG_USE_TIMER] && rtp_session->read_pollfd) {
|
if (!rtp_session->flags[SWITCH_RTP_FLAG_USE_TIMER] && rtp_session->read_pollfd) {
|
||||||
int pt = poll_sec * 1000000;
|
int pt = poll_sec * 1000000;
|
||||||
int force = 0;
|
|
||||||
|
|
||||||
do_2833(rtp_session);
|
do_2833(rtp_session);
|
||||||
|
|
||||||
@ -5711,15 +5710,14 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
|||||||
pt = 200000;
|
pt = 200000;
|
||||||
}
|
}
|
||||||
|
|
||||||
//if (rtp_session->vb && switch_vb_poll(rtp_session->vb)) {
|
if (rtp_session->vb && switch_vb_poll(rtp_session->vb)) {
|
||||||
// pt = 1000;
|
pt = 1000;
|
||||||
// force = 1;
|
}
|
||||||
//}
|
|
||||||
|
|
||||||
poll_status = switch_poll(rtp_session->read_pollfd, 1, &fdr, pt);
|
if ((poll_status = switch_poll(rtp_session->read_pollfd, 1, &fdr, pt)) != SWITCH_STATUS_SUCCESS) {
|
||||||
|
if (rtp_session->vb && switch_vb_poll(rtp_session->vb)) {
|
||||||
if (rtp_session->vb && force) {
|
poll_status = SWITCH_STATUS_SUCCESS;
|
||||||
poll_status = SWITCH_STATUS_SUCCESS;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!rtp_session->flags[SWITCH_RTP_FLAG_VIDEO] && rtp_session->dtmf_data.out_digit_dur > 0) {
|
if (!rtp_session->flags[SWITCH_RTP_FLAG_VIDEO] && rtp_session->dtmf_data.out_digit_dur > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user