diff --git a/docs/javascript/v2/how-to-guides/debugging/faq.mdx b/docs/javascript/v2/how-to-guides/debugging/faq.mdx index 6e85cff44..96c80c07a 100644 --- a/docs/javascript/v2/how-to-guides/debugging/faq.mdx +++ b/docs/javascript/v2/how-to-guides/debugging/faq.mdx @@ -240,3 +240,15 @@ const { HMSReactiveStore} = require('@100mslive/hms-video-store'); By implementing one of these workarounds, you should be able to resolve the TypeScript errors and continue using the libraries. +#### How to Address Video and Audio Issues with Capture Devices + +1. Check for Conflicting Applications: Ensure that no other applications are currently using your audio and video devices. If you find any, close them and restart your 100ms session. + +2. Manage getUserMedia Calls: If you're using the getUserMedia function, be sure to stop it before invoking the 100ms join method. + +``` + +const mediaStream = await navigator.mediaDevices.getUserMedia(constraints); +mediaStream.getTracks().forEach(track => track.stop()); + +```