Merge branch 'develop'

This commit is contained in:
hkmadao
2024-11-22 21:08:29 +08:00

View File

@@ -38,7 +38,10 @@ func (rc *RtspClientManager) ExistsPublisher(code string) bool {
exists := false
rc.rcs.Range(func(key, value interface{}) bool {
codeKey := key.(string)
exists = codeKey == code
if codeKey == code {
exists = true
return false
}
return true
})
return exists