I have packet sniffing application, In which i am getting data through port mirroring, And it is already converting g711 packets to audio files. But Now i need to record other RTP packet with dynamic PayloadType-96 (PT-96) in wav file format. I am looking for two ways to find the solution.
- Converting packet to G711 at my machine and send it to my application. Is it right? if yes where can i find code or libraries.
- Convert the PT-96 values to audio files wav format. If yes, So what libararies i should use for this?
Further i did not find any way to listen audio files from wireshark when PT-96 is there in captured packets.
I have to find any solution in which PT-96 to audio file conversion is given. I have used oreka library for PT-G711. but did not find anything related to PT-96.