ivideon

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	streamer.Element

	ID string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(id string) *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) Dial

func (c *Client) Dial() (err error)

func (*Client) GetMedias

func (c *Client) GetMedias() []*streamer.Media

func (*Client) GetTrack

func (c *Client) GetTrack(media *streamer.Media, codec *streamer.Codec) *streamer.Track

func (*Client) Handle

func (c *Client) Handle() error

func (*Client) MarshalJSON

func (c *Client) MarshalJSON() ([]byte, error)

func (*Client) Start

func (c *Client) Start() error

func (*Client) Stop

func (c *Client) Stop() error

type State

type State byte
const (
	StateNone State = iota
	StateConn
	StateHandle
)

Jump to

Keyboard shortcuts

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