desktop-app / lib_webrtc

WebRTC helper library.
18 stars 4 forks source link

In calling, plug in the headphones, and the sound output did not auto switch #9

Open chifandeyu opened 2 years ago

chifandeyu commented 2 years ago

The windows 10 laptop is calling, plugged in earphone, the sound output is still a speaker, the earphone have no sound.

Predelnik commented 1 year ago

If open-al soft fork is updated, should not be hard to implement after: https://github.com/kcat/openal-soft/commit/517bb94c0953de768f6aacca45456fd63bb2c96d In reaction to ALC_EVENT_TYPE_DEFAULT_DEVICE_CHANGED_SOFT in alcEventCallbackSOFT, need to execute alcReopenDeviceSOFT

Edit: I guess the problem is that it would be available only in 1.24 version of openal which is yet to be released