FS-8130 get poll status

This commit is contained in:
Anthony Minessale 2015-10-05 16:43:10 -05:00
parent 9a2e96dd1b
commit 3cca82a62e
1 changed files with 2 additions and 2 deletions

View File

@ -5012,8 +5012,8 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t
to = rtp_session->timer.interval * 1000;
}
}
switch_poll(rtp_session->read_pollfd, 1, &fdr, to);
poll_status = switch_poll(rtp_session->read_pollfd, 1, &fdr, to);
if (rtp_session->flags[SWITCH_RTP_FLAG_USE_TIMER] && rtp_session->timer.interval) {
switch_core_timer_sync(&rtp_session->timer);