Opened 18 years ago

Closed 18 years ago

#37 closed enhancement (fixed)

RTCP discard statistic should be increased when invalid RTP packet is received

Reported by: bennylp Owned by: bennylp
Priority: minor Milestone: release-0.5.10
Component: pjmedia Version: 0.5.9
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Some application uses the RTCP RX statistic to detect whether remote call has disappeared, i.e. when no packet is received for some time then application assumes that remote call has gone missing.

Some user agents (X-Lite in this case) send a one byte packet when the call is on-hold to keep the call running. So the receipt of such packet can be used to prevent application from deleting the call.

Unfortunately, this one byte packet will not count on any RX statistic since it was not an RTP packet, so it doesn't pass the rtp_decode() function.

The correct behavior (probably) is to count this invalid RTP packets as the discarded packets.

Change History (1)

comment:1 Changed 18 years ago by bennylp

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

Fixed in r846: invalid RTP packet is now counted in stat.rx.discard statistic.

Note: See TracTickets for help on using tickets.