Releases: shinyoshiaki/werift-webrtc
Releases · shinyoshiaki/werift-webrtc
BreakingChange
To improve compatibility with browsers, undefined candidates are now included in the payload of events such as peerConnection.onIceCandidate when ice gathering is completed.
v0.19.4
webrtc v0.19.0
Move nonstandard module to subpath.
When using subpath, set moduleResolution in tsconfig to node16 or nodenext
webrtc v0.18.6
- exclude all inactive descriptions from bundle answer #339
werift v0.17.0
v0.16.0
v0.15.9
Support Node v18.x
v0.15.6
Specify static PayloadType
const pc = new RTCPeerConnection({
codecs: {
audio: [
new RTCRtpCodecParameters({
mimeType: "PCMU",
clockRate: 8000,
channels: 1,
payloadType: 0
}),
],
},
});
BundlePolicy
How to specify BundlePolicy
const pc = new RTCPeerConnection({
bundlePolicy: "disable" or "max-compat" or "max-bundle",
});
Default value is max-compat