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
}
}
}
_, 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()