18 lines
326 B
Go
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
|
|
}
|