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