ace/lib/webrtcconnection/options.go

18 lines
326 B
Go
Raw Normal View History

2022-09-26 03:04:07 +00:00
package webrtcconnection
type Options struct {
STUNServers []string `yaml:"stun_servers"`
2022-10-02 11:29:57 +00:00
VideoBPS int `yaml:"video_bps"`
2022-09-26 03:04:07 +00:00
}
func ExampleOptions() *Options {
options := &Options{
STUNServers: []string{
"stun:stun.l.google.com:19302",
"stun:wetofu.me:3478",
},
2022-10-10 11:12:26 +00:00
VideoBPS: 2_048_000,
2022-09-26 03:04:07 +00:00
}
return options
}