This repository was archived by the owner on Mar 22, 2022. It is now read-only.
Commit 8bcd3e4
committed
Disable audio processing which deadlocks on UWP
Set audio buffer events to false, which disable audio processing
registration. The audio processing callbacks in UWP use
WebrtcObserver::Process() which defers the work to another thread and
blocks, while holding the audio capture or render lock. If that other
thread (e.g. UI thread) is blocking on the signaling thread to do some
audio property change, which in turn often need the audio capture or
render lock to actually apply those changes, the whole system deadlocks.
As there is currently no use for audio processing (not exposed), disable
it altogether.1 parent fa268d2 commit 8bcd3e4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments