chanjunkai 5 vuotta sitten
vanhempi
commit
5dae70a732
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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: