Skip to content

Releases: shinyoshiaki/werift-webrtc

v0.22.4

28 Jan 04:39

Choose a tag to compare

Fix missing 'fast-deep-equal' package in dependencies

v0.22.3

25 Jan 03:55
6e1937e

Choose a tag to compare

Changelog

v0.22.3

🚀 Features & Improvements

  • WebM/VINT: Implement VINT encoding/decoding functions and add tests
  • Transport: Add closed property to transport classes and improve close methods
  • Exports: Export stats module from media/index.ts
  • Performance/Refactor:
    • Remove lodash dependency (replaced with native functions or lighter alternatives)
    • Remove nano-time, date-fns, uuid dependencies
    • Use structuredClone instead of lodash/cloneDeep
    • Replace lodash/isEqual with fast-deep-equal

🐛 Bug Fixes

  • Circular Dependencies: Fix circular reference/imports in RtcpTransportLayerFeedback and RtcpPacketConverter
  • Connection: Various connection state fixes per RFC
  • DataChannel: Fix issues with reconfig stream on fast data channel close
  • Bundle: Use bundle for addTransceiver in bundle max-compat if remote is bundled
  • Typing: Fix uuid typing

📦 Dependency Updates

  • Bump undici, express, zx, vite, axios, form-data and others in examples/e2e.

Emergency update about Chrome 132

08 Feb 16:28

Choose a tag to compare

Due to a change in the DTLS packet structure in Chrome 132, connections fail when Werift is the answerer and Chrome is the offerer.

https://issues.chromium.org/issues/391917951?pli=1

I added support for Multiple Handshake Messages, the problem went away

v0.21.0 restartIce

05 Jan 02:19

Choose a tag to compare

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

20 Sep 10:33

Choose a tag to compare

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

01 Aug 03:32

Choose a tag to compare

webrtc v0.19.0

31 Dec 09:18

Choose a tag to compare

Move nonstandard module to subpath.
When using subpath, set moduleResolution in tsconfig to node16 or nodenext

webrtc v0.18.6

16 Sep 09:31

Choose a tag to compare

  • exclude all inactive descriptions from bundle answer #339

werift v0.17.0

28 Oct 10:01

Choose a tag to compare

  • improve recording implementation #259
  • Fix GenericNack serialization #261
  • bundled media should use any available iceParams from any other bundled media sections #264
  • add support for stop/remove tracks. #250
  • replace rtp option to signal the stream contains a discontunity #267

v0.16.0

26 Sep 15:40

Choose a tag to compare

  • renegotiation should reset the sequence numbers to 0 #255
  • Add function to filter STUN responses #257
  • Add iceUseIpv4/6 config to RTCPeerConnection #252
  • Allow use of specific network interface #249
  • Feature/improve reco #259
    • rewrite RTP processor
    • Added MediaRecorder option