mirror of
https://github.com/zhoukk/krtspd.git
synced 2025-09-26 19:41:15 +08:00
fix: frame cache send
This commit is contained in:
11
krtspd.go
11
krtspd.go
@@ -509,11 +509,12 @@ func (rs *RtspServer) push(rc *RtspClient) {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
_, e := v.s.conn.Write(d)
|
||||
if e != nil {
|
||||
removes[v.cid] = v.cid
|
||||
removeFlag = true
|
||||
} else {
|
||||
_, e := v.s.conn.Write(d)
|
||||
if e != nil {
|
||||
removes[v.cid] = v.cid
|
||||
removeFlag = true
|
||||
}
|
||||
}
|
||||
}
|
||||
rc.pullerLock.RUnlock()
|
||||
|
Reference in New Issue
Block a user