I want to write a dissector to manage some header extensions for RTP protocol. Searching in code, I saw that we need to write a sub-dissector and that it would be called instead of the generic header extension, but how do I register my dissector to the list of sub-dissectors in Lua?
Where is the payload type string locate?
In the packet I want to analyses, it said that payload type is
I think the real payload type is defined in a RTSP/SDF packet I received a fiew packets ago. Here is it's RTSP content:
With that said, what should be the payload_str_type?
asked 26 Jan ‘12, 12:04
edited 27 Jan ‘12, 06:05
This should work:
So, you would use:
Unfortunately, Bug 5208 prevents this subdissector from being called.
UPDATE: According to
You can try SVN 40834 (or later) or download an automated build.
answered 26 Jan '12, 18:25
edited 05 Feb '12, 10:28