tapo

package
v0.0.0-...-c3ad350 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client deprecated

type Client struct {
	core.Listener
	// contains filtered or unexported fields
}

Deprecated: should be rewritten to core.Connection

func Dial

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

func (*Client) AddTrack

func (c *Client) AddTrack(media *core.Media, _ *core.Codec, track *core.Receiver) error

func (*Client) Close

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

func (*Client) GetMedias

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

func (*Client) GetTrack

func (c *Client) GetTrack(media *core.Media, codec *core.Codec) (*core.Receiver, error)

func (*Client) Handle

func (c *Client) Handle() error

Handle - first run will be in probe state

func (*Client) MarshalJSON

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

func (*Client) Request

func (c *Client) Request(conn net.Conn, body []byte) (string, error)

func (*Client) SetupBackchannel

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

func (*Client) SetupStream

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

func (*Client) Start

func (c *Client) Start() error

func (*Client) Stop

func (c *Client) Stop() error

func (*Client) WriteBackchannel

func (c *Client) WriteBackchannel(body []byte) (err error)

Jump to

Keyboard shortcuts

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