to be continued

This commit is contained in:
TonyChyi
2022-10-10 19:12:26 +08:00
parent 4844944c37
commit 07d3ae3717
6 changed files with 28 additions and 8 deletions

View File

@@ -119,6 +119,7 @@ func setupCodec(videoBPS int) (*mediadevices.CodecSelector, error) {
return nil, err
}
x264Prarm.BitRate = videoBPS
x264Prarm.Preset = x264.PresetMedium
opusParam, err := opus.NewParams()
if err != nil {

View File

@@ -11,7 +11,7 @@ func ExampleOptions() *Options {
"stun:stun.l.google.com:19302",
"stun:wetofu.me:3478",
},
VideoBPS: 500_000,
VideoBPS: 2_048_000,
}
return options
}