Developer guide
Audio mode: rooms use the media profile
Why a voice room does not make the phone think the user is on a call.
رجوع لمطوّري UTD Stream
Applies to: utd_audio_room_kit 4.2.1, utd_live_room_kit 4.0.4
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. |
There is no switch for the media profile in the room kits: they install it themselves before the room connects. In the audio kit the helper is UTDAudioMode of utd_stream_sdk; it is not re-exported by the kit, and no call turns the media profile off for a room. In the live kit it is internal.