mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-25 22:35:49 +00:00
13 lines
263 B
TypeScript
13 lines
263 B
TypeScript
export type MediaDevices = {
|
|
available: MediaDeviceInfo[];
|
|
selectedId: string;
|
|
};
|
|
|
|
export type MediaDevicesState = {
|
|
state: Map<MediaDeviceKind, MediaDevices>;
|
|
selectActiveDevice: (
|
|
kind: MediaDeviceKind,
|
|
deviceId: string
|
|
) => Promise<void>;
|
|
};
|