httpflv

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FLVWriter

type FLVWriter struct {
	Uid string
	av.RWBaser
	// contains filtered or unexported fields
}

func NewFLVWriter

func NewFLVWriter(app, title, url string, ctx http.ResponseWriter) *FLVWriter

func (*FLVWriter) Close

func (flvWriter *FLVWriter) Close(error)

func (*FLVWriter) DropPacket

func (flvWriter *FLVWriter) DropPacket(pktQue chan *av.Packet, info av.Info)

func (*FLVWriter) Info

func (flvWriter *FLVWriter) Info() (ret av.Info)

func (*FLVWriter) SendPacket

func (flvWriter *FLVWriter) SendPacket() error

func (*FLVWriter) Wait

func (flvWriter *FLVWriter) Wait()

func (*FLVWriter) Write

func (flvWriter *FLVWriter) Write(p *av.Packet) (err error)

type Server

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

func NewServer

func NewServer(h av.Handler) *Server

func (*Server) Serve

func (server *Server) Serve(l net.Listener) error

Jump to

Keyboard shortcuts

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