<div dir="ltr"><div>Ugh I used the wrong keyboard shortcuts and the message sent before I was done. Below is the rest :-)</div><div dir="ltr"><br></div><div dir="ltr">On Wed, Jan 29, 2020 at 3:42 PM Kevin Harwell <<a href="mailto:kharwell@digium.com">kharwell@digium.com</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"><div dir="ltr"><div dir="ltr">On Wed, Jan 29, 2020 at 3:12 PM Michael Maier <<a href="mailto:m1278468@mailbox.org" target="_blank">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"><br></blockquote><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>
<br>
>From my point of view, it should always be possible to prevent<br>
transcoding as long as there is one codec which can be used on both<br>
sides. If there is more than one codec equal on both sides, it's good to<br>
have the possibility by your planned options if the local or the remote<br>
most preferred codec should be used.<br>
<br>
Default configuration for me would be like that:<br>
incoming_sdp_receive_prefs=local<br>
outgoing_sdp_send_prefs=remote<br>
outgoing_sdp_receive_prefs=local<br>
incoming_sdp_send_prefs=local<br>
transcode=avoid<br>
<br>
>From my understanding, this should avoid any unnecessary transcoding as<br>
long as there's just one common codec on both sides and should always<br>
prefer the codecs desired by the caller.<br>
<br>
Did I got this correctly?<br></blockquote><div><br></div><div>We're still working through the idea of the "transcode" option, and how it might work in practice. But what you have is the general idea. To better avoid it, in the setup you have above I'd probably modify the following:</div></div></div></blockquote><div><br></div><div>incoming_sdp_send_prefs=remote</div><div><br></div><div>This would send in the answer to Alice the exact order preferred by Bob. If Alice accepts then Asterisk should never transcode.</div></div><div><br></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>