Nheko-Reborn / nheko

Desktop client for Matrix using Qt and C++20.
https://nheko-reborn.github.io/
GNU General Public License v3.0
1.92k stars 201 forks source link

Implement Push-To-Talk (PTT) #1035

Open JoshuaFern opened 2 years ago

JoshuaFern commented 2 years ago

The Problem

As far as I know, no Matrix client currently implements this basic feature common in almost all voice chat applications.

The Solution

A basic push-to-talk system that can be toggled on and off, with a selectable hotkey.

Alternatives

No response

Additional context

No response

Happens in the latest version

deepbluev7 commented 2 years ago

I am not too familiar with PTT, is that a system global hotkey or does that only work, when the application is focused?

JoshuaFern commented 2 years ago

I am not too familiar with PTT, is that a system global hotkey or does that only work, when the application is focused?

Generally it's a global hotkey, and that is desirable. The only instance I can think of where the window must be focused is Discord in a browser due to the limitations of being a website.

deepbluev7 commented 2 years ago

Hm, that might be difficult to do on some platforms, but we can try.

LorenDB commented 2 years ago

This could be useful: https://skycoder42.github.io/QHotkey/