Hello, <br><br>I am trying to create a tool that receives an RTSP/RTP stream with M4A-LATM payload, and decodes the audio to PCM. How do I extend the openRTSP test program to achieve this? <br><br>Specifically, where do I add the functionality that removes the LATM header from each RTP payload? AAC decoder APIs work only when the transport (LATM) header is removed from the top of the payload.
<br><br>I have looked at the Mplayer code for reference, but their code work only for m4a-generic, not m4a-latm. The former is a bit easier because the RTP payload is the AAC frame itself and can be passed directly to the decoder . (?)
<br><br>Any pointers will be greatly appreciated. <br><br>Regards,<br>Mathur<br><br>PS: Should I be using and/or extending MPEG4LATMAudioRTPSource.cpp for the above goal. <br>