IsmaelMartinez / teams-for-linux

Unofficial Microsoft Teams for Linux client
GNU General Public License v3.0
2.77k stars 229 forks source link

"No available camera found" error after upgrade to 0.7.0 (snap and deb) #267

Closed creativecomposer closed 5 years ago

creativecomposer commented 5 years ago

Describe the bug In chat or while attending a scheduled meeting, the video camera icon appears that allows the user to either enable or disable video. After I upgraded to 0.7.0 release using either snap or deb, this icon is disabled all the time. However, if I use the 0.7.0 AppImage, then the camera is enabled. So I believe something is broken in teams-for-linux snap and deb versions.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade to version 0.7.0 using either snap or deb package.
  2. Open "Microsoft Teams for Linux".
  3. Start a chat with someone.
  4. Notice the video camera icon at the top right is disabled all the time.

Expected behavior The video camera icon should be enabled, so that the user can start a video call.

Screenshots image

Desktop (please complete the following information):

KPS-MWT commented 5 years ago

Can you give details about your hardware (camera or laptop) and verify it works in antoher application (e.g. cheese on Gnome or similar)?

creativecomposer commented 5 years ago

Hardware: Lenovo Thinkpad T480. I have an additional USB Logitech webcam as well.

As mentioned in the ticket, the camera does not work only when I install teams-for-linux from either snap or deb packages. Camera is recognized and works fine when I use the teams-for-linux AppImage binary.

Yes, the camera works fine in another app or browser such as Chrome.

Could it be that snap and deb packages are missing some setting or file?

IsmaelMartinez commented 5 years ago

Hi @antony2025 , in snap you need to install the camera. There is also a wee annoyance when you start the app directly in a chat. (Sometimes it doesn't trigger the hacks) moving to a group chat and then back to the one2one should just work as it normally does. I have only seen that on initial loads.

IsmaelMartinez commented 5 years ago

And thanks @KPS-MWT for helping!! I do really appreciate.

creativecomposer commented 5 years ago

@IsmaelMartinez thank you for the answer. I will close the ticket.

jmurrayrs commented 5 years ago

Hi @antony2025 , in snap you need to install the camera. There is also a wee annoyance when you start the app directly in a chat. (Sometimes it doesn't trigger the hacks) moving to a group chat and then back to the one2one should just work as it normally does. I have only seen that on initial loads

Hello, How can I install the camera correctly? I've googled and I found this command:

sudo snap install instagraph
sudo snap connect instagraph:camera :camera

After it, I needed to configure permissions on Ubuntu to use the Camera. In software center, on Ubuntu, I looked for Teams. Clicking in Permissions, I got to enable the camera...

Captura de tela de 2019-09-11 11-25-58

Could you help me? Exists another way to do this?

Thanks

IsmaelMartinez commented 5 years ago

Open a different ticket with that issue. It looks like system configuration if not even snap can see it. Can you use your webcam with another apps? Again, open a different ticket as they do not relate.

On Wed, Sep 11, 2019 at 3:42 PM jmurrayrs notifications@github.com wrote:

Hi @antony2025 https://github.com/antony2025 , in snap you need to install the camera. There is also a wee annoyance when you start the app directly in a chat. (Sometimes it doesn't trigger the hacks) moving to a group chat and then back to the one2one should just work as it normally does. I have only seen that on initial loads

Hello, How can I install the camera correctly? I've googled and I found this command:

sudo snap install instagraph sudo snap connect instagraph:camera :camera

After it, I needed to configure permissions on Ubuntu to use the Camera. In software center, on Ubuntu, I looked for Teams. Clicking in Permissions, I got to enable the camera...

[image: Captura de tela de 2019-09-11 11-25-58] https://user-images.githubusercontent.com/4536254/64707138-f609f800-d488-11e9-9871-2190e3d36737.png

Could you help me? Exists other way to do this?

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IsmaelMartinez/teams-for-linux/issues/267?email_source=notifications&email_token=AADJHEF5CZ2O5YITFJ36CALQJD7T7A5CNFSM4IQ7R7O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6OXJFQ#issuecomment-530412694, or mute the thread https://github.com/notifications/unsubscribe-auth/AADJHEDPDOOSFLPFTMBXWUDQJD7T7ANCNFSM4IQ7R7OQ .