← Back to team overview

rohc team mailing list archive

Re: [Question #194142]: Sending RTP across a rohctunnel


Question #194142 on rohc changed:

Cedric Baudoin proposed the following answer:

Indeed, ROHC has not been designed to work end to end (e.g. between to SIP
clients/servers/proxies) but rather on link layers with reduced bandwidth
(or congestion issues).
Be also aware that if you use IP encapsulation, you may also have some
issues related to QoS, if you're using a classifier that works on UDP
ports. This may be a complex feature to save only few bytes (RTP + UDP -
ROHC header)

Best regards


2012/4/19 Didier Barvaux <question194142@xxxxxxxxxxxxxxxxxxxxx>

> Question #194142 on rohc changed:
> https://answers.launchpad.net/rohc/+question/194142
>    Status: Open => Answered
> Didier Barvaux proposed the following answer:
> Hello,
> > First let me start by saying this is a very organized effort and
> > the code your writing is excellent, thank you much for it.
> :-)
> > I am interested in compressing headers for RTP traffic between
> > two SIP servers and I thought I could do this using the rohctunnel
> > but it seems I have no benefit. While I see the traffic in the traces
> > and the calls flow just fine, I see no bandwidth savings if I compare
> > a call in the ROHC tunnel to a call outside of the tunnel.
> >
> > I seem not to match the RTP profile but I am getting matched on
> > the UDP profile but no drop in bandwidth used.
> >
> > Might someone have a second to point out what I am doing wrong?
> The ROHC library does not detect RTP streams on the fly. It relies on
> a static list of UDP ports that are considered as RTP. This is not very
> reliable nor convenient. This will be reworked in the near future,
> someone is working on this topic.
> Currently the list can be modified in source code. For the 1.3.x branch,
> see
> http://bazaar.launchpad.net/~didier-barvaux/rohc/1.3.x/view/head:/src/common/rohc.h#L402
> For the trunk, see
> http://bazaar.launchpad.net/~didier-barvaux/rohc/main/view/head:/src/comp/c_rtp.c#L40
> You have to re-build the library for the change to take effect.
> Notes:
>  - The ROHC tunnel application is not ready for production use. However it
> is very
>    useful for testing.
>  - The ROHC tunnel application uses UDP to encapsulate ROHC packets, this
> is a
>    great choice for easy testing, but not the best choice for best
> performances.
>    IP encapsulation would be better (8 bytes less for every packet).
> Regards,
> Didier
> --
> You received this question notification because you are a member of ROHC
> Team, which is an answer contact for rohc.
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc
> Post to     : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc
> More help   : https://help.launchpad.net/ListHelp

You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.