mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Gofmt.
This commit is contained in:
parent
4cebaa6dc2
commit
015699a9cd
2 changed files with 5 additions and 5 deletions
|
@ -558,7 +558,7 @@ func updateUpBitrate(g *group, up *upConnection) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if now - ms > 5000 {
|
if now-ms > 5000 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
6
group.go
6
group.go
|
@ -117,13 +117,13 @@ func addGroup(name string, desc *groupDescription) (*group, error) {
|
||||||
if groups.groups == nil {
|
if groups.groups == nil {
|
||||||
groups.groups = make(map[string]*group)
|
groups.groups = make(map[string]*group)
|
||||||
s := webrtc.SettingEngine{}
|
s := webrtc.SettingEngine{}
|
||||||
s.SetTrickle(true);
|
s.SetTrickle(true)
|
||||||
m := webrtc.MediaEngine{}
|
m := webrtc.MediaEngine{}
|
||||||
m.RegisterCodec(webrtc.NewRTPVP8CodecExt(
|
m.RegisterCodec(webrtc.NewRTPVP8CodecExt(
|
||||||
webrtc.DefaultPayloadTypeVP8, 90000,
|
webrtc.DefaultPayloadTypeVP8, 90000,
|
||||||
[]webrtc.RTCPFeedback{
|
[]webrtc.RTCPFeedback{
|
||||||
webrtc.RTCPFeedback{"goog-remb", ""},
|
{"goog-remb", ""},
|
||||||
webrtc.RTCPFeedback{"nack", "pli"},
|
{"nack", "pli"},
|
||||||
},
|
},
|
||||||
"",
|
"",
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue