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.

返回开发者中心

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.

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.

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 一起构建了吗?

创建账户,为主钱包充值,按需开启你所需要的服务。