共用方式為


DevicesButtonSelector type

DevicesButton元件的選取器類型。

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