Cool dissector!
You may want to register your dissector as part of the growing mime
media type dissector type table. This would allow any dissector which
generically handles mime content to dissect mpeg data. It's pretty easy
to add media type support :
dissector_add_string("media_type", "text/plain", text_lines_handle);
"media_type" is the constant dissector table name. Don't change this (it
probably should be in a header)
"text/plain" is a mime type normalized to all lower case and without
parameters. Do change this to your mime types.
text_lines_handle is your dissector handle.
Repeat as necessary for all of the mime types appropriate for your
dissector.
HTH,
Mike
Shaun Jackman wrote:
I've created an MPEG stream decoder for Wireshark. It's useful for
decoding streaming audio. It currently supports MPEG-1, MPEG-2,
MPEG-2.5 audio, layers 1, 2, 3.