Documentation
¶
Overview ¶
Package turnroute plans and schedules TURN egress independently of an ICE implementation.
Index ¶
Constants ¶
const ( RouteStagger = time.Second MaximumBackupRoutes = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocation ¶
Allocation transfers its reservation to the transport until discard or close.
type Attempt ¶
type Attempt func(context.Context, Route, func()) *Allocation
Attempt must release on failure; a successful allocation retains release until closed.
type Gathering ¶
type Gathering struct {
// contains filtered or unexported fields
}
func NewGathering ¶
type Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
Plan is the immutable snapshot shared by admission and gathering.