Skip to main content

RtkAudioDeviceSelector

An audio device selector component which can be used to select audio devices.

To use this component inside an xml use following syntax:

<om.cloudflare.realtimekit.ui.view.RtkAudioDeviceSelector
android:id="@+id/audioSelector"
app:rtk_ds_label="custom label"
android:layout_width="0dp"
android:layout_height="wrap_content"
<!-- other xml attributes -->
/>

It should look like the following when rendered on the screen:

Video Device Selector

Device can be changed by clicking on the dropdown and selecting the desired device.