DevicesButtonSelector type

Selector type for DevicesButton component.

type DevicesButtonSelector = (
  state: CallClientState,
  props: CallingBaseSelectorProps
) => {
  cameras: VideoDeviceInfo[]
  microphones: AudioDeviceInfo[]
  selectedCamera?: VideoDeviceInfo
  selectedMicrophone?: AudioDeviceInfo
  selectedSpeaker?: AudioDeviceInfo
  speakers: AudioDeviceInfo[]
}