Hi,
I would like to dissect some packets in Java, specifically SIP and RTP packets.
I have used jpcap to sniff the packets off the network and the contents of the packet are placed in a byte array.
Does anyone have an idea of how to split this packet up so for example I can see what codecs have been specified etc.
I tried looking at the C source code of Wireshark to give me an idea but it seemed pretty complicated.
Any suggestions welcome.
I would like to dissect some packets in Java, specifically SIP and RTP packets.
I have used jpcap to sniff the packets off the network and the contents of the packet are placed in a byte array.
Does anyone have an idea of how to split this packet up so for example I can see what codecs have been specified etc.
I tried looking at the C source code of Wireshark to give me an idea but it seemed pretty complicated.
Any suggestions welcome.