Specify static PayloadType
const pc = new RTCPeerConnection({
codecs: {
audio: [
new RTCRtpCodecParameters({
mimeType: "PCMU",
clockRate: 8000,
channels: 1,
payloadType: 0
}),
],
},
});