Documentation ¶
Index ¶
- func AddVideoStreamEndpoint(k string, v RtspCameraInfo)
- func AllVideoStreamEndpoints() map[string]RtspCameraInfo
- func DeleteVideoStreamEndpoint(k string)
- func InitRtspServer(rulex typex.RuleX) *rtspServer
- func NewPlayerManager() *websocketPlayerManager
- func NewWSStdInOut() wsInOut
- type RtspCameraInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddVideoStreamEndpoint ¶
func AddVideoStreamEndpoint(k string, v RtspCameraInfo)
func AllVideoStreamEndpoints ¶
func AllVideoStreamEndpoints() map[string]RtspCameraInfo
* * 远程摄像头列表 *
func DeleteVideoStreamEndpoint ¶
func DeleteVideoStreamEndpoint(k string)
func NewPlayerManager ¶
func NewPlayerManager() *websocketPlayerManager
func NewWSStdInOut ¶
func NewWSStdInOut() wsInOut
Types ¶
type RtspCameraInfo ¶
type RtspCameraInfo struct { Type string `json:"type,omitempty"` // 1-RTSP,2-Local LocalId string `json:"local_id,omitempty"` // 本地ID PullAddr string `json:"pullAddr,omitempty"` PushAddr string `json:"pushAddr,omitempty"` }
* * RTSP 设备(rtsp://192.168.199.243:554/av0_0) *
func GetVideoStreamEndpoint ¶
func GetVideoStreamEndpoint(k string) RtspCameraInfo
Click to show internal directories.
Click to hide internal directories.