Releases: shinyoshiaki/werift-webrtc
Releases · shinyoshiaki/werift-webrtc
v0.21.0 restartIce
Support for restartIce has been added.
https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/restartIce
You can reconnect to the network while maintaining the RTCPeerConnection session.
This is useful in scenarios such as:
- Temporary network disconnections
- Switching from Wi-Fi to a mobile network
For usage details, please refer to the sample code and other articles available on Google:
https://github.com/shinyoshiaki/werift-webrtc/blob/c4401dfa2943104992b4846ececddb814281f419/examples/ice/restart/offer.ts
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
}),
],
},
});