<div dir="ltr"><div><div>Hi, is there any way to tell the decoder the output sampling Fz we want ?<br><br>opus_decoder_create = Sampling rate of input signal (Hz) <br><br>Considering this example (VoIP-out from WebRTC/RTP)<br><br>MICROPHONE(44.1/48kHz) &gt;&gt; [encoder created at 48kHz but with internalSampleRate set to 8kHz]&gt;&gt; INTERNET &gt;&gt; [decoder(created with 48kHz)] &gt;&gt; 48kHz(?) &gt;&gt; G.711(8kHz)<br><br>This leaves us with the only option to re-sample even if the internal sample rate was set to 8kHz.<br><br>This may not seem like a big problem since we could simply resample but on a server with a lot of load this could be significant ?<br><br><a href="https://tools.ietf.org/html/draft-ietf-payload-rtp-opus-08">https://tools.ietf.org/html/draft-ietf-payload-rtp-opus-08</a><br>Is not very clear on these points.<br><br></div>Regards<br></div>Julien<br></div>