|
@@ -392,7 +392,7 @@ class oa2RtspStartView(TemplateView):
|
|
|
logger.info('------------国外发送推流指令---------------')
|
|
|
try:
|
|
|
back = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE). \
|
|
|
- communicate(timeout=2)
|
|
|
+ communicate(timeout=10)
|
|
|
logger.info('back: {}'.format(str(back[0].decode()) + str(back[1].decode())))
|
|
|
except Exception as e:
|
|
|
self.runSendRtspMsg(logger, 'CN', command) # 调用失败时尝试用国内的发送
|