lang vor 4 Jahren
Ursprung
Commit
8de0f4bff4
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  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'],