I’m using WebSDK version 3.8.5. I’m getting this error intermittently when calling ZoomMtg.mediaCapturePermission
Error [TypeError]: Cannot read properties of undefined (reading 'caps')
at rn (https://source.zoom.us/3.8.5/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:1591322)
at https://source.zoom.us/3.8.5/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:470838
at te (https://source.zoom.us/3.8.5/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:446548)
at I.r.mediaCapturePermission (https://source.zoom.us/3.8.5/ui/zoomus-websdk-zoommtgMain.umd.min.js:2:470164)
Another post indicates this has been a problem for over a year (I can’t link to it here, but can search for the caps error), but it’s not clear what the cause is, possibly caused by the host not being in the meeting?
Can you clarify what the root cause is and also can we get this fixed in the sdk to throw a proper error with relevant information? For example, other errors are thrown that look like this:
{
method: 'mediaCapturePermission',
status: false,
errorCode: 1,
errorMessage: 'not support grant local record permissin',
result: null
}