<div dir="ltr"><div dir="ltr">On Fri, Jan 31, 2020 at 1:06 AM Michael Maier <<a href="mailto:m1278468@mailbox.org">m1278468@mailbox.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 30.01.20 at 23:20 Kevin Harwell wrote:<br>... <br>
> No worries it's my bad. I can see how what I wrote was ambiguous. What I<br>
> meant was "if *either* remote *or* local is chosen". As in it doesn't<br>
> matter which option value you choose. Either one would result (in this<br>
> example) in opus not being included in list 2.<br>
<br>
Hmm, that's how I understood it - but I still can't see any possibility<br>
to not provide either remote or local value. Therefore I can't see any<br>
possibility to ever get opus in your given example above to the<br>
resulting list 2. But that would be ok anyway, because I don't ever want<br>
to have opus in the list in this specific case.<br></blockquote><div><br></div><div>That's correct. A local or remote value, or some derivative of them (_single/_limit), will always be specified. And opus will never be included in list 2.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Could you please tell me, how outgoing_sdp_send_prefs can be used<br>
*without* any active "value" (like local, local_limit, local_single,<br>
remote, remote_limit, remote_single) as long as *remote* is<br>
automatically used ("default") according documentation if no other value<br>
is provided? This would be the same for all other lists, too.<br>
<br>
<br>
>From documentation:<br>
--------------------------------------------------<br>
remote - Order by what is optionally given by a "caller". Note, the<br>
resulting list will contain those codecs specified by Bob's<br>
configuration, which are not found also in the given remote list, as<br>
least preferred. Meaning they will be at the end, or bottom of the list<br>
(*default*)<br>
--------------------------------------------------<br>
<br></blockquote><div><br></div><div>For any of the options a value can be specified by the user (e.g. local, remote, local_single, etc...). If no value is specified then the default value for that option is used. From the code's perspective there will never be a case for outgoing_sdp_send_prefs, or any of the other options, where one of its legal values is not always set for it. Either specified by the user in the configuration, or using it uses the default.</div><div><br></div><div>So for example in the case of outgoing_sdp_send_prefs there is no way it can be used *without* any active "value". It's impossible. Within the code outgoing_sdp_send_prefs will always be set to one of its values.</div><div> </div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Kevin Harwell<div>Senior Software Developer</div><div>Sangoma Technologies<br><div>Check us out at: <a href="https://sangoma.com/" target="_blank">https://sangoma.com</a> & <a href="https://asterisk.org" target="_blank">https://asterisk.org</a></div></div></div></div></div></div></div></div>