rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #00655
Re: [Question #194142]: Sending RTP across a rohctunnel
Question #194142 on rohc changed:
https://answers.launchpad.net/rohc/+question/194142
Didier Barvaux proposed the following answer:
> > 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.
>
> In which release this is likely to be done? I would suggest ROHC library gets
> these configuration parameters from some config file or XML file as input.
This is done in latest versions of the main branch (revision 552 or later). The
mechanism uses a user-defined function callback. That callback is set with the
rohc_comp_set_rtp_detection_cb() function. The callback shall return true if
it detects that the UDP stream is one RTP stream, false otherwise.
The function is to set the callback is defined there:
http://bazaar.launchpad.net/~didier-barvaux/rohc/main/view/head:/src/comp/rohc_comp.c#L1145
An example os use is there:
http://bazaar.launchpad.net/~didier-barvaux/rohc/main/revision/552/test/functional/rtp_detection/test_rtp_callback.c#test/functional/rtp_detection/test_rtp_callback.c
Regards,
Didier
--
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.