DiscordVoiceEngineConfiguration
public struct DiscordVoiceEngineConfiguration
A struct that is used to configure the high-level functions of a VoiceEngine
-
Whether or not this engine should capture voice.
Declaration
Swift
public var captureVoice: Bool
-
Whether or not this engine should try and decode incoming voice into raw PCM.
Declaration
Swift
public var decodeVoice: Bool
-
Default configuration: captureVoice = true decodeVoice = false
Declaration
Swift
public init()
-
Creates a new configuration with the specified options.
Declaration
Swift
public init(captureVoice: Bool, decodeVoice: Bool)