完成犯人带出检测,测试通过
This commit is contained in:
@@ -3,7 +3,8 @@ RTSP 服务模块 - 简洁版本,直接使用原始服务
|
||||
"""
|
||||
|
||||
import threading
|
||||
from rtsp_service_ws_1217 import RTSPService
|
||||
# from rtsp_service_ws_1217 import RTSPService
|
||||
from rtsp_service_ws_prison import RTSPService
|
||||
|
||||
|
||||
class SimpleRTSPServer:
|
||||
@@ -23,7 +24,7 @@ class SimpleRTSPServer:
|
||||
|
||||
# 创建原始服务实例
|
||||
self.service = RTSPService(config_path="config.yaml")
|
||||
|
||||
|
||||
# 在新线程中启动服务
|
||||
self.thread = threading.Thread(
|
||||
target=self.service.start,
|
||||
|
||||
Reference in New Issue
Block a user