Преглед изворни кода

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>
master
plokta пре 5 година
родитељ
комит
b0188a7184
No account linked to committer's email address
2 измењених фајлова са 6 додато и 0 уклоњено
  1. 5
    0
      config.js
  2. 1
    0
      react/features/base/config/configWhitelist.js

+ 5
- 0
config.js Прегледај датотеку

111
     // participants and to enable it back a reload is needed.
111
     // participants and to enable it back a reload is needed.
112
     // startSilent: false
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
     // Video
119
     // Video
115
 
120
 
116
     // Sets the preferred resolution (height) for local video. Defaults to 720.
121
     // Sets the preferred resolution (height) for local video. Defaults to 720.

+ 1
- 0
react/features/base/config/configWhitelist.js Прегледај датотеку

125
     'minParticipants',
125
     'minParticipants',
126
     'nick',
126
     'nick',
127
     'openBridgeChannel',
127
     'openBridgeChannel',
128
+    'opusMaxAvgBitrate',
128
     'p2p',
129
     'p2p',
129
     'pcStatsInterval',
130
     'pcStatsInterval',
130
     'preferH264',
131
     'preferH264',

Loading…
Откажи
Сачувај