|
@@ -176,7 +176,7 @@ class oa2RtspStartView(TemplateView):
|
|
|
redisObj = RedisObject(db=9)
|
|
|
key = '{UID}_rtsp_key'.format(UID=id)
|
|
|
redis_data = redisObj.get_data(key=key)
|
|
|
- if redis_data:
|
|
|
+ if redis_data and st == 0:
|
|
|
print('select by redis data')
|
|
|
res_json = eval(redis_data)
|
|
|
return JsonResponse(res_json, safe=False)
|