I tried to search everywhere but I could not find if it is possible to use voice activity detection and volume threshold with mediasoup. I tried to detect it with AudioWorklet and trigger pause on stream but when producer is paused then stream stops and it is not possible to detect volume anymore. And if I use multiple streams (one for sending and second one for detection) then there is small delay for first couple of chunks which are not transfered after resume() call and audio is cut in the beginning. I need about 100 users connected and their data transfer must be paused when not needed in order to handle so many users via webRTC.
Is VAD supported or there is no way of pausing producer client side when there is silence?
Thanks for info.