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
Click to show internal directories.
Click to hide internal directories.