amazon-chime-sdk-js
Advanced tools
Changelog
[3.9.0] - 2022-09-21
audioInputFailed
and videoInputFailed
if there is error getting device labels.DefaultVideoFrameProcessorPipeline
to clone audio tracks to the output MediaStream
instead of dropping them. This allows more straightforward usage of the pipeline on content sharing like file playback.Changelog
[3.8.0] - 2022-08-18
millisecondsPerSecond
to averageTimeSpentPerSecondInMilliseconds
.requiresPlaybackLatencyHintForAudioContext
to ExtendedBrowserBehavior
.MessagingSession
reconnect loop did not break on error past reconnect deadline. Infinite reconnect loop was caused due to firstConnectionAttemptTimestamp
not being set as startedConnectionAttempt
was not invoked. Check https://github.com/aws/amazon-chime-sdk-js/issues/2372 for details.MessagingSession
getMessagingSessionEndpoint
call is now backwards compatible with AWS JS SDK v2.latencyHint
when creating the AudioContext
on Windows. Also adds a setDefaultLatencyHint
API to DefaultDeviceController
to allow for overriding.Changelog
[3.7.0] - 2022-07-05
MessagingSession
to allow websocket connection for messaging service to select sort by for Prefetch.sendingAudioFailed
to indicate a failure in sending audio packets out and sendingAudioRecovered
to indicate recovery after a sendingAudioFailed
event.ConnectionHealthPolicy
named SendingAudioFailureConnectionHealthPolicy
to evaluate and trigger the above events. Also, added sendingAudioFailureSamplesToConsider
and sendingAudioFailureInitialWaitTimeMs
to ConnectionHealthPolicyConfiguration
fields for configuring the new health policy.consecutiveStatsWithNoAudioPacketsSent
in ConnectionHealthData
for evaluating the SendingAudioFailureConnectionHealthPolicy
.connectionHealthDidChange()
in MonitorTask
by creating a new applyHealthPolicy()
method to reduce redundancy in the health policy evaluation.SignalingAndMetricsConnectionMonitor
to update consecutiveStatsWithNoAudioPacketsSent
.connectionHealthData
on every connect (as opposed to doing it only when signalingClient
is not initialized). This allows us to honor the cool-down time in both SendingAudioFailureConnectionHealthPolicy
and UnusableAudioWarningConnectionHealthPolicy
in case when the connection is failing due to an error like "no ice candidates were gathered".AbortError
when turning video ON in Safari.MessagingSession
reconnects with refreshed endpoint and credentials if needed. EndpointUrl
on MessagingSessionConfiguration
is deprecated as it is resolved by calling getMessagingSessionEndpoint
internally.Changelog
[3.6.0] - 2022-06-23
enableSimulcastForContentShare
to enable simulcast for content share so that content share could be shown in network constrained clients. The lower quality layer has 300 kbps max bitrate, resolution scale factor of 2, and 5 max framerate.setVideoCodecSendPreferences
and setContentShareVideoCodecPreferences
to allow configuration of codec being used to send. See the JS SDK guide for more details.ServerSideNetworkAdaption.EnableBandwidthProbing
. See this section in the guide for more details.Changelog
[3.5.0] - 2022-06-02
googCpuOveruseDetection
and googCombinedAudioVideoBwe
which were being removed or were already no-opsprotobufjs
from 6.8.8 to 6.11.3.DOMBlobMock
to accommodate @types/node
changes.isChanged
flag as it breaks some old muting funtionality causing Amazon Voice Focus to stop working.MonitorTask
.audioVideo.stop()
is called before audioVideo.start()
.Changelog
[3.4.0] - 2022-05-24
MessagingSession
to allow websocket connection for messaging service to enable Prefetch feature.Changelog
[3.3.0] - 2022-05-12
startVideoInput(null)
and startAudioInput(null)
withstopVideoInput
and stopAudioInput
for video, audio test in meeting readiness checker to stop video, audio input.getRTCPeerConnectionStats
with metricsDidReceive
in meeting readiness checker.realtimeUnsubscribeFromVolumeIndicator
from causing a fatal error when there are no subscriptions for the attendeeId
.audioOutputDidChange
in audio mix controller to fix the issue where the audio output is not updated before meeting start.Changelog
[3.2.0] - 2022-04-27
VideoTileState
using unbindVideoElement
API to fix Safari memory leak. If you do not intend to clean the video element, call unbindVideoElement
API with cleanUpVideoElement
set to false
. Check PR#2217 for detailed information.