Skip to content

Latest commit

 

History

History
287 lines (197 loc) · 7.97 KB

CHANGELOG.md

File metadata and controls

287 lines (197 loc) · 7.97 KB

4.5.2 (January 4, 2022)

Bug Fixes

  • Fixed a bug where audioLevel, frameRate, and captureDimensions WebRTC stats are returning null on certain browsers. With this release, these stats are now populated whenever they are available. (VIDEO-3600)

4.5.1 (September 1, 2021)

New Features

  • Enabled support for Chrome on iOS.

4.4.0 (June 15, 2021)

New Features

  • getStats() now reports the following additional metrics:
    • totalPacketSendDelay
    • totalEncodeTime
    • framesEncoded
    • framesDecoded
    • totalDecodeTime
    • estimatedPlayoutTimestamp
    • jitterBufferDelay
    • jitterBufferEmittedCount

4.3.3 (May 10, 2021)

Bug Fixes

  • Fixed a bug where loading @twilio/webrtc resulted in page errors on Firefox Galaxy S9 simulation mode. (VIDEO-4654)

4.3.2 (August 12, 2020)

Bug Fixes

  • Fixed a bug where getStats() returned stats for only one of the temporal layers of a VP8 simulcast MediaStreamTrack. (JSDK-2920)

4.3.1 (July 8, 2020)

Changes

  • Removed references to const in order to preserve es5 support. (JSDK-2913)

4.3.0 (June 5, 2020)

Changes

  • twilio-webrtc.js will no longer support Chrome and Firefox versions that support only the prefixed versions (webkit and moz) of getUserMedia and RTCPeerConnection. (JSDK-2832)

4.2.1 (May 27, 2020)

Bug Fixes

  • Fixed a bug where packetsLost and roundTripTime were reported inaccurately even though they were available in Chrome. (JSDK-2755, JSDK-2787, JSDK-2787)

4.2.0 (February 21, 2020)

New Features

  • twilio-webrtc.js will now export guessBrowserVersion, which detects the major and minor versions of the browser it is running on. (JSDK-2670)

Bug Fixes

  • Fixed a bug where guessBrowser was falsely detecting Chrome and Firefox on iOS as Safari. (JSDK-2670)

4.1.3 (December 10, 2019)

Bug Fixes

  • Fixed a bug where loading @twilio/webrtc resulted in page errors on firefox if media.peerconnection.enabled was set to false in about:config. (JSDK-2591)

4.1.2 (October 24, 2019)

Bug Fixes

  • Fixed a bug where ChromeRTCPeerConnection and SafariRTCPeerConnection did not restore the rolled back tracks to SSRCs Map when setLocalDescription() is called immediately after a rollback. (JSDK-2522)

4.1.1 (September 17, 2019)

Bug Fixes

  • Fixed a bug where ChromeRTCPeerConnection and SafariRTCPeerConnection did not properly update the SSRCs for MediaStreamTrack IDs in the local offer SDP after a rollback. (JSDK-2463)

4.1.0 (July 12, 2019)

New Features

  • ChromeRTCPeerConnection will now support Unified Plan SDPs in Chrome 72 and above. (JSDK-2312)

Bug Fixes

  • Fixed a bug where audioLevel returned by getStats() was not in the range [0-32767]. (JSDK-2303)

4.0.0 (March 15, 2019)

New Features

  • SafariRTCPeerConnection will now support Unified Plan SDPs in Safari 12.1 and above. (JSDK-2306)

Bug Fixes

  • Fixed a bug where getStats was throwing a TypeError in Electron 3.x. (JSDK-2267)
  • Fixed a bug where createOffer(), when called in Safari 12.2 created "offerToReceive" RTCRtpTransceivers even though the RTCPeerConnection already had "sendrecv" or "recvonly" RTCRtpTransceivers. (JSDK-2286)

3.2.0 (January 7, 2019)

New Features

  • getStats on Firefox will now consume the spec-compliant RTCIceCandidateStats available in versions 65 and above. (JSDK-2235)
  • getStats is now supported on Safari 12.1 and above. It is not supported on Safari 12.0 and below due to this Safari bug.
  • Added support for Unified Plan SDPs on Safari 12.1. (JSDK-2231)
  • Removed workaround for this Safari bug.
  • getStats on Chrome now uses the WebRTC 1.0 compliant version of the RTCPeerConnection's getStats API. (JSDK-2182)
  • Worked around the deprecation of the isRemote property in RTCInboundRTPStreamStats and RTCOutboundRTPStreamStats in Firefox. (JSDK-2222)

3.1.1 (November 29, 2018)

Bug Fixes

  • Fixed a bug in SafariRTCPeerConnection where remoteDescription, when accessed in an RTCTrackEvent listener returned pending remote description even though a new RTCSessionDescription had already been applied. (JSDK-2224)

3.1.0 (November 20, 2018)

New Features

  • Removed workaround for this Chrome bug. Now, we no longer suppress the RTCPeerConnection's native RTCTrackEvent.

3.0.0 (August 10, 2018)

Breaking Changes

  • In 2.0.0, calling removeTrack in Firefox or Safari didn't actually remove the RTCRtpSender. We did this because we found bugs in the browsers' removeTrack behavior; however, shielding applications from that behavior made it difficult to work around those bugs. For example, removeTrack works fine in Safari assuming you don't add back the same MediaStreamTrack. On this principle, we updated removeTrack to actually call removeTrack. (JSDK-1980)

2.1.2 (August 7, 2018)

Bug Fixes

2.1.1 (July 25, 2018)

Bug Fixes

  • Fixed a bug in the management of SSRCs in Chrome. (JSDK-2032)
  • Fixed getStats API deprecation warnings in Firefox. (JSDK-1227)

2.1.0 (July 3, 2018)

New Features

  • StandardizedStatsResponse has a new property .activeIceCandidatePair, which contains the normalized active ICE candidate pair statistics.
  • Added support for passing Chrome-specific constraints.

2.0.0 (January 9, 2018)

New Features

  • Added shims for the RTCRtpSender/RTCRtpReceiver based APIs. The legacy MediaStream based API shims have been removed. (JSDK-1631)

Bug Fixes

  • Previously, we were overwriting MediaStreamTrack IDs with the values signaled in the SDP's MSID attributes in order to maintain compatibility with pre-WebRTC 1.0 behavior. The particular method we used did not take into account the fact that the actual MediaStreamTrack IDs would continue to show in getStats results and has been removed.

1.1.0 (October 24, 2017)

New Features

  • Adds Chrome support for getting and setting maxPacketLifeTime on RTCDataChannels by remapping the legacy property maxRetransmitTime to maxPacketLifeTime. (JSDK-1572)

Bug Fixes

  • Fixed a bug where our getStats function returned StandardizedTrackStatsReports of the wrong kind in the members of StandardizedTrackStatsResponse. (JSKD-1605)

1.0.3 (October 13, 2017)

Bug Fixes

  • Fixed a bug where we created too many MediaStreams in Firefox (one per call to getLocalStreams and getRemoteStreams). (JSDK-1558)

1.0.2 (October 6, 2017)

Bug Fixes

  • Calling getUserMedia in browsers which do not support getUserMedia (such as iOS 8) would hang indefinitely. Now we reject with an error.

1.0.1 (September 12, 2017)

Bug Fixes

  • RTCSessionDescription properties are now read-only, and therefore standards-compliant. (JSDK-1503)

1.0.0 (August 17, 2017)

  • Factored out the WebRTC shims from twilio-video.js 1.2.0 into its own library.