Add config for active red encoding (#1476)

This commit is contained in:
cnderrauber
2023-02-28 10:44:47 +08:00
committed by GitHub
parent 8c43b7b48f
commit c367c36d8f
4 changed files with 8 additions and 1 deletions
+2
View File
@@ -150,6 +150,8 @@ type AudioConfig struct {
// smoothing for audioLevel values sent to the client.
// audioLevel will be an average of `smooth_intervals`, 0 to disable
SmoothIntervals uint32 `yaml:"smooth_intervals"`
// enable red encoding downtrack for opus only audio up track
ActiveREDEncoding bool `yaml:"active_red_encoding"`
}
type StreamTrackerPacketConfig struct {