[Live-devel] Adding Padding/Trailer to RTP Packets

Jeff Oliver Jeffrey.Oliver at mascorp.com
Fri Mar 5 14:52:24 PST 2004


I'd like to add a trailer after the RTP payload.  

So far, I've added functions such as:
specialTrailerSize() to get the size of the trailer.
setSpecialTrailerWord() and setSpecialTrailerBytes() to write the data 
into the positions.

In doSpecialFrameHandling, I would call setSpecialTrailerWord() and 
write in the data. 

The question is now, where do I skip the bytes at the end of the RTP 
packet in order to stuff the data into?

I tried skipping the bytes at the end of buildAndSendPacket(), but that 
didnt work.  I'm guessing that I would have to do the skip someplace in
afterGettingFrame1?

Jeff Oliver



Disclaimer: The information contained in this transmission, including any 
attachments, may contain confidential information of Matsushita Avionics 
Systems Corporation.  This transmission is intended only for the use of the 
addressee(s) listed above.  Unauthorized review, dissemination or other use 
of the information contained in this transmission is strictly prohibited. 
If you have received this transmission in error or have reason to believe 
you are not authorized to receive it, please notify the sender by return 
email and promptly delete the transmission 





More information about the live-devel mailing list