live

package
v5.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

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

func NewStream

func NewStream(name string) *Stream

func (*Stream) Push

func (s *Stream) Push(packet *m.StreamPacket)

type StreamManager

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

func NewStreamManager

func NewStreamManager() *StreamManager

func (*StreamManager) GetStreamList

func (s *StreamManager) GetStreamList() m.StreamList

func (*StreamManager) Push

func (s *StreamManager) Push(packet *m.StreamPacket)

func (*StreamManager) Run

func (sm *StreamManager) Run(context context.Context)

func (*StreamManager) Serve

func (sm *StreamManager) Serve(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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