httpflvwriter

package
v0.0.0-...-604ea6a Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpFlvWriter

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

func NewHttpFlvWriter

func NewHttpFlvWriter(
	httpflvManageDone <-chan int,
	playerDone <-chan int,
	pulseInterval time.Duration,
	pktStream chan av.Packet,
	code string,
	codecs []av.CodecData,
	writer io.Writer,
	sessionId int64,
	ihfm IHttpFlvManager,
) *HttpFlvWriter

func (*HttpFlvWriter) GetCode

func (hfw *HttpFlvWriter) GetCode() string

func (*HttpFlvWriter) GetDone

func (hfw *HttpFlvWriter) GetDone() <-chan int

func (*HttpFlvWriter) GetPktStream

func (hfw *HttpFlvWriter) GetPktStream() chan<- av.Packet

func (*HttpFlvWriter) GetSessionId

func (hfw *HttpFlvWriter) GetSessionId() int64

func (*HttpFlvWriter) SetCode

func (hfw *HttpFlvWriter) SetCode(code string)

func (*HttpFlvWriter) SetCodecs

func (hfw *HttpFlvWriter) SetCodecs(codecs []av.CodecData)

func (*HttpFlvWriter) Write

func (hfw *HttpFlvWriter) Write(p []byte) (n int, err error)

Write extends to io.Writer

type IHttpFlvManager

type IHttpFlvManager interface {
	DeleteHFW(sesessionId int64)
}

Jump to

Keyboard shortcuts

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