client

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyDialed    = errors.New("already dialed")
	ErrMethodNotSupport = errors.New("method not support")
)
View Source
var ErrAlreadyInPublication = errors.New("already in publication")

Functions

This section is empty.

Types

type Client

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

func Dial

func Dial(url, method string) (*Client, error)

func (*Client) AddPlayer

func (c *Client) AddPlayer(player av.WriteCloser) (err error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) DelPlayer

func (c *Client) DelPlayer(player av.WriteCloser) (err error)

func (*Client) Flush

func (c *Client) Flush() error

func (*Client) PullStart

func (c *Client) PullStart(ctx context.Context) (err error)

func (*Client) PushStart

func (c *Client) PushStart(ctx context.Context, src av.Reader) error

Jump to

Keyboard shortcuts

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