rtmp

package
v0.0.0-...-a32abf6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Unlicense Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

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

func (*Member) Quit

func (m *Member) Quit()

func (*Member) Wait

func (m *Member) Wait()

type Publisher

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

func (*Publisher) MeetingOver

func (p *Publisher) MeetingOver()

type Steam

type Steam struct {
	Publishers map[int64]*Publisher
	// contains filtered or unexported fields
}
var (
	S *Steam
)

func (*Steam) AddMember

func (s *Steam) AddMember(uid int64, done func() <-chan struct{}, w http.ResponseWriter) (member *Member, err error)

func (*Steam) IsPushing

func (s *Steam) IsPushing(uid int64) bool

func (*Steam) IsRunning

func (s *Steam) IsRunning(uid int64) bool

func (*Steam) NewPublisher

func (s *Steam) NewPublisher(uid int64)

func (*Steam) Offset

func (s *Steam) Offset(uid int64) (offset int64)

func (*Steam) Push

func (s *Steam) Push(read io.ReadCloser, uid int64) (err error)

Jump to

Keyboard shortcuts

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