useSubscribeToInputError
function useSubscribeToInputError(
setAudioInputError,
setVideoInputError,
controller?): void;
Parameters
| Parameter | Type |
|---|---|
setAudioInputError | Dispatch<SetStateAction<DeviceError>> |
setVideoInputError | Dispatch<SetStateAction<DeviceError>> |
controller? | PreviewStreamController |
Returns
void