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.

KitProfileWhat the user gets
utd_audio_room_kit, utd_live_room_kitMediaAndroid 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.

UTD와 함께 빌드할 준비가 되셨나요?

계정을 만들고, 마스터 지갑을 충전한 뒤, 필요한 서비스를 켜세요.