Type Alias: PersistLastDeviceHandlers
PersistLastDeviceHandlers:
object
Defined in: packages/react-client/src/types/public.ts:42
Type declaration
getLastDevice()
getLastDevice: (
deviceType
) =>MediaDeviceInfo
|null
Parameters
Parameter | Type |
---|---|
deviceType | "audio" | "video" |
Returns
MediaDeviceInfo
| null
saveLastDevice()
saveLastDevice: (
info
,deviceType
) =>void
Parameters
Parameter | Type |
---|---|
info | MediaDeviceInfo |
deviceType | "audio" | "video" |
Returns
void