Wireshark-dev: Re: [Wireshark-dev] How do I get RTP payload type from sub-dissector

From: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
Date: Wed, 19 Nov 2008 18:47:51 +0100
Hi,
Have a look at pcaket-amr or pcaket-h264.c

But basically:
dissector_add_string("rtp_dyn_payload_type","AMR", amr_handle);

You can also do 
Regards
Anders

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Michael Lum
Sent: den 19 november 2008 18:39
To: Developer support list for Wireshark
Subject: [Wireshark-dev] How do I get RTP payload type from
sub-dissector

Hello,

I have a dissector that gets called after RTP.

How can I get the payload type for the packet from the RTP dissection in
my dissector ?

My dissector is called based on dynamic payload types.

Thanks

--
Michael Lum                   Principal Software Engineer
4600 Jacombs Road             +1.604.276.0055
Richmond, B.C.
Canada V6V 3B1
Star Solutions
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev