* opus/red codec * panic * forward red track to nonred subscriber * config * clean code * solve comments
12 lines
234 B
Go
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"
|
|
}
|