← Back to team overview

rohc team mailing list archive

Re: [Question #254639]: RTP and UDP

 

Question #254639 on rohc changed:
https://answers.launchpad.net/rohc/+question/254639

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

> The rtp_detect_cb(...) in the [...]/sniffer.c#L1739 is enough and accurate
> for RTP detection from the UDP streams? Are there any negligence or
> improvement for it? Thank you.

It entirely depends on your needs. And on your RTP streams. Think of it
as a good start that may be modified to fit your needs.

>     It seems as if the RTP detection in lib 1.7.0 is also implemented by a
> fixed list of UDP ports that are considered as used only for RTP traffic.

Yes, but that code is considered as deprecated in favor of the callback
function. It will be removed in next version. I advise you that you
don't use it in new code.

Regards,
Didier

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


Follow ups