|
@@ -198,6 +198,7 @@ class oa2RtspStartView(TemplateView):
|
|
redisObj = RedisObject(db=9)
|
|
redisObj = RedisObject(db=9)
|
|
key = '{UID}_rtsp_key'.format(UID=id)
|
|
key = '{UID}_rtsp_key'.format(UID=id)
|
|
redis_data = redisObj.get_data(key=key)
|
|
redis_data = redisObj.get_data(key=key)
|
|
|
|
+ print(st)
|
|
if redis_data and st == 0:
|
|
if redis_data and st == 0:
|
|
print('select by redis data')
|
|
print('select by redis data')
|
|
# time.sleep(3)
|
|
# time.sleep(3)
|