@tencentcloud/roomkit-web-vue3
Version:
<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,
21 lines (19 loc) • 1.05 kB
TypeScript
import { ComputedRef, Ref } from 'vue';
import { TUIDeviceInfo, TUIAudioRoute } from '../../../../../node_modules/@tencentcloud/tuiroom-engine-js';
import { MediaDeviceState } from '../../type';
export declare const testAudioVolume: Ref<number, number>;
export declare const isMicrophoneListInitiated: Ref<boolean, boolean>;
export declare const isSpeakerListInitiated: Ref<boolean, boolean>;
export default function useAudioDeviceManagerState(): {
microphoneState: ComputedRef<MediaDeviceState>;
microphoneList: Ref<TUIDeviceInfo[], TUIDeviceInfo[]>;
currentMicrophoneDevice: Ref<TUIDeviceInfo | null, TUIDeviceInfo | null>;
currentMicrophoneId: ComputedRef<string>;
audioVolume: ComputedRef<number>;
isMicrophoneTesting: Ref<boolean, boolean>;
speakerList: Ref<TUIDeviceInfo[], TUIDeviceInfo[]>;
currentSpeakerDevice: Ref<TUIDeviceInfo | null, TUIDeviceInfo | null>;
currentSpeakerId: ComputedRef<string>;
currentAudioRoute: Ref<TUIAudioRoute, TUIAudioRoute>;
isSpeakerTesting: Ref<boolean, boolean>;
};