handlers

package
v0.0.0-...-163e08f Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetInfoResponse

func NewGetInfoResponse(deviceId string, features uint64, pi string,
	psi string, sourceVersion string) *getInfoResponse

Types

type Rstp

type Rstp struct {
	// contains filtered or unexported fields
}

func NewRstpHandler

func NewRstpHandler(deviceName string, player *audio.Player) (*Rstp, error)

func (*Rstp) Handle

func (r *Rstp) Handle(conn *rtsp.Conn, req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnAudioMode

func (r *Rstp) OnAudioMode(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnCommand

func (r *Rstp) OnCommand(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnConnOpen

func (r *Rstp) OnConnOpen(conn *rtsp.Conn)

func (*Rstp) OnFlushBuffered

func (r *Rstp) OnFlushBuffered(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnFpSetup

func (r *Rstp) OnFpSetup(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnGetInfo

func (r *Rstp) OnGetInfo(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnGetParameterWeb

func (r *Rstp) OnGetParameterWeb(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnGetWeb

func (r *Rstp) OnGetWeb(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnPairAdd

func (r *Rstp) OnPairAdd(conn *rtsp.Conn, req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnPairConfigure

func (r *Rstp) OnPairConfigure(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnPairList

func (r *Rstp) OnPairList(conn *rtsp.Conn, req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnPairRemove

func (r *Rstp) OnPairRemove(conn *rtsp.Conn, req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnPairSetup

func (r *Rstp) OnPairSetup(conn *rtsp.Conn, req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnPairVerify

func (r *Rstp) OnPairVerify(conn *rtsp.Conn, req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnPostWeb

func (r *Rstp) OnPostWeb(conn *rtsp.Conn, req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnRecordWeb

func (r *Rstp) OnRecordWeb(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnRequest

func (r *Rstp) OnRequest(conn *rtsp.Conn, request *rtsp.Request)

func (*Rstp) OnResponse

func (r *Rstp) OnResponse(conn *rtsp.Conn, resp *rtsp.Response)

func (*Rstp) OnSetParameterWeb

func (r *Rstp) OnSetParameterWeb(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnSetPeerWeb

func (r *Rstp) OnSetPeerWeb(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnSetRateAnchorTime

func (r *Rstp) OnSetRateAnchorTime(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnSetupWeb

func (r *Rstp) OnSetupWeb(req *rtsp.Request) (*rtsp.Response, error)

func (*Rstp) OnTeardownWeb

func (r *Rstp) OnTeardownWeb(req *rtsp.Request) (*rtsp.Response, error)

Jump to

Keyboard shortcuts

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