s/force_relay/force-relay/

pull/26/head
Richard Fuchs 11 years ago
parent 54f903da3f
commit 4d00147c04

@ -599,7 +599,7 @@ Optionally included keys are:
* `ICE` * `ICE`
Contains a string, valid values are `remove`, `force` or `force_relay`. Contains a string, valid values are `remove`, `force` or `force-relay`.
With `remove`, any ICE attributes are With `remove`, any ICE attributes are
stripped from the SDP body. With `force`, ICE attributes are first stripped, then new attributes are stripped from the SDP body. With `force`, ICE attributes are first stripped, then new attributes are
generated and inserted, which leaves the media proxy as the only ICE candidate. The default behavior generated and inserted, which leaves the media proxy as the only ICE candidate. The default behavior
@ -607,7 +607,7 @@ Optionally included keys are:
media proxy lists itself as ICE candidate; otherwise, the media proxy inserts itself as a media proxy lists itself as ICE candidate; otherwise, the media proxy inserts itself as a
low-priority candidate. low-priority candidate.
With `force_relay`, existing ICE candidates are left in place except `relay` With `force-relay`, existing ICE candidates are left in place except `relay`
type candidates, and *rtpengine* inserts itself as a `relay` candidate. It will also leave SDP type candidates, and *rtpengine* inserts itself as a `relay` candidate. It will also leave SDP
c= and m= lines unchanged. c= and m= lines unchanged.

@ -529,7 +529,7 @@ static void call_ng_process_flags(struct sdp_ng_flags *out, bencode_item_t *inpu
out->ice_remove = 1; out->ice_remove = 1;
else if (!str_cmp(&s, "force")) else if (!str_cmp(&s, "force"))
out->ice_force = 1; out->ice_force = 1;
else if (!str_cmp(&s, "force_relay")) else if (!str_cmp(&s, "force_relay") || !str_cmp(&s, "force-relay"))
out->ice_force_relay = 1; out->ice_force_relay = 1;
else else
ilog(LOG_WARN, "Unknown 'ICE' flag encountered: '"STR_FORMAT"'", ilog(LOG_WARN, "Unknown 'ICE' flag encountered: '"STR_FORMAT"'",

Loading…
Cancel
Save