<div dir="ltr">Hi Everbody,<br><br>i am not so good with codecs and a lot of terms in RFC 6716 of OPUS are not so familiar for me.<br>I work in VoIP domain (Internet telephony) and try to support OPUS codec throughout our network. <div>Therefore, I am trying actully to calculate or estimate the biggest possible size of the RTP OPUS Packet in case of WB or FB.<br><br>Unfortunately, The "Frame Length Coding" paragraph of RFC 6716 (<a href="https://tools.ietf.org/html/rfc6716#section-3.2.1">https://tools.ietf.org/html/rfc6716#section-3.2.1</a>)
is not clear enough for me
to understand why "" The maximum representable length is 255*4+255=1275 bytes "" </div><div><br>is the Frame length useful only to calculate the bitrate but not the packet size ?<br>the OPUS coded data is compressed. Is it not possible because of this to estimate the packet size ?<br><br>according to <a href="https://tools.ietf.org/html/rfc6716#section-2.1.4">https://tools.ietf.org/html/rfc6716#section-2.1.4</a> (Frame Duration) :</div><div> <br>it (OPUS) can also combine multiple frames into packets of up to 120 ms. (for me this means 6 Frames. Each is 20 ms)<br><br>so if I the VoIP Device support FB OPUS the and Sampling Rate is 48000 Sample per a Second (1000 ms), then that means the Frame has 9600 samples.<br><br>9600 samples * 16 bit (bit-depth) = 153600 bit per a Frame => 19200 Byte per a Frame <div>19200 Byte per a Frame * 6 Frames in a Packet (longest Packet) = 115200 Byte per a Packet.<br></div><div><br></div><div>are the 15200 Bytes normally compressed ? </div><div><br></div><div>once again, I am trying to find out how could the packet size of OPUS be calculated</div></div><div><br></div><div>thanks in advance for your help</div><div>Abdulaziz</div></div>