<div dir="ltr">2013/6/6 Andrea Suisani <span dir="ltr"><<a href="mailto:sickpig@opinioni.net" target="_blank">sickpig@opinioni.net</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 06/06/2013 11:32 AM, Andrea Suisani wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 06/06/2013 11:17 AM, Lorenzo Miniero wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
core show translation paths opus<br>
</blockquote>
<br>
I'm in a hurry.<br>
just to give you other elements on which speculate further<br>
<br>
suino*CLI> core show translation paths opus<br>
--- Translation paths SRC Codec "opus" sample rate 48000 ---<br>
</blockquote></div>
^^^^^^<br>
^^^^^^<br>
<br>
I suddenly realized that for some reason the only enabled sample<br>
rate is 48 kHz, is it poissible ?<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div style>As I said in other posts, Opus is always advertized as 48kHz, and the timestamps in RTP always increase as if the rate actually was 48kHz, even when lower rates (e.g. 16kHz wideband) are actually being used. This is specified in the Opus RTP draft, and Asterisk is configured accordingly. The output you see there just means that Asterisk looks at Opus as a 48kHz codec, so it's normal. The actual sampling rate being used is taken care of by the codec implementation.</div>
<div style><br></div><div style>In your case, a opus<->slin48 translation is created, which means that Opus frames are likely to be exactly, or close to, 48kHz in rate. When a opus<->8000 translation is created, Opus frames should be narrowband instead (while, as anticipated, the SDP negotiation and the timestamps would still refer to a 48kHz sampling rate).</div>
<div style><br></div><div style>Lorenzo</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
<br>
Andrea<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>