fix: frame cache send

This commit is contained in:
zhoukk
2023-05-23 17:37:15 +08:00
parent 314fb0f091
commit 21f9864614

View File

@@ -509,11 +509,12 @@ func (rs *RtspServer) push(rc *RtspClient) {
break break
} }
} }
} } else {
_, e := v.s.conn.Write(d) _, e := v.s.conn.Write(d)
if e != nil { if e != nil {
removes[v.cid] = v.cid removes[v.cid] = v.cid
removeFlag = true removeFlag = true
}
} }
} }
rc.pullerLock.RUnlock() rc.pullerLock.RUnlock()