1
Fork 0
This commit is contained in:
Juliusz Chroboczek 2020-04-27 03:08:03 +02:00
parent 4cebaa6dc2
commit 015699a9cd
2 changed files with 5 additions and 5 deletions

View File

@ -117,13 +117,13 @@ func addGroup(name string, desc *groupDescription) (*group, error) {
if groups.groups == nil {
groups.groups = make(map[string]*group)
s := webrtc.SettingEngine{}
s.SetTrickle(true);
s.SetTrickle(true)
m := webrtc.MediaEngine{}
m.RegisterCodec(webrtc.NewRTPVP8CodecExt(
webrtc.DefaultPayloadTypeVP8, 90000,
[]webrtc.RTCPFeedback{
webrtc.RTCPFeedback{"goog-remb", ""},
webrtc.RTCPFeedback{"nack", "pli"},
{"goog-remb", ""},
{"nack", "pli"},
},
"",
))