|
@@ -155,7 +155,7 @@ class oa2TokenView(TemplateView):
|
|
|
return JsonResponse(res_json)
|
|
|
|
|
|
|
|
|
-import threading
|
|
|
+# import threading
|
|
|
|
|
|
|
|
|
def runSendRtspMsg_thread(UID, PWD, MSG):
|
|
@@ -196,6 +196,7 @@ class oa2RtspStartView(TemplateView):
|
|
|
redis_data = redisObj.get_data(key=key)
|
|
|
if redis_data and st == 0:
|
|
|
print('select by redis data')
|
|
|
+ time.sleep(2)
|
|
|
res_json = eval(redis_data)
|
|
|
return JsonResponse(res_json, safe=False)
|
|
|
if access_token == '6ovF9wiXm7su9YXO67PSOkrEPb2LIOf1':
|