create Direct Source
Creates a new direct source.
Direct sources are used to send audio data directly to the players.
Return
A new ServerDirectSource instance.
Parameters
The player attached to the direct source.
Whether the source should be stereo (default is false).
Optional decoder information, default is OpusDecoderInfo.
Optional builder to change source info before it's added to the sources list and ServerSourceCreatedEvent is fired.
Creates a new direct source.
Direct sources are used to send audio data directly to the players.
Return
A new ServerDirectSource instance.
Parameters
The player attached to the direct source.
Whether the source should be stereo (default is false).
Optional decoder information, default is OpusDecoderInfo.
Creates a new direct source.
Direct sources are used to send audio data directly to the players.
Return
A new ServerDirectSource instance.
Parameters
The player attached to the direct source.
Whether the source should be stereo (default is false).