ace/lib/webrtcconnection/options.go
2022-10-10 19:12:26 +08:00

18 lines
326 B
Go

package webrtcconnection
type Options struct {
STUNServers []string `yaml:"stun_servers"`
VideoBPS int `yaml:"video_bps"`
}
func ExampleOptions() *Options {
options := &Options{
STUNServers: []string{
"stun:stun.l.google.com:19302",
"stun:wetofu.me:3478",
},
VideoBPS: 2_048_000,
}
return options
}