Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discord_rpc_deno/src/structures/VoiceSettings.ts>VoiceMode

port of @xhayper/discord-rpc to deno
Go to Latest
interface VoiceMode
import { type VoiceMode } from "https://deno.land/x/discord_rpc_deno@1.0.8/src/structures/VoiceSettings.ts";

Properties

type: "PUSH_TO_TALK" | "VOICE_ACTIVITY"

voice setting mode type (can be PUSH_TO_TALK or VOICE_ACTIVITY)

auto_threshold: boolean

voice activity threshold automatically sets its threshold

threshold: number

threshold for voice activity (in dB) (min: -100, max: 0)

shortcut: ShortcutKeyCombo[]

shortcut key combos for PTT

delay: number

the PTT release delay (in ms) (min: 0, max: 2000)