setAudioBitrateProfile
Sets the audio bitrate profile, before joining or on a running call, so a broadcaster who starts playing music can switch to MUSIC_HIGH_QUALITY without rejoining.
Requires HiFi audio enabled in the dashboard settings. The Opus bitrate and channel count come from the server at join, so a mid-call switch does not renegotiate them.
Expect a brief gap in captured audio on a mid-call switch: the platform rebuilds its capture path. The call is not interrupted otherwise.
Echo cancellation goes off under MUSIC_HIGH_QUALITY, so treat music as a headphones setting. It also costs communication routing and Bluetooth capture — SCO only runs in communication mode.
Read the profile in force back from audioBitrateProfile.
Return
success once the profile is in force; failure when HiFi audio is off, the call settings could not be fetched, or a running stage refused — the profile is then left where it was so the caller can retry.