add red codec for opus (#938)

* opus/red codec

* panic

* forward red track to nonred subscriber

* config

* clean code

* solve comments
This commit is contained in:
cnderrauber
2022-08-22 12:32:27 +08:00
committed by GitHub
parent a600dfc9e3
commit a118d21af0
10 changed files with 300 additions and 13 deletions
+1
View File
@@ -279,6 +279,7 @@ func (r *RoomManager) StartSession(
Grants: pi.Grants,
Logger: pLogger,
ClientConf: clientConf,
ClientInfo: rtc.ClientInfo{ClientInfo: pi.Client},
Region: pi.Region,
AdaptiveStream: pi.AdaptiveStream,
AllowTCPFallback: r.config.RTC.AllowTCPFallback,