Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RTSP2Plugin = engine.InstallPlugin(&conf)
Functions ¶
This section is empty.
Types ¶
type RTSP2Config ¶
type RTSP2Config struct { config.HTTP config.Publish config.Subscribe config.Pull config.Push config.TCP }
func (*RTSP2Config) API_Pull ¶
func (*RTSP2Config) API_Pull(rw http.ResponseWriter, r *http.Request)
func (*RTSP2Config) API_Push ¶
func (*RTSP2Config) API_Push(rw http.ResponseWriter, r *http.Request)
func (*RTSP2Config) API_list ¶
func (*RTSP2Config) API_list(w http.ResponseWriter, r *http.Request)
func (*RTSP2Config) OnEvent ¶
func (c *RTSP2Config) OnEvent(event any)
func (*RTSP2Config) ServeTCP ¶
func (c *RTSP2Config) ServeTCP(conn net.Conn)
type RTSPPublisher ¶
func (*RTSPPublisher) OnEvent ¶
func (p *RTSPPublisher) OnEvent(event any)
type RTSPPuller ¶
type RTSPPuller struct { RTSPPublisher engine.Puller }
func (*RTSPPuller) Connect ¶
func (p *RTSPPuller) Connect() (err error)
func (*RTSPPuller) Disconnect ¶
func (p *RTSPPuller) Disconnect()
func (*RTSPPuller) Pull ¶
func (p *RTSPPuller) Pull() (err error)
type RTSPPusher ¶
type RTSPPusher struct { RTSPSubscriber engine.Pusher }
func (*RTSPPusher) Connect ¶
func (p *RTSPPusher) Connect() (err error)
func (*RTSPPusher) Disconnect ¶
func (p *RTSPPusher) Disconnect()
func (*RTSPPusher) Push ¶
func (p *RTSPPusher) Push() (err error)
type RTSPSubscriber ¶
type RTSPSubscriber struct { engine.Subscriber Conn *rtsp.Conn `json:"-" yaml:"-"` // contains filtered or unexported fields }
func (*RTSPSubscriber) OnEvent ¶
func (p *RTSPSubscriber) OnEvent(event any)
Click to show internal directories.
Click to hide internal directories.