n9m

package module
v0.0.0-...-63c2aed Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	Version     uint64
	Padding     uint64
	Mark        uint64
	CC          uint64
	PayloadType uint64
	SSRC        uint64
	Reserved    uint64
	CSRC        [16]uint64

	PayloadLen uint64

	Payload    map[string]interface{}
	RawPayload []byte

	Accum []byte
	// contains filtered or unexported fields
}

func (*Package) AddToAccum

func (e *Package) AddToAccum(data []byte)

func (*Package) CertificateConnectResponce

func (e *Package) CertificateConnectResponce(Sid string)

func (*Package) ConfigeModel

func (e *Package) ConfigeModel(Sid string)

func (*Package) GetGeolocation

func (e *Package) GetGeolocation(Sid string)

func (*Package) MediaRequestAliveVideo

func (e *Package) MediaRequestAliveVideo(camNo int64, Sid string, serial string, serverID int64)

func (*Package) MediaRequestDownloadVideo

func (e *Package) MediaRequestDownloadVideo(camNo int64, Sid, serial, date1 string)

func (*Package) PackPackage

func (e *Package) PackPackage() []byte

func (*Package) ReadPackage

func (e *Package) ReadPackage() bool

func (*Package) ResponseConnect

func (e *Package) ResponseConnect(Sid string, streamName string)

func (*Package) SpecialReadPackage

func (e *Package) SpecialReadPackage() bool

type PayloadJson

type PayloadJson struct {
	Module    []byte
	Operation []byte
	Request   []byte
	Responce  []byte
}

Jump to

Keyboard shortcuts

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