Error reading 'caps' when joining meeting

Hi @andrew.hsu1, this is similar to a known Web SDK issue where the local-recording permission path throws “reading ‘caps’” when the host isn’t present yet or meeting metadata isn’t ready - see Error in mediaCapturePermission API: TypeError: reading ‘caps’.

If the error is consistent, it’s typically because the meeting allows join-before-host and the bot joined first; the permission request needs the host in the meeting to resolve, otherwise this exception is raised (documented in that thread’s accepted answer).

If you aren’t doing recording, skip the recording-permission helpers because the Web Meeting SDK does not support local recording.

If you do need the compliance prompt, only call mediaCapturePermission after you’re fully in-meeting and the host is present, and guard for undefined state before reading capability fields.

2 Likes