This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

dissector for compressed RTP header

0

Ok, Here is another question. A thousand points to whoever can help me.

Lets say my protocol consist of only one byte. This byte indicates if this is a compressed RTP header or Uncompressed RTP header following.

Now, if it is a uncompressed header, I want to apply the rtp dissector. (which I now know, thank you Jaap)

However, if it is a compressed header, I want to add my own decoding (since there does not exist an dissector for rtp compressed)

How can I do this in the best manner? I am very grateful for the help !

asked 14 Nov '12, 05:40

harkap's gravatar image

harkap
58811
accept rate: 0%

converted to question 21 Nov '12, 02:05

grahamb's gravatar image

grahamb ♦
19.8k330206

Does anyone know if this is possible to do?

(21 Nov '12, 23:36) harkap

To clarify the question. I have an incoming packet [ IP, UDP, My protocol, RTP ]

My protocol consist of just one byte. The data is 1 if the RTP header is compressed. 0 if it is uncompressed.

I want to read my byte, and depending on it, decode the RTP.

Thank you!

(21 Nov '12, 23:38) harkap

@harkap, I've converted your "answers" to comments as that's how this site works. Please read the FAQ for more info.

Be patient, when someone has knowledge of the problem and some spare time they'll post an answer that may help.

(22 Nov '12, 00:40) grahamb ♦

One Answer:

0

If there's a control protocol, like SDP or H.245, setting up conversations with RTP as dissector it might be tricky to get in between them. If not you can use registering for UDP, so 'Decode as' works, or any of the other ways RTP employs itself to register for traffic.

answered 22 Nov '12, 04:48

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%