[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] RTP with compressed header





--
Free Dmitry Sklyarov ! 
http://www.freesklyarov.org

> -----Original Message-----
> From:	Daniele Quercia [SMTP:[email protected]]
> Sent:	Monday, September 17, 2001 6:39 PM
> To:	[email protected]
> Subject:	[ns] RTP with compressed header
> 
> Hi all:
> 
> I just installed ns-2.1b6. I> �d like something to help me using ns-2 to send
> RTP packets with compressed header. In particular, how can specify that the
> RTP is compressed?
> 
> Thanks you very much for your help.
> 
> Best regards,
> Daniele.
> 
	Do you use the RTP or the UDP agent ?
	If you use the udp agent, look in udp.cc. AFAIK in the unmodified sources don't modify cmn_hdr->size() at all, i.e. this RTP is *very* compressed ;-)
	The same for the rtp agent. The ip header size is added in the routing stuff in the wireless model, don't know about the wired things. So if you want to add the rtp header, add a ch->size_+=8; in the appropriate place.

	Bye
	Alex