Outgoing audio stream bitrate?

The whole answer can be found below.

Please note: The Photon forum is closed permanently. After many dedicated years of service we have made the decision to retire our forum and switch to read-only: we've saved the best to last! And we offer you support through these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on Voice.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Outgoing audio stream bitrate?

Philipp
2019-10-29 17:31:35

What is a good outgoing audio stream bitrate? I'm using Photon Voice 2, a Sampling Rate of (currently) 16000, and the default bitrate is still 30000. And what does this bitrate mean exactly, in particular in relation to the sampling rate? Does it need to be lower perhaps, e.g. match the 16000 of the sampling rate? (I'm also asking because I'm fighting with voice quality troubles.) Thanks!

Comments

vadim
2019-10-30 10:43:09

Hi,

Bitrate is a measure of audio compression in terms of bits per sec. The higher bitrate, the better audio quality but more network bandwidth used. If you want to save bandwidth, reduce bitrate making sure that audio quality is still good for you.
Typical bitrates supported by Opus codec: https://wiki.hydrogenaud.io/index.php?title=Opus#Indicative_bitrate_and_quality

Philipp
2019-10-30 11:02:25

Thank you! Does having the "Outgoing Audio Stream Bitrate" value be higher than my "Sampling Rate" value make sense, or would it be a lost cause of sorts?

Back to top