Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Doorman ¶
Doorman is the datastructure that holds the variables for the audio.Node.
func NewDoorman ¶
NewDoorman returns an instance of a Doorman audio Node. It implements the audio.Node interface. It's purpose is to avoid two clients transmitting audio at the same time. Through a functional option an callback can be provided which will be called whenever the active (transmitting) client changes.
type Option ¶
type Option func(*Options)
Option is the type for a function option
func TXUserChanged ¶
TXUserChanged is a functional option to provide a callback which get's called whenever the transmitting user changes.
Click to show internal directories.
Click to hide internal directories.