ocr1.0
This commit is contained in:
@ -52,7 +52,7 @@ async def create_device(request: Request, device_data: DeviceCreateRequest):
|
||||
# 设备创建成功后,在后台线程启动WEBRTC流处理
|
||||
threading.Thread(
|
||||
target=run_webrtc_processing,
|
||||
args=(device_data.ip, full_webrtc_url),
|
||||
args=(device_data.ip, existing_device["live_webrtc_url"]),
|
||||
daemon=True # 设为守护线程,主程序退出时自动结束
|
||||
).start()
|
||||
# IP已存在时返回该设备信息
|
||||
|
Reference in New Issue
Block a user