httpflv

package
v0.0.0-...-62cb2ec Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: BSD-3-Clause Imports: 12 Imported by: 1

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 (self *FLVWriter) Close(error)

func (*FLVWriter) DropPacket

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

func (*FLVWriter) Info

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

func (*FLVWriter) SendPacket

func (self *FLVWriter) SendPacket() error

func (self *FLVWriter) Write(p av.Packet) error {

func (*FLVWriter) Wait

func (self *FLVWriter) Wait()

func (*FLVWriter) Write

func (self *FLVWriter) Write(p av.Packet) error

type Server

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

func NewServer

func NewServer(h av.Handler) *Server

func (*Server) Serve

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

Jump to

Keyboard shortcuts

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