Hi,recently I have written a UDP client/server using lwip Raw API. On top of that I have implemented a SIP stack such that I can send an invite to the server and get the response from the server. In my next step I wanted to extend my software so that I can send media data. For this I have gone through RTP and started to implement the same, as a reference I was analyzing some implementations in order to get an idea of how they have done it. But unfortunately most of them used Sockets, since i have implemented my UDP client using Raw API, I have no plans to change my code nor I am planning to mix socket programming with Raw API.
Is there somebody who can steer me up, or at least give a small hint of how to send the rtp packets using raw API. Any basic example or good reference would be of great help to my project, such as like concatenating the RTP Header and RTP Payload, sending it using udp_send.
Kind Regards,
Mahee