Audio mode: rooms use the media profile
Why a voice room does not make the phone think the user is on a call.
Applies to: utd_audio_room_kit 3.14.1, utd_live_room_kit 3.11.0
Phones have two audio profiles. The communication profile is what the OS uses for a phone call: earpiece-first routing, the volume buttons controlling call volume, other apps ducked or blocked from the microphone, and a system "in a call" indicator. The media profile is what a music or video app uses.
| Kit | Profile | What the user gets |
|---|---|---|
utd_audio_room_kit, utd_live_room_kit | Media | Android MODE_NORMAL on the music stream; iOS playback for listeners and playAndRecord while the local microphone is publishing. Echo cancellation and noise suppression stay on for the people on seats. The OS does not show an "in a call" state and other apps are not told the microphone is taken by a call. |
The room kits apply the media profile themselves before the room connects; you write no code. There is no public switch in 3.14.1: the helper that installs it is internal to the kit. A room is not a call, and the kits do not offer a call mode for rooms.
Готовы создавать вместе с UTD?
Создайте аккаунт, пополните главный кошелёк и включите нужные вам сервисы.