httpflv

package
v0.0.0-...-7ec3d47 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: GPL-3.0 Imports: 13 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