[sr-dev] [kamailio/kamailio] rtpproxy: ice_candidate_priority_avp has missleading documentation (#1003)

Rick notifications at github.com
Mon Feb 20 17:06:23 CET 2017


The lines from 2323 to 2337 shows to me that internal the 0 is used for disabling the feature if no avp is set. https://github.com/kamailio/kamailio/blob/master/src/modules/rtpproxy/rtpproxy.c#L2323-L2337

So the check could be changed to:
`ice_candidate_priority_val.n < 0 || ice_candidate_priority_val.n > 2`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1003#issuecomment-281117862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170220/bf9413e0/attachment-0001.html>


More information about the sr-dev mailing list