改下自己写的sb代码
This commit is contained in:
parent
b9d9a8c435
commit
8f20250dee
@ -176,11 +176,12 @@ def run():
|
|||||||
continue
|
continue
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
else:
|
else:
|
||||||
|
if not isEncode and not isDownload:
|
||||||
if _firstDown:
|
if _firstDown:
|
||||||
sleep(1800) # 防抖,避免主播因特殊情况下播导致直接投递了
|
sleep(1800) # 防抖,避免主播因特殊情况下播导致直接投递了
|
||||||
|
Common.api.updRoomInfo()
|
||||||
_firstDown = False
|
_firstDown = False
|
||||||
continue
|
continue
|
||||||
if not isEncode and not isDownload:
|
|
||||||
Common.uploadQueue.put(True)
|
Common.uploadQueue.put(True)
|
||||||
_firstDown = False
|
_firstDown = False
|
||||||
isEncode = True
|
isEncode = True
|
||||||
|
Reference in New Issue
Block a user