codecPreferences property
An array of codec names ordered from most-preferred to least-preferred.
Opus and PCMU are the two codecs currently supported by Twilio Voice JS SDK. Opus can provide better quality for lower bandwidth, particularly noticeable in poor network conditions.
Default: "pcmu", "opus"
Implementation
external List<String> codecPreferences;