rtspserver

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

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 InitRtspServer

func InitRtspServer(rulex typex.RuleX) *rtspServer

NewRouter Gin 路由配置

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL