vircadia-native-core icon indicating copy to clipboard operation
vircadia-native-core copied to clipboard

Expose Opus options in domain config

Open JulianGro opened this issue 4 years ago • 6 comments

There is a couple of configuration options that would be interesting. For something like NDN World, it would make sense to lower the bitrate to help with low bandwidth internet connection. For lower end servers, it might make sense to lower the complexity to be able to server more clients. https://wiki.xiph.org/Opus_Recommended_Settings

JulianGro avatar Oct 03 '20 19:10 JulianGro

It would be best to auto-sense the lower bitrate and have it dynamically adjusted... can this be a per audio channel thing? I don't know.

Colorfingers avatar Oct 30 '20 11:10 Colorfingers

I just did a bit of testing using ffmpeg and libopus. While there is a good amount of ways that the test differs from the real world scenario, it should give some info on potential speed differences. On 256kbit complexity 0 took ~57% the time that complexity 10 took. On 128kbit complexity 0 took ~50% the time that complexity 10 took. On 256kbit complexity 0 took ~62% the time that 128kbit complexity 10 took. Listening to it, complexity 0 didn't sound worse than complexity 10 (both at 128kbit), though I really didn't do a good test there; This was just to confirm that what came out wasn't absolute trash. Decoding complexity 0 on 128kbit took ~74% of the time that it took to decode complexity 10 on 128kbit, though I assume that that is just because complexity 0 has less complexity (detail). All these tests were done with application set to voip and packet loss set to 5%.

JulianGro avatar Mar 03 '21 19:03 JulianGro

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 01 '21 19:07 stale[bot]

:rage:

JulianGro avatar Jul 01 '21 20:07 JulianGro

Hello! Is this still an issue?

stale[bot] avatar Dec 28 '21 21:12 stale[bot]

Hello! Is this still an issue?

stale[bot] avatar Jul 09 '22 10:07 stale[bot]