dispose

package
v0.0.0-...-5714200 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODE_1CLOUD DisposeMode   = 0
	MODE_2CLOUD DisposeMode   = 1
	SOURCE_BASE DisposeSource = 0
	SOURCE_AWS  DisposeSource = 1
	METHOD_STUN               = 0
	METHOD_TURN               = 1
)

Variables

This section is empty.

Functions

func Dispose

func Dispose(req *DisposeRequestST) error

Types

type DisposeMethod

type DisposeMethod int32

type DisposeMode

type DisposeMode int32

type DisposeRequestST

type DisposeRequestST struct {
	ChanCount   uint64
	Method      DisposeMethod
	Duration    time.Duration
	PackageSize int32
	PackageWait time.Duration
	StatLogLvl  int
	ReqLogLvl   int

	Mode DisposeMode

	Source         DisposeSource
	StunServerAddr string // STUN server address (e.g. "stun.abc.com:3478")
	TurnServerAddr string // TURN server addrees (e.g. "turn.abc.com:3478")
	Username       string
	Password       string

	AwsDeviceId string
	AwsToken    string
}

type DisposeSource

type DisposeSource int32

Jump to

Keyboard shortcuts

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