|
@@ -331,7 +331,10 @@ class oa2RtspStartView(TemplateView):
|
|
|
logger.info('------------国内发送推流指令---------------')
|
|
|
url = "http://52.83.252.41:7880/alexa/command?command={command}".format(command=command)
|
|
|
# 多线程请求国内服务器调用pushtool
|
|
|
- threading.Thread(target=self.reqSendRtspMsg, args=(url)).start()
|
|
|
+ try:
|
|
|
+ threading.Thread(target=self.reqSendRtspMsg, args=(url)).start()
|
|
|
+ except Exception as e:
|
|
|
+ logger.info('异常: {}'.format(repr(e)))
|
|
|
else:
|
|
|
logger.info('------------国外发送推流指令---------------')
|
|
|
try:
|