mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +00:00
Prevent echo
This commit is contained in:
parent
e5c4a87a4f
commit
efb664beb7
@ -778,6 +778,9 @@ class CallWindow extends CustomEvents {
|
||||
const gain_node = audioContext.createGain();
|
||||
gain_node.connect(audioContext.destination);
|
||||
|
||||
// Prevent echo
|
||||
gain_node.disconnect(0)
|
||||
|
||||
const script_processor_analysis_node = audioContext.createScriptProcessor(2048, 1, 1);
|
||||
script_processor_analysis_node.connect(gain_node);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user