Help us shape the future of Go! Take the 2026 Go Developer Survey

legacy

package
v1.9.14 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModelAqaraG2  = "lumi.camera.gwagl01"
	ModelLoockV1  = "loock.cateye.v01"
	ModelXiaobai  = "chuangmi.camera.xiaobai"
	ModelXiaofang = "isa.camera.isc5"
)

Variables

This section is empty.

Functions

func DecodeVideo

func DecodeVideo(data, key []byte) ([]byte, error)

func Supported

func Supported(model string) bool

Types

type Client

type Client struct {
	*tutk.Conn
	// contains filtered or unexported fields
}

func NewClient

func NewClient(rawURL string) (*Client, error)

func (*Client) ReadPacket

func (c *Client) ReadPacket() (hdr, payload []byte, err error)

func (*Client) StartMedia

func (c *Client) StartMedia(video, audio string) error

func (*Client) StopMedia

func (c *Client) StopMedia() error

func (*Client) Version

func (c *Client) Version() string

type Producer

type Producer struct {
	core.Connection
	// contains filtered or unexported fields
}

func Dial

func Dial(rawURL string) (*Producer, error)

func (*Producer) Protocol

func (c *Producer) Protocol() string

func (*Producer) Start

func (c *Producer) Start() error

func (*Producer) Stop

func (c *Producer) Stop() error

Jump to

Keyboard shortcuts

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