grishka / libtgvoip

VoIP library for Telegram clients
The Unlicense
387 stars 156 forks source link

Feature request: Support push-to-talk in voice chat #38

Closed audreytoskin closed 6 years ago

audreytoskin commented 6 years ago

(repost of my original request on https://github.com/telegramdesktop/tdesktop/issues/4175)

It'd be cool if Telegram supported a push-to-talk function for its voice chat: Instead of always transmitting audio, Telegram would only transmit while I'm holding a (configurable) key on my keyboard, and/or a button on the interface. Ideally, the key would still work even if the Telegram client doesn't currently have focus.

Push-to-talk is most commonly associated with voice chat applications geared toward gamers, but I actually find apps like Mumble useful for any sort of voice-chat context, because its push-to-talk feature minimizes any possible background noises or side talk the other person has to listen to.

grishka commented 6 years ago

If you want to just toggle your microphone on/off with a keyboard shortcut, it's more appropriate to request that from tdesktop. The library is more low-level than that and doesn't handle any UI or keyboard input directly.

audreytoskin commented 6 years ago

That's what I would have thought, but @stek29 said to repost here.

stek29 commented 6 years ago

Lol I haven't thought about turning microphone on and off, sorry :\