Skip to content

Commit

Permalink
Merge pull request #118 from brooksmckinley/brooksmckinley-patch-1
Browse files Browse the repository at this point in the history
Use a more conservative estimate of overhead
  • Loading branch information
Rantanen authored Jul 10, 2019
2 parents c36e503 + 83f7dc7 commit 15704aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MumbleConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,8 @@ MumbleConnection.prototype._onUserState = function( userState ) {
MumbleConnection.prototype._onServerSync = function( syncData ) {
this.sessionId = syncData.session;

// Overhead based on Mumble client settings at 10ms per packet.
var overhead = 29000;
// Overhead is an estimate based on watching the bandwidth section of the information screen
var overhead = 42000;
this.setBitrate( syncData.max_bandwidth - overhead );
};

Expand Down

0 comments on commit 15704aa

Please sign in to comment.