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:
@@ -0,0 +1,11 @@
|
||||
package rtc
|
||||
|
||||
import "github.com/livekit/protocol/livekit"
|
||||
|
||||
type ClientInfo struct {
|
||||
*livekit.ClientInfo
|
||||
}
|
||||
|
||||
func (c ClientInfo) SupportsAudioRED() bool {
|
||||
return c.ClientInfo.Browser != "firefox" && c.ClientInfo.Browser != "safari"
|
||||
}
|
||||
Reference in New Issue
Block a user