lang 4 년 전
부모
커밋
8de0f4bff4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      controller/index.py

+ 3 - 3
controller/index.py

@@ -318,9 +318,9 @@ class oa2RtspStartView(TemplateView):
                 "expirationTime": expirationTime,
                 "idleTimeoutSeconds": 5,
                 #'resolutions': [{'width': 1280, 'height': 720}],
-                'resolutions': [{'width': 640, 'height': 360}],
-                'videoCodecs': ['H264'],
-                'audioCodecs': ['ACC'],
+                'resolutions': {'width': 640, 'height': 360},
+                'videoCodecs': 'H264',
+                'audioCodecs': 'ACC',
                 # 'audioCodecs': ['G711'],
                 'protocols': ['RTSP'],
                 'authorizationTypes': ['NONE'],