mirror of
https://github.com/gowvp/gb28181.git
synced 2025-10-30 18:36:30 +08:00
重构国标播放与修复快照
This commit is contained in:
@@ -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"` // 流虚拟主机
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user