rtmp

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MsgSetPacketSize   = 1
	MsgServerBandwidth = 5
	MsgClientBandwidth = 6
	MsgCommand         = 20
)

Variables

View Source
var ErrResponse = errors.New("rtmp: wrong response")

Functions

func Dial added in v1.7.0

func Dial(rawURL string) (core.Producer, error)

func PutUint24 added in v1.7.0

func PutUint24(b []byte, v uint32)

func Uint24 added in v1.7.0

func Uint24(b []byte) uint32

Types

type Reader added in v1.7.0

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

func NewReader added in v1.7.0

func NewReader(u *url.URL, conn net.Conn) (*Reader, error)

func (*Reader) Close added in v1.7.0

func (c *Reader) Close() error

func (*Reader) Read added in v1.7.0

func (c *Reader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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