Ethereal-users: [Ethereal-users] Distinguish RTCP packets from RTP

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Nuno Magalhaes" <nunommagalhaes@xxxxxxxxxxx>
Date: Mon, 17 Oct 2005 04:25:41 +0100
Hello,

I have a question about ethereal development. How do you distinguish RTCP packets from RTP packets?

I'm differentiating the packets through the port that must be odd for RTCP and "Payload Type" field that must be 200 for SR or 201 for RR packets but I still get garbage packets. How do you fully distinguish RTCP packets.

Because I'm getting to much RTCP packets in a short delay of time and most the info I get is garbage, but with ethereal I don't get such garbage nor a huge ammount of RTCP packets in a short delay of time.

Please tell me the secrets :),
I'll be fully appreciated,
Nuno Magalhaes.