chanjunkai 5 лет назад
Родитель
Сommit
5dae70a732
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      controller/index.py

+ 1 - 0
controller/index.py

@@ -199,6 +199,7 @@ class oa2RtspStartView(TemplateView):
         redisObj = RedisObject(db=9)
         key = '{UID}_rtsp_key'.format(UID=id)
         redis_data = redisObj.get_data(key=key)
+        redis_data = redisObj.del_data(key=key)
         print(st)
         # if redis_data and st == 0:
         if redis_data: