Files
livekit-3d/pkg/rtc/clientinfo.go
T
cnderrauber a118d21af0 add red codec for opus (#938)
* opus/red codec

* panic

* forward red track to nonred subscriber

* config

* clean code

* solve comments
2022-08-22 12:32:27 +08:00

12 lines
234 B
Go

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"
}