rtsp

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RtspMagicHeader        = "RTSP/1.0"
	RtspMagicHeaderLength  = 8
	RtspCseqHeader         = "CSeq: "
	RtspCseqHeaderLength   = 6
	RtspServerHeader       = "Server: "
	RtspServerHeaderLength = 8
	RtspNewlineLength      = 2
	RTSP                   = "rtsp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RTSPPlugin

type RTSPPlugin struct{}

func (*RTSPPlugin) Name

func (p *RTSPPlugin) Name() string

func (*RTSPPlugin) PortPriority

func (p *RTSPPlugin) PortPriority(port uint16) bool

func (*RTSPPlugin) Priority

func (p *RTSPPlugin) Priority() int

func (*RTSPPlugin) Run

func (p *RTSPPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*RTSPPlugin) Type

func (p *RTSPPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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