浏览代码

config: Add option to set preferred audio bitrate. (#7072)

The maxaveragebitrate parameter to be used by Opus can be configured
through the new opusMaxAvgBitrate config option. Values are restricted
by Opus to integers between 6000 to 510000. Works for non-p2p only.

move option to Audio section, add documentation

Co-authored-by: plokta <dev@plokta.eu>
j8
plokta 4 年前
父节点
当前提交
b0188a7184
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 5
    0
      config.js
  2. 1
    0
      react/features/base/config/configWhitelist.js

+ 5
- 0
config.js 查看文件

@@ -111,6 +111,11 @@ var config = {
111 111
     // participants and to enable it back a reload is needed.
112 112
     // startSilent: false
113 113
 
114
+    // Sets the preferred target bitrate for the Opus audio codec by setting its
115
+    // 'maxaveragebitrate' parameter. Currently not available in p2p mode.
116
+    // Valid values are in the range 6000 to 510000
117
+    // opusMaxAvgBitrate: 20000,
118
+
114 119
     // Video
115 120
 
116 121
     // Sets the preferred resolution (height) for local video. Defaults to 720.

+ 1
- 0
react/features/base/config/configWhitelist.js 查看文件

@@ -125,6 +125,7 @@ export default [
125 125
     'minParticipants',
126 126
     'nick',
127 127
     'openBridgeChannel',
128
+    'opusMaxAvgBitrate',
128 129
     'p2p',
129 130
     'pcStatsInterval',
130 131
     'preferH264',

正在加载...
取消
保存