webRTC: How to tell Opus codec to use super wide band/full band
问题 I am working on a webRTC web application which works wonderfully so far. What I have not figured out yet is how to tell the Opus codec to (force) use "full band", for example. Setting the codec up for 510 kHz bit rate is easy: desc.sdp=desc.sdp.replace(/a=mid:audio\r\n/g,'a=mid:audio\r\nb=AS:510\r\n'); But is there a way to tell Opus which band to use? 回答1: Specifying the band is not that bad. With opus, you just specify the MAX rate capabilities and let it run from there. By default OPUS