Skip to content

Commit

Permalink
Update faq.mdx
Browse files Browse the repository at this point in the history
Adding capture device issue FAQ
  • Loading branch information
Akashgoswami1 authored Oct 15, 2024
1 parent 4edd9b8 commit 35c6288
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/javascript/v2/how-to-guides/debugging/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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());
```

0 comments on commit 35c6288

Please sign in to comment.