Ask Your Question
0

Plugin for Telephony menu

asked 2020-12-02 18:34:46 +0000

Greetings!

I'm thinking to add own RTP analyzer (it is already available as console utility) into Telephony menu. Analyzer should detect RTP streams, processes them, calculates MOS values and report to user.

Plugins are ok for this ? Or I have to modify the source code ?

Thanks a lot!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-12-02 20:26:13 +0000

Chuckc gravatar image

updated 2020-12-02 20:26:31 +0000

If the long term goal is to contribute the code to Wireshark then it will need to be in C/C++ to be supported.
The Developer Guide suggests starting out as a plugin:
"The big benefit of writing a dissector as a plugin is that rebuilding a plugin is much faster than rebuilding wireshark after editing a built-in dissector. As such, starting with a plugin often makes initial development quicker, while the finished code may make more sense as a built-in dissector."

If it's only for your own use it can be done as a plugin but you have the option of using Lua:
From the User's Guide:
"Wireshark supports plugins for various purposes. Plugins can either be scripts written in Lua or code written in C or C++ and compiled to machine code."

edit flag offensive delete link more

Comments

Dissectors don't have UI code, they must also run when used in tshark. There's no plugin mechanism as such for the UI, it's all coded in C++ using Qt dialog files (*.ui) to define the elements.

The Lua support allows creation of menu items and dialogs, see the relevant section in the developer's guide.

grahamb gravatar imagegrahamb ( 2020-12-02 22:10:37 +0000 )edit

Definitely I will need UI part; that's why dissector is not my case.

Dmytro Bogovych gravatar imageDmytro Bogovych ( 2020-12-03 04:23:11 +0000 )edit

The goal is to satisfy customer's requirement - get MOS estimations in the Wireshark. BTW I'd happy if for contact who can make this job...

Dmytro Bogovych gravatar imageDmytro Bogovych ( 2020-12-03 04:24:27 +0000 )edit
1

pluginifdemo - "This plugin demonstrates a Qt integration using plugin_if and menubar_ext functionality."
(Mentioned in 6 How to plugin related interface options - thanks @cmaynard

Chuckc gravatar imageChuckc ( 2021-01-12 18:46:30 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-12-02 18:34:46 +0000

Seen: 39 times

Last updated: Dec 02 '20