Versions in this module Expand all Collapse all v0 v0.0.27 Feb 7, 2024 v0.0.26 Feb 1, 2024 v0.0.25 Jan 29, 2024 v0.0.24 Jan 22, 2024 v0.0.23 Jan 10, 2024 v0.0.22 Jan 8, 2024 v0.0.21 Nov 20, 2023 v0.0.20 Mar 11, 2023 v0.0.19 Jul 16, 2022 v0.0.18 Jul 4, 2022 v0.0.17 Jun 14, 2022 v0.0.16 Jun 5, 2022 Changes in this version + const SignalCodecUpdate + const SignalStreamStop + type Client struct + CodecData []av.CodecData + OutgoingPacketQueue chan *av.Packet + Signals chan int + func Dial(options ClientOptions) (*Client, error) + func (client *Client) Close() error + func (client *Client) CodecUpdatePCMAlaw() + func (client *Client) CodecUpdatePPS(val []byte) + func (client *Client) CodecUpdateSPS(val []byte) + func (client *Client) Command(command requestCode, data interface{}) (*Payload, []byte, error) + func (client *Client) Login() error + func (client *Client) Monitor() + func (client *Client) SetKeepAlive() error + func (client *Client) SetTime() error + type ClientOptions struct + Debug bool + DialTimeout time.Duration + DisableAudio bool + ReadWriteTimeout time.Duration + URL string + type Frame struct + Data []byte + Meta MetaInfo + type LoginResp struct + AliveInterval int + ChannelNum int + DeviceType string + ExtraChannel int + Ret int + SessionID string + type MetaInfo struct + Datetime time.Time + FPS int + Frame string + Height int + Type string + Width int + type Payload struct + BodyLength int32 + Head byte + MsgID int16 + SequenceNumber int32 + Session int32 + Version byte