Skip to content

Latest commit

 

History

History
622 lines (346 loc) · 54.5 KB

CHANGELOG.md

File metadata and controls

622 lines (346 loc) · 54.5 KB

@signalwire/webrtc

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

[3.12.1] - 2024-06-03

Added

Fixed

Dependencies

[3.12.0] - 2024-04-17

Added

  • #932 6b0f8227 Thanks @iAmmar7! - Allow users to pass the optional disableUdpIceServers boolean flag with a value of true to remove the URLs of UDP transport ICE servers.

    Default value for disableUdpIceServers is false

    Call Fabric SDK:

    import { SignalWire } from '@signalwire/js'
    
    const client = await SignalWire({
       host: ...,
       token: ...,
       rootElement: ...,
       disableUdpIceServers: true|false, // default is false
    })

    Video SDK:

    import { Video } from '@signalwire/js'
    
    const roomSession = new Video.RoomSession({
       host: ...,
       token: ...,
       rootElement: ...,
       disableUdpIceServers: true|false, // default is false
    })

Fixed

[3.11.0] - 2023-11-23

Added

Fixed

[3.10.4] - 2023-11-07

Dependencies

[3.10.3] - 2023-09-14

Changed

  • #853 5e1ff117 - Enhance shared function between realtime and browser SDK

  • #853 5e1ff117 - Introduce the session emitter and eliminate the global emitter

  • #853 5e1ff117 - Eliminate the multicast pubsub channel

  • #853 5e1ff117 - Cleanup the SDK by removing eventsPrefix from the namespaces

  • #853 5e1ff117 - Cleanup the SDK by removing applyEmitterTransform

  • #853 5e1ff117 - Cleanup the global emitter

  • #853 5e1ff117 - Remove event emitter transform pipeline from browser SDK

  • #865 6c435be2 - Expose destroy event for inbound calls in Call Fabric to handle cases where the caller cancel the dial before the callee answers.

  • #876 e5db0ef9 - Bump supported node version to at least 16

Dependencies

[3.10.2] - 2023-08-17

Dependencies

[3.10.1] - 2023-08-08

Dependencies

[3.10.0] - 2023-07-26

Added

Changed

  • #837 2a2049ba - Include subscribe in the answer for auto-subscribe events.

Dependencies

[3.9.0] - 2023-07-19

Added

  • #822 65b0eea5 - Initial changes to setup a SignalWire client.

Fixed

  • #830 b9283059 - Make updateConstraints() more resilient trying to stop the current MediaStream in case of NotReadableError.

  • #831 f03e60a3 - Bugfix: make sure there is a valid RTCPeerConnection instance before hangup.

Dependencies

[3.8.0] - 2023-07-07

Added

  • #805 e8141c0e - Events to keep track of the connected devices status

Changed

Dependencies

[3.7.0] - 2023-06-21

Added

Changed

  • #811 f3711f17 - Improve reconnection under bad network conditions.

Dependencies

[3.6.3] - 2023-05-22

Dependencies

[3.6.2] - 2023-03-24

Fixed

Dependencies

[3.6.1] - 2023-03-22

Changed

  • #661 ef18e7ef - Internal changes to keep the member_id stable across promote/demote.

  • #738 ba39c819 - Remove executeActionWatcher and related functions

  • #664 bc56cc42 - Add worker to handle promoted/demoted events and trigger the proper renegotiation.

Fixed

  • #664 bc56cc42 - Fix check for media to enable on promotion process.

Dependencies

[3.6.0] - 2023-03-07

Changed

  • #747 95325ec9 - Changes to support connecting using SAT and join a video room.

  • #729 41482813 - Allow WebRTC connection to reconnect after a network change or temporary blip.

  • #734 90d9776a - Ignore a remote SDP if it is the same of the current remoteDescription one.

  • #743 4728ee55 - Remove .local candidates from SDP Offer.

Dependencies

[3.5.9] - 2022-11-23

Changed

  • #667 bf68ad40 - Enable version in BaseConnection dialogParams.
  • #686 c82e6576 - Review internals to always reconnect the SDKs expect for when the user disconnects the clients.

Dependencies

[3.5.8] - 2022-10-06

Fixed

  • #659 64e13ec6 - Fix updateCamera and updateMicrophone logic to apply changes on the localStream.

Dependencies

[3.5.7] - 2022-09-21

Changed

  • #643 1d2fd5f8 - Update RTCPeer to support environments where Unified-Plan and all the related RTC apis are not supported yet.
  • #631 c00b343e - Allow RTC connection with sendonly direction.

  • #650 39ff2060 - Use default audio constraints if true is passed.

  • #645 c76d6387 - Internal changes to run the roomSubscribed worker only for the main connection.

Dependencies

[3.5.6] - 2022-08-17

Changed

  • #594 819a6772 - Refactoring to allow multiple RTCPeer instances on a BaseConnection.
  • #606 999b2526 - Fix typing issue with internal Authorization state.
  • #594 819a6772 - Internal: migrate roomSubscribed event handling to a custom worker.

Dependencies

[3.5.5]- 2022-07-27

Changed

  • #593 6b4ad46d - Review webrtc folder structure and import order to fix a circular dependency between modules.

Fixed

  • #592 6d1c26ea - Set a timeout for getUserMedia only if the permissions have already been granted.

Dependencies

[3.5.4]- 2022-07-14

Changed

  • #587 4300716e - Enable pingSupported by default for all WebRTC Connections.
  • #588 bbc21e43 - Internal changes on how BaseConnection retrieves and handle local state properties.

Dependencies

[3.5.3]- 2022-06-24

Patch Changes

  • #574 4e35e0ac - Fix issue with missing constructors on react-native.
  • #576 43b29191 - [internal] Read pingSupported option to trigger ping/pong for the rtc connection.
  • #552 b168fc4f - Add support for internal ping/pong at the signaling level.
  • #557 f15032f1 - [internal] Add ability to update the media options.

Dependencies

[3.5.2]- 2022-06-10

Dependencies

[3.5.1] - 2022-06-01

Fixed

  • #545 78d1aea6 - Accept requesting as valid state when we need to send again the offer on a different node (redirect destination).

Dependencies

[3.5.0] - 2022-05-19

Deprecated

  • #527 d42824a0 - Deprecate getDevicesWithPermissions and promote getDevices to check for permissions to always return a valid/useful device list with deviceId and label.

Changed

  • #526 01c33de9 - Add timeout on getUserMedia requests and reject in case of no response from the browser.

Fixed

  • #510 ad62b818 - Check for audioContext.state before closing it.
  • #520 2c3145b7 - Fix getDevicesWithPermissions for Firefox.

Dependencies

[3.4.2] - 2022-04-01

Dependencies

[3.4.1] - 2022-03-25

Added

  • #418 a8036381 - Add ability to reinvite media on the BaseConnection.

  • #401 46600032 - Add layout and positions when starting a screenShare.

Fixed

Dependencies

[3.4.0] - 2022-03-02

Added

  • #433 dabaafe9 - Add createMicrophoneAnalyzer helper for testing the microphone.

Changed

  • #446 0edfa63b - Fix typings for createMicrophoneAnalyzer to make it return Promise<MicrophoneAnalyzer>.

Fixed

  • #442 f1fca94d - Fix to properly handle switching between microphones on Firefox.

Dependencies

[3.3.1] - 2022-02-04

Fixed

  • #410 d2ef4270 - Read iceServers on RTCPeer setup to avoid race conditions.

Dependencies

[3.3.0] - 2022-01-11

Added

  • #394 03e5d42 - Expose previewUrl getter to internal BaseConnection object.

Dependencies

[3.2.0] - 2021-12-16

Added

  • #371 499f62a - Handle the redirectDestination case where the SDK should resend the invite to a specific node.

Dependencies

[3.1.6] - 2021-11-02

Fixed

  • #347 2360ef7 - Fix issue with connection not being able to stablish when video/audio permissions were not granted.

  • #349 a1bc095 - Fix issue when using multiple createDeviceWatcher at the same time.

Dependencies

[3.1.5] - 2021-10-12

Dependencies

[3.1.4] - 2021-10-06

Fixed

  • #322 da9909e - Fix error handling for the RoomSession .join() method allowing users to catch the proper error.

Dependencies

[3.1.3] - 2021-09-15

Dependencies

[3.1.2] - 2021-09-09

Added

  • #261 9dd7dbb - Include all the video.recording events for the BaseConnection subscribe.
  • #257 7380582 - Added documentation for the exposed WebRTC methods.

Dependencies

[3.1.1] - 2021-08-27

Fixed

  • #244 c270247 - Validate targets passed to the createDeviceWatcher() WebRTC helper method.

Dependencies

[3.1.0] - 2021-08-13

Added

  • #236 b967c89 - Apply audio and video constraints sent from the backend consuming the mediaParams event.
  • #240 b5d2a72 - Allow speakerId to be set when creating a room object to set the audio output device before join.
  • #239 5c2eb71 - Exports methods to check if the environment supports getUserMedia or getDisplayMedia.

Dependencies

[3.0.0] - 2021-08-09

Added

  • #187 9ee753d - Expose updateCamera and updateMicrophone methods to switch devices while connected to a Room

Changed

  • #188 efe9bd8 - Move Room to js package

  • #152 a5ef49a - Expose "member.talking" event

  • #161 22b61d3 - Rename some internal objects and review the public exports

  • #188 5b5c454 - Change signature for setMediaElementSinkId to match the return type present in browsers.

  • #148 0eeca38 - Review exported methods and interfaces.

  • #228 2aa7ff0 - Allow react-native builds to consume getDisplayMedia to start screenShare. Feature detection for methods on the RTCPeer.

Fixed

  • #223 d017a99 - Update the filtering logic for the device list where Firefox could return a device with deviceId but with empty label.

  • #214 ec49478 - Included commonjs versions into js and webrtc packages

  • #221 9ebadd6 - Fix: set internal nodeId for BaseConnection objects

Dependencies

3.0.0-beta.4

Patch Changes

  • ec49478: Included commonjs versions into js and webrtc packages
  • Updated dependencies [ec49478]

3.0.0-beta.3

Patch Changes

3.0.0-beta.2

Patch Changes

  • efe9bd8: Move Room to js package
  • 8bb4e76: Split Room objects into Room, RoomDevice and RoomScreenShare with specific methods for each use case.
  • acf8082: Expose addMicrophone, addCamera and addDevice methods to stream from additional devices in a room.
  • f6b8b10: Encapsulate each EventEmitter using a unique id as the namespace.
  • 9ee753d: Expose updateCamera and updateMicrophone methods to switch devices while connected to a Room.
  • 5b5c454: Change signature for setMediaElementSinkId to match the return type present in browsers.
  • Updated dependencies [efe9bd8]

3.0.0-beta.1

Patch Changes

  • 399d213: Expose createScreenShareObject() method to share the screen in a room
  • a5ef49a: Expose "member.talking" event
  • 22b61d3: Rename some internal objects and review the public exports
  • 0eeca38: Review exported methods and interfaces
  • Updated dependencies [703ee44]

3.0.0-beta.0

Major Changes

  • fe0fe0a: Initial beta release of SignalWire JS SDK

Patch Changes