Minor cleanups.
This commit is contained in:
@@ -410,7 +410,6 @@ type rtpUpTrack struct {
|
||||
srTime uint64
|
||||
srNTPTime uint64
|
||||
srRTPTime uint32
|
||||
maxLayer uint8
|
||||
local []conn.DownTrack
|
||||
bufferedNACKs []uint16
|
||||
actions []trackAction
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user