go fmt
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ func (a *API) GetDevices(projectID string) (map[string]string, error) {
|
||||
|
||||
supported := false
|
||||
for _, protocol := range device.Traits.SdmDevicesTraitsCameraLiveStream.SupportedProtocols {
|
||||
if (protocol == "WEB_RTC" || protocol == "RTSP") {
|
||||
if protocol == "WEB_RTC" || protocol == "RTSP" {
|
||||
supported = true
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user