setAudioBitrateProfile

suspend fun setAudioBitrateProfile(profile: <Error class: unknown class>): Result<Unit>

Set the audio bitrate profile. This can only be set before joining the call. Once the call is joined, changes to the audio bitrate profile will be ignored.

Return

true if the profile was successfully set, false if:

  • The call is already joined and the change was ignored

  • HiFi audio is not enabled in dashboard settings when trying to use MUSIC_HIGH_QUALITY

Parameters

profile

The audio bitrate profile to use