HydrogenAudio

Lossy Audio Compression => Speech Codecs => Topic started by: zerowalker on 2013-01-06 20:07:49

Title: Mumble - Custom bitrate and ms.
Post by: zerowalker on 2013-01-06 20:07:49
I was wondering as Mumble is an Opensource software, if i could change it to allow 2.5 ms (as opus allows it), and higher bitrate, maybe 128,156 or something?

I am not that good at compiling, but if anyone knows if it can be done without any real knowledge of coding, and maybe just change some places to allow it, it would be nice.

Thanks:)
Title: Mumble - Custom bitrate and ms.
Post by: saratoga on 2013-01-06 20:33:29
I think very high bitrates and such extremely low latency don't really make sense for VOIP applications.  What are you trying to do?
Title: Mumble - Custom bitrate and ms.
Post by: zerowalker on 2013-01-06 20:35:29
I think very high bitrates and such extremely low latency don't really make sense for VOIP applications.  What are you trying to do?


Probably not overall, but i only talk to one person currently.

So the low latency of 2.5 with high bitrate like 128, makes sense for us.

We are playing together and recording sometimes, and as low latency as possible really helps.
So if it´s possible to make my own with a few changes it would be awesome, but i don´t think a Public version with those features makes much sense.
Title: Mumble - Custom bitrate and ms.
Post by: saratoga on 2013-01-06 21:39:38
So the low latency of 2.5 with high bitrate like 128, makes sense for us.


Yeah, but  you combined latency from encoding, TCP/IP stack, network, decoding, audio output is probably 100+ ms at absolute best, and perhaps much higher if you're not geographically close to one another.

You're trying to drop it from what, 10ms?  That savings is insignificant compared to the total latency.
Title: Mumble - Custom bitrate and ms.
Post by: zerowalker on 2013-01-06 21:46:54
So the low latency of 2.5 with high bitrate like 128, makes sense for us.


Yeah, but  you combined latency from encoding, TCP/IP stack, network, decoding, audio output is probably 100+ ms at absolute best, and perhaps much higher if you're not geographically close to one another.

You're trying to drop it from what, 10ms?  That savings is insignificant compared to the total latency.


I know that it´s very very little, but, the saving is there, and if i can change it without having to do some massive changes, why not?
It´s just an overkill feature, i know, but i would like to make it, if i can:)
Title: Mumble - Custom bitrate and ms.
Post by: LithosZA on 2013-01-06 22:32:55
Netjack2 might be better suited for your case than Mumble. The latest version supports Opus.
http://jackaudio.org/ (http://jackaudio.org/)
Title: Mumble - Custom bitrate and ms.
Post by: zerowalker on 2013-01-06 22:37:51
Netjack2 might be better suited for your case than Mumble. The latest version supports Opus.
http://jackaudio.org/ (http://jackaudio.org/)



Well installed it, but don´t really get how it works, but i assume it´s some Point to Point VOIP software?

But i can´t find any encoding options or Opus anywhere in the Control.
Title: Mumble - Custom bitrate and ms.
Post by: jmvalin on 2013-01-08 02:31:36
I think 2.5 ms frames are only really useful for specialized applications. Mumble generally does a good job at keeping latency low, but not that low. You might want to try something like Soundjack (http://www.soundjack.eu/). It is possible to get to ~10 ms total one-way latency, but it requires everything to be optimized (sound card capture/playback, network stack, OS scheduler, ...).