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

Telegram opens camera devices /dev/video* every time I open or close a chat #28733

Open
gentoo-root opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@gentoo-root
Copy link

Steps to reproduce

  1. Run inotifywait -qm /dev/video* when Telegram is running.
  2. Click on any chat, or press Esc to close the chat if one is already open.

Expected behaviour

There should be no output from inotifywait, because there is no need for Telegram to use my camera if I just open or close a chat.

Actual behaviour

inotifywait prints the following to stdout, notifying that all my cameras have been opened at least twice:

/dev/video0 OPEN 
/dev/video0 CLOSE_NOWRITE,CLOSE 
/dev/video1 OPEN 
/dev/video1 CLOSE_NOWRITE,CLOSE 
/dev/video2 OPEN 
/dev/video2 CLOSE_NOWRITE,CLOSE 
/dev/video3 OPEN 
/dev/video3 CLOSE_NOWRITE,CLOSE 
/dev/video4 OPEN 
/dev/video4 CLOSE_NOWRITE,CLOSE 
/dev/video5 OPEN 
/dev/video5 CLOSE_NOWRITE,CLOSE 
/dev/video0 OPEN 
/dev/video0 CLOSE_NOWRITE,CLOSE 
/dev/video0 OPEN 
/dev/video0 CLOSE_NOWRITE,CLOSE 
/dev/video1 OPEN 
/dev/video1 CLOSE_NOWRITE,CLOSE 
/dev/video2 OPEN 
/dev/video2 CLOSE_NOWRITE,CLOSE 
/dev/video0 OPEN 
/dev/video0 CLOSE_NOWRITE,CLOSE 
/dev/video1 OPEN 
/dev/video1 CLOSE_NOWRITE,CLOSE 
/dev/video2 OPEN 
/dev/video2 CLOSE_NOWRITE,CLOSE 
/dev/video3 OPEN 
/dev/video3 CLOSE_NOWRITE,CLOSE 
/dev/video4 OPEN 
/dev/video4 CLOSE_NOWRITE,CLOSE

Because of this, my Logitech Litra Glow lamp, controlled by litra-rs auto-toggle, blinks for a split second every time I switch between chats in Telegram.

Operating system

Arch Linux, GNOME 47, Wayland

Version of Telegram Desktop

5.8.3

Installation source

Flatpak

Crash ID

No response

Logs

No response

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

No branches or pull requests

1 participant