Hi,
I am trying to implement iLBC as audio codec, but device.canProduce(‘audio’) return false.
I am using chrome 87, vp9 as video codec. but switch to opus is fine.
iLBC setting is
My Chromium Nightly doesn’t support it either and I don’t think you will save a lot of bandwidth comparing to Opus (which has 2 modes of operation internally depending on content).
Also by using something like iLBC (which is not mandatory to implement by browser) you’re cutting off users of other browsers that will not be able to hear anything if their browser doesn’t support it. Unless you have to interoperate with legacy systems that don’t understand Opus and want to avoid audio transcoding, don’t bother with anything else, seriously.
You can tweak bitrates, but generally Opus is a codec that should detect that you only really use voice and switch to a version of it that is more suitable:
The format has three different modes: speech, hybrid, and CELT. When compressing speech, SILK is used for audio frequencies up to 8 kHz. If wider bandwidth is desired, a hybrid mode uses CELT to encode the frequency range above 8 kHz. The third mode is pure-CELT, designed for general audio. SILK is inherently VBR and cannot hit a bitrate target, while CELT can always be encoded to any specific number of bytes, enabling hybrid and CELT mode when CBR is required.
Thanks @ibc , you are right, clock rate and bitrate are different. But I tried this morning to change bitrate for Opus in micproducer in mediasoup-demo, from
I am testing GitHub - edumeet/edumeet: Multiparty web-meetings using mediasoup and WebRTC, similar like mediasoup-demo, these days. It works fine in good network. but one of my friend told me that he was always forced to leave the meeting room when he wanted to speak. his network is a little slow, but never found problems to use zoom meeting room. So I think this maybe caused by too much audio bandwidth.
But this problem only happens when there are 11 testers join in the meeting room. I only invited him to join the meeting room, then he can speak with me normally and not forced to leave room.
I think I need to figure out why webrtc and socket.io is disconnected too.