Sơn IT New Member Sep 24, 2021 #1 Hello. I have a question . my app can adjust the volume microphone when publishing the stream. If OK, then how ? Thanks
Hello. I have a question . my app can adjust the volume microphone when publishing the stream. If OK, then how ? Thanks
Max Administrator Staff member Sep 24, 2021 #2 Good day. You can adjust microphone gain as shown in this example: Code: $("#micGainControl").slider({ range: "min", min: 0, max: 100, value: currentGainValue, step: 10, animate: true, slide: function (event, ui) { currentGainValue = ui.value; if(publishStream) { publishStream.setMicrophoneGain(currentGainValue); } } });
Good day. You can adjust microphone gain as shown in this example: Code: $("#micGainControl").slider({ range: "min", min: 0, max: 100, value: currentGainValue, step: 10, animate: true, slide: function (event, ui) { currentGainValue = ui.value; if(publishStream) { publishStream.setMicrophoneGain(currentGainValue); } } });