Browse Source

使用测试机uid

locky 2 months ago
parent
commit
6406597ec7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Controller/AWS/KVSController.py

+ 2 - 0
Controller/AWS/KVSController.py

@@ -556,6 +556,8 @@ class KVSView(View):
         sdp_offer = request_dict.get('sdp_offer', None)
         if not all([uid, sdp_offer]):
             return response.json(444)
+        if uid == '517J385BNUGP3CPP111A':
+            uid = 'NUWGTV5TUK8G8VSS111A'
         try:
             serial = CommonService.get_serial_number_by_uid(uid)
             kvs_qs = KVS.objects.filter(stream_name=serial).values('channel_arn')