chanjunkai 5 жил өмнө
parent
commit
208b351a2b
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      controller/index.py

+ 2 - 2
controller/index.py

@@ -254,7 +254,7 @@ class oa2RtspStartView(TemplateView):
                 # 'audioCodecs': ['ACC'],
                 'audioCodecs': ['G711'],
                 'protocols': ['RTSP'],
-                'authorizationTypes': ['NONE'],
+                'authorizationTypes': ['BASIC'],
                 'uri': rtsp_uri,
                 'msg':send_flag
             }
@@ -369,7 +369,7 @@ class oa2DiscoveryDevice(TemplateView):
                         'videoCodecs': ['H264'],
                         'audioCodecs': ['ACC'],
                         'protocols': ['RTSP'],
-                        'authorizationTypes': ['NONE'],
+                        'authorizationTypes': ['BASIC'],
                         'uri': rtsp_uri
                     }
                     res_json.append(ur_data)