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
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to