|
@@ -258,12 +258,11 @@ class oa2RtspStartView(TemplateView):
|
|
|
'protocols': ['RTSP'],
|
|
|
'authorizationTypes': ['NONE'],
|
|
|
'uri': rtsp_uri,
|
|
|
- 'msg': send_flag,
|
|
|
- 'test_msg': MSG
|
|
|
+ 'msg': send_flag
|
|
|
|
|
|
}
|
|
|
# time.sleep(1.5)
|
|
|
- redisObj.set_data(key=key, val=str(res_json), expire=15)
|
|
|
+ redisObj.set_data(key=key, val=str(res_json), expire=60)
|
|
|
return JsonResponse(res_json, safe=False)
|
|
|
else:
|
|
|
return JsonResponse({'msg': 'wrong'})
|