Versions in this module Expand all Collapse all v0 v0.0.13 Jan 30, 2022 v0.0.12 Jan 30, 2022 v0.0.11 Jan 30, 2022 v0.0.10 Jan 30, 2022 v0.0.9 Jan 30, 2022 v0.0.8 Jan 30, 2022 v0.0.7 Jan 30, 2022 v0.0.6 Jan 30, 2022 v0.0.5 Jan 30, 2022 v0.0.4 Jan 30, 2022 v0.0.3 Jan 30, 2022 v0.0.2 Jan 30, 2022 v0.0.1 Jan 30, 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