v1 had an API to enable/disable sounds:
Device.audio.incoming(false)
I can see some code related to this in v2:
|
private _enabledSounds: Record<Device.ToggleableSound, boolean> = { |
|
[Device.SoundName.Disconnect]: true, |
|
[Device.SoundName.Incoming]: true, |
|
[Device.SoundName.Outgoing]: true, |
|
}; |
But there doesn't seem to be a public API to configure the settings.
Is this an oversight? It is currently blocking us from upgrading.
v1 had an API to enable/disable sounds:
I can see some code related to this in v2:
twilio-voice.js/lib/twilio/device.ts
Lines 349 to 353 in 385c31f
But there doesn't seem to be a public API to configure the settings.
Is this an oversight? It is currently blocking us from upgrading.