Minor cleanups.

This commit is contained in:
Juliusz Chroboczek
2022-04-23 18:22:28 +02:00
parent 9ab84741d9
commit fc9f28fd68
8 changed files with 8 additions and 19 deletions
-1
View File
@@ -410,7 +410,6 @@ type rtpUpTrack struct {
srTime uint64
srNTPTime uint64
srRTPTime uint32
maxLayer uint8
local []conn.DownTrack
bufferedNACKs []uint16
actions []trackAction
+1 -1
View File
@@ -165,7 +165,7 @@ func addUpConn(c *webClient, id, label string, offer string) (*rtpUpConnection,
c.up = make(map[string]*rtpUpConnection)
}
if c.down != nil && c.down[id] != nil {
return nil, false, errors.New("Adding duplicate connection")
return nil, false, errors.New("adding duplicate connection")
}
old := c.up[id]