amazon-chime-sdk-js
Advanced tools
Changelog
[3.1.0] - 2022-04-07
audioUpstreamRoundTripTimeMs
, audioUpstreamJitterMs
, and audioDownstreamJitterMs
to observableMetricSpec
.videoUpstreamRoundTripTimeMs
, videoUpstreamJitterMs
, and videoDownstreamJitterMs
, and videoDownstreamDelayMs
to observableVideoMetricSpec
.stopLocalVideoTile
. This was added as a workaround to prevent crash in old Safari versions but no longer needed.MediaStreamBrokerObserver
in AudioVideoController
at the end of every connection and disconnection to avoid trying to replace local audio and video during connection.getMediaType
method to check the property kind
instead of mediaType
of a RawMetricReport
.Fixed state not being reset if an AudioVideoController
is reused after stop
.
Fix a bug that remote-inbound-rtp
RTCStatsReport
and remote-outbound-rtp
RTCStatsReport
of "video" kind
are accidentally filtered.
Fix the incorrect calculation of aggregation WebRTC metric spec (audioSpeakerDelayMs
, decoderLoss
).
Changelog
[3.0.0] - 2022-03-30
Amazon Chime SDK for JavaScript v3 is here !! 🎉🎉🎉
Amazon Chime SDK for JavaScript v3 includes major improvements for device management, WebRTC metrics, and the messaging session.
Below is a list of all changes in the Chime SDK for JavaScript v3. Please refer to the Migraton guide from v2 to v3 for more information.
rtcStatsReport
property to ClientMetricReport
to store raw RTCStatsReport
and expose it via metricsDidReceive
event.getStats
API call in DefaultStatsCollector
. This API was previously used to obtain WebRTC metrics only for Chromium-based browsers. Now SDK obtains WebRTC metrics for all browsers via standardized (promise-based) getStats
API.videoSendHealthDidChange
, videoSendBandwidthDidChange
, videoNotReceivingEnoughData
, and videoReceiveBandwidthDidChange
. Use metricsDidReceive
to obtain metrics instead.estimatedDownlinkBandwidthLessThanRequired
.StatsCollector
interface.ClientMetricReport
interface.DefaultStatsCollector
to StatsCollector
.DefaultClientMetricReport
to ClientMetricReport
.chooseAudioInputDevice
to explicit APIs startAudioInput
and stopAudioInput
. Application will need to
call stopVideoInput
at the end of the call to explicitly stop active audio stream.chooseVideoInputDevice
to explicit APIs startVideoInput
and stopVideoInput
. Application will need to
call stopVideoInput
now to explicitly stop active video stream.chooseAudioOutputDevice
to chooseAudioOutput
.startVideoPreviewForVideoInput
and stopVideoPreviewForVideoInput
will no longer turn on and off video stream.
This allows applications to join meeting without reselecting video again.chooseVideoInputQuality
as it is not related to device. Applications can
set video max bandwidth kbps from audioVideo.setVideoMaxBandwidthKbps
.DeviceController
interface to include Destroyable
MeetingSessionPOSTLogger
to POSTLogger
.POSTLogger
to implement the Logger
interface.MeetingSessionConfiguration
dependency from MeetingSessionPOSTLogger
.
Builders need to add metadata
to POSTLogger
if they want to include information such as appName
, meetingId
and so on with the HTTP POST request made by POSTLogger
when sending logs to builder provided URL.
Please check 3.0 migration guide for more information.EventController
from AudioVideo
and MeetingSession
.Changelog
[3.0.0-beta.1] - 2022-02-23
rtcStatsReport
property to DefaultClientMetricReport
to store raw RTCStatsReport
and expose it via metricsDidReceive
event.getStats
API call in DefaultStatsCollector
. This API was previously used to obtain WebRTC metrics only for Chromium-based browsers. Now SDK obtains WebRTC metrics for all browsers via standardized (promise-based) getStats
API.browserBehavior
from the constructor of DefaultStatsCollector
.resolveSpec
and resolveOptions
in BackgroundBlurVideoFrameProcessor and BackgroundReplacementVideoFrameProcessor to clone parameter objects.chooseRemoteVideoSources
API in VideoPriorityBasedPolicy
to avoid mutation that can cause video preferences to not be sorted and lead to wrong video subscription determination by the policy.Changelog
[3.0.0-beta.0] - 2022-02-08
EventController
from AudioVideo
and MeetingSession
.BackgroundBlurProcessor
and BackgroundReplacementProcessor
.Changelog
[2.27.0] - 2022-01-27
VideoPriorityBasedPolicyConfig
to be dependent on bandwidth fluctuation so that VideoPriorityBasedPolicy
will not drop/resume video instantly when network bandwidth changes. (#1921).VideoPriorityBasedPolicy
to not get stuck at low estimates, not overeact to spurious packet loss when probing, and not let the time between probes raise to 60 seconds (reduced to maximum of 30 seconds).Changelog
[2.26.0] - 2022-01-14
SimulcastUplinkObserver.encodingSimulcastLayersDidChange
(not AudioVideoObserver.encodingSimulcastLayersDidChange
) synchronous.RTCRtpTransceiver.stop
when possible and may fix other incorrect tile bugs.MonitorTask
and ReceiveVideoStreamIndexTask
to avoid modifying mutable state mid-subscribe.