feat: implement token-based auto stream pulling
This commit is contained in:
@@ -19,6 +19,10 @@ type Config struct {
|
||||
EdgeToken string `yaml:"edge_token"`
|
||||
StreamEnabled bool `yaml:"stream_enabled"`
|
||||
RTSPURLs []string `yaml:"rtsp_urls"`
|
||||
// 新增:自动按需拉流配置
|
||||
StreamPullURL string `yaml:"stream_pull_url"` // 云端拉流网关地址
|
||||
StreamProtocol string `yaml:"stream_protocol"` // 拉流协议: flv, rtsp, ws_flv
|
||||
AutoPull bool `yaml:"auto_pull"` // 是否启用自动按需拉流
|
||||
InferSocket string `yaml:"infer_socket"`
|
||||
InferFPS int `yaml:"infer_fps"`
|
||||
InferWorkers int `yaml:"infer_workers"`
|
||||
|
||||
Reference in New Issue
Block a user