Scale Opus bitrate to audio frame duration
This commit is contained in:
committed by
Brandon McGinty
parent
2bdf9a8193
commit
aa38c99aab
@@ -176,7 +176,7 @@ Priority 2: protocol and data correctness
|
||||
terminators, positional data, and volume adjustment. Test real UDP
|
||||
fallback behavior too.
|
||||
|
||||
22. Opus bitrate calculation assumes a 10 ms interval
|
||||
[x] 22. Opus bitrate calculation assumes a 10 ms interval
|
||||
File: gumble/opus/opus.go
|
||||
bitrate is maxDataBytes * 8 * 100. For permitted 20/40/60 ms intervals it
|
||||
is 2x/4x/6x too high. Calculate bits per frame divided by the actual
|
||||
|
||||
Reference in New Issue
Block a user