This commit is contained in:
Jamal Fanaian
2024-07-11 17:58:31 -07:00
parent 5b0781253f
commit e1021a96af
2 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ func (a *API) GetDevices(projectID string) (map[string]string, error) {
supported := false supported := false
for _, protocol := range device.Traits.SdmDevicesTraitsCameraLiveStream.SupportedProtocols { for _, protocol := range device.Traits.SdmDevicesTraitsCameraLiveStream.SupportedProtocols {
if (protocol == "WEB_RTC" || protocol == "RTSP") { if protocol == "WEB_RTC" || protocol == "RTSP" {
supported = true supported = true
break break
} }