chooseEncryptionMode
chooseEncryptionMode(
offered):VoiceEncryptionMode
Defined in: packages/voice/src/crypto.ts:19
Picks the first mode in our preference order that the voice server offers.
Parameters
Section titled “Parameters”offered
Section titled “offered”readonly string[]
Returns
Section titled “Returns”Throws
Section titled “Throws”If none is offered.