mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-29 02:43:38 +08:00
go fmt
This commit is contained in:
@@ -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