Hi there, I stuck at a point where I could do with some help of the experts :-) I'm currently writing a dissector for a proprietary protocol which includes h264 data as payload. The dissector for the proprietary protocol elements is working and now I would like to pass the payload to the h264 dissector which is part of wireshark. Could someone give me a hint on how to manage this? Thank you! asked 30 Apr '14, 09:03 AndyHe |
One Answer:
Hi, the H.264 dissector can be retrieved thanks to the "h264" string. In your proto_reg_handoff() function, add the following code:
where h264_handle is defined as:
Then in your code, call the H.264 dissector like this:
where h264_tvb is a tvb containing your H.264 payload. answered 01 May '14, 09:48 Pascal Quantin |
Pascal,
thousand thanks for your very helpful answer. Your code works fine and it saved my a lot of time!
If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.