Opened 5 years ago

Closed 5 years ago

#2202 closed defect (fixed)

Limit the number of ignored error when receiving RTP/RTCP.

Reported by: riza Owned by: riza
Priority: normal Milestone: release-2.9
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

On on_rx_rtp()/on_rx_rtcp() there's a loop to call pj_ioqueue_recvfrom().
The loop will stop until pj_ioqueue_recvfrom() return PJ_EPENDING/PJ_ECANCELLED.
If pj_ioqueue_recvfrom() return Error besides PJ_EPENDING/`PJ_ECANCELLED the loop will continue non stop.

This patch will introduce new setting (PJMEDIA_IGNORE_RECV_ERR_CNT) to limit the number of identical consecutive error return from pj_ioqueue_recvfrom().

Thanks to Guy Mininberg for the report.

Change History (1)

comment:1 Changed 5 years ago by riza

  • Owner set to riza
  • Resolution set to fixed
  • Status changed from new to closed

In 6005:

Close #2202: Limit the number of ignored error when receiving RTP/RTCP.

Note: See TracTickets for help on using tickets.