重构国标播放与修复快照

This commit is contained in:
xugo
2025-06-14 01:20:46 +08:00
parent bf5ff1d748
commit d082fcedda
10 changed files with 135 additions and 80 deletions

View File

@@ -201,3 +201,15 @@ type onRTPServerTimeoutInput struct {
TCPMode int `json:"tcp_mode"` // openRtpServer 输入的参数
MediaServerID string `json:"mediaServerId"` // 服务器 id,通过配置文件设置
}
type onStreamNotFoundInput struct {
MediaServerID string `json:"mediaServerId"` // 服务器 id,通过配置文件设置
App string `json:"app"` // 流应用名
ID string `json:"id"` // TCP链接唯一ID
IP string `json:"ip"` // 播放器ip
Params string `json:"params"` // 播放url参数
Port int `json:"port"` // 播放器端口号
Schema string `json:"schema"` // 播放的协议可能是rtsp、rtmp、http
Stream string `json:"stream"` // 流 ID
Vhost string `json:"vhost"` // 流虚拟主机
}