rtsp2

package module
v4.0.0-...-c982bd3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

README

plugin-rtsp2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RTSP2Plugin = engine.InstallPlugin(&conf)

Functions

This section is empty.

Types

type RTSP2Config

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

type RTSPPublisher struct {
	engine.Publisher
	Conn *rtsp.Conn `json:"-" yaml:"-"`
}

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)

Jump to

Keyboard shortcuts

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