Documentation ¶
Index ¶
Constants ¶
View Source
const ( // New ICE agent is gathering addresses New = iota + 1 // Checking ICE agent has been given local and remote candidates, and is attempting to find a match Checking // Connected ICE agent has a pairing, but is still checking other pairs Connected // Completed ICE agent has finished Completed // Failed ICE agent never could sucessfully connect Failed // Failed ICE agent connected sucessfully, but has entered a failed state Disconnected // Closed ICE agent has finished and is no longer handling requests Closed )
List of supported States
Variables ¶
This section is empty.
Functions ¶
func HostInterfaces ¶
func HostInterfaces() (ips []string)
HostInterfaces generates a slice of all the IPs associated with interfaces
Types ¶
type ConnectionState ¶
type ConnectionState int
ConnectionState is an enum showing the state of a ICE Connection
func (ConnectionState) String ¶
func (c ConnectionState) String() string
Click to show internal directories.
Click to hide internal directories.