We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey I need help with adjusting gain value in my audio stream.
const audioContext = mergerState.getAudioContext(); // mergerState is an instance of VideoStreamMerger() const gainNode = audioContext.createGain(); mergerState.addStream(stream, { audioEffect: function (source, dest) { source.connect(gainNode) gainNode.connect(dest) } });
Then, I am calling the following line in a different function.
gainNode.gain.value = 1.5;
Setting gain value to 1.5 does not change stream's gain value in resulting stream.
Goal: I am trying to dynamically change the audio stream's gain value. Anyone else able to use gainNode on audioEffect?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey I need help with adjusting gain value in my audio stream.
Then, I am calling the following line in a different function.
Setting gain value to 1.5 does not change stream's gain value in resulting stream.
Goal: I am trying to dynamically change the audio stream's gain value. Anyone else able to use gainNode on audioEffect?
The text was updated successfully, but these errors were encountered: