mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-09-27 04:36:12 +08:00
chore: lint
This commit is contained in:

committed by
GitHub

parent
fd125ecc68
commit
d881755503
@@ -156,7 +156,7 @@ func (c *Conn) Accept() error {
|
||||
|
||||
c.session = core.RandString(8, 10)
|
||||
c.state = StateSetup
|
||||
|
||||
|
||||
if c.mode == core.ModePassiveConsumer {
|
||||
if i := reqTrackID(req); i >= 0 && i < len(c.Senders) {
|
||||
// mark sender as SETUP
|
||||
|
Reference in New Issue
Block a user