grishka / libtgvoip

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

Don't work handle of changing default audio device for VoIP in Windows. #45

Closed aleus closed 6 years ago

aleus commented 6 years ago

Steps to reproduce in Telegram Desktop

  1. Change audio device from default;
  2. Call somebody and talk.

Expected behaviour

VoIP must to use default audio device.

Actual behaviour

VoIP use last installed audio device always. O

Configuration

Operating system: Windows 10 x64

Audio Devices: asus xonar essence stx m.stage HPA-3U⁺

Version of Telegram Desktop: 1.2.17

grishka commented 6 years ago

Could you please post a screenshot of the audio settings window after you change the default device?

aleus commented 6 years ago

Which settings? Telegram doesn't have audio settings.

grishka commented 6 years ago

The system settings window where you've changed the audio device.

aleus commented 6 years ago

image

grishka commented 6 years ago

This way you're changing the default playback device, but VoIP uses the default communication device. Right click on the speaker icon in the tray to access the extended settings and change the default communication device.

aleus commented 6 years ago

This? image Or this? image

grishka commented 6 years ago

On the playback tab you can right click devices to set them as either kind of default. Same goes for recording.

aleus commented 6 years ago

image I didn't know about it before. Thanks. It's work: feature, not bug. :)