Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific Error Message If Camera or Mic is being Used by Other Application #4368

Open
rahul7827 opened this issue Aug 25, 2022 · 0 comments
Open

Comments

@rahul7827
Copy link

Short description

  • I was having microphone issue during the community hour so I am posting the issue here.

Scenario

I am teacher and at the same time I have to take online class on two websites. I have two camera device plugged into my system (both device are mic inbuilt).

Step 1. I opened the first website and started streaming for my class. [System automatically chooses the default device (camera/microphone)]. Lets say "camera 1" and "Microphone 1" automatically selected during starting my stream.

Step2. I opened second website and that site also trying to choose the same device (camera 1, microphone 1). In this case an error occurs as defined in javascript SDK.

Error : Camera or Mic is being used by some other process that does not not allow these devices to be read.

At this time I am confused that should I change the camera/microphone (In my application feature is to change camera/microphone). since the error is not specific.

Environment

  • Ant Media Server version 2.4.3

Expected behavior

Solution 1: Either system should automatically select the camera/microphone (if available) which is not in use.
Solution 2: Can generate message like (Camera 1 OR Microphone 1) is already in use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant