support onvif

This commit is contained in:
xugo
2025-11-23 03:57:22 +08:00
parent 08c988f4cc
commit dc83d3b278
43 changed files with 1383 additions and 689 deletions
+2
View File
@@ -194,6 +194,7 @@ func (n *NodeManager) connection(server *MediaServer, serverPort int) error {
log.Info("ZLM 服务节点配置设置")
hookPrefix := fmt.Sprintf("http://%s:%d/webhook", server.HookIP, serverPort)
req := zlm.SetServerConfigRequest{
RtcExternIP: zlm.NewString(server.IP),
GeneralMediaServerID: zlm.NewString(server.ID),
@@ -232,6 +233,7 @@ func (n *NodeManager) connection(server *MediaServer, serverPort int) error {
// 优化此消息以更快的收到流注销事件
ProtocolContinuePushMs: zlm.NewString("3000"),
RtpProxyPortRange: &server.RTPPortRange,
FfmpegLog: zlm.NewString("./fflogs/ffmpeg.log"),
}
{