camState
and micState
from useDevices()
are set to "granted"
before permissions are requested
#10
Labels
bug
Something isn't working
Expected behavior
useDevices().camState
anduseDevices().micState
should be set to"pending"
or"unknown"
until device access is requested and granted.Describe the bug (unexpected behavior)
When a call is created with
startAudioOff
andstartVideoOff
set totrue
, then joined,useDevices().camState
anduseDevices().micState
return"granted"
even before device access is requested withcallObject.updateParticipant('local', { setVideo: true, setAudio: true })
.Steps to reproduce
Initialize the call with
startAudioOff
andstartVideoOff
set totrue
:Join the call:
Later (but before calling
callObject.updateParticipant
), run the following:System information
Additional context
I’m currently using the following as a workaround:
The text was updated successfully, but these errors were encountered: