改下自己写的sb代码

This commit is contained in:
Jerry Yan 2019-09-25 09:02:18 +08:00
parent b9d9a8c435
commit 8f20250dee

View File

@ -176,11 +176,12 @@ def run():
continue
time.sleep(5)
else:
if _firstDown:
sleep(1800) # 防抖,避免主播因特殊情况下播导致直接投递了
_firstDown = False
continue
if not isEncode and not isDownload:
if _firstDown:
sleep(1800) # 防抖,避免主播因特殊情况下播导致直接投递了
Common.api.updRoomInfo()
_firstDown = False
continue
Common.uploadQueue.put(True)
_firstDown = False
isEncode = True