Skip to content

Commit

Permalink
Improve reconnection behavior on signaling disconnection mid-meeting
Browse files Browse the repository at this point in the history
  • Loading branch information
hensmi-amazon committed Dec 30, 2024
1 parent 9a5de7b commit 86d15a3
Show file tree
Hide file tree
Showing 18 changed files with 3,663 additions and 3,600 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Improve reconnection behavior on signaling disconnection mid-meeting

### Fixed

## [3.26.0] - 2024-10-07
Expand Down
6,712 changes: 3,354 additions & 3,358 deletions docs/assets/js/search.js

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion docs/classes/audiovideocontrollerstate.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ <h3>Properties</h3>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="audiovideocontrollerstate.html#icegatheringdurationms" class="tsd-kind-icon">ice<wbr>Gathering<wbr>Duration<wbr>Ms</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="audiovideocontrollerstate.html#icegatheringstateeventhandler" class="tsd-kind-icon">ice<wbr>Gathering<wbr>State<wbr>Event<wbr>Handler</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="audiovideocontrollerstate.html#indexframe" class="tsd-kind-icon">index<wbr>Frame</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="audiovideocontrollerstate.html#issessionconnected" class="tsd-kind-icon">is<wbr>Session<wbr>Connected</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="audiovideocontrollerstate.html#lastknownvideoavailability" class="tsd-kind-icon">last<wbr>Known<wbr>Video<wbr>Availability</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="audiovideocontrollerstate.html#lastvideosubscriptionconfiguration" class="tsd-kind-icon">last<wbr>Video<wbr>Subscription<wbr>Configuration</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="audiovideocontrollerstate.html#lastvideostoreceive" class="tsd-kind-icon">last<wbr>Videos<wbr>ToReceive</a></li>
Expand Down Expand Up @@ -420,6 +421,16 @@ <h3>index<wbr>Frame</h3>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="issessionconnected" class="tsd-anchor"></a>
<h3>is<wbr>Session<wbr>Connected</h3>
<div class="tsd-signature tsd-kind-icon">is<wbr>Session<wbr>Connected<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/AudioVideoControllerState.ts#L202">src/audiovideocontroller/AudioVideoControllerState.ts:202</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="lastknownvideoavailability" class="tsd-anchor"></a>
<h3>last<wbr>Known<wbr>Video<wbr>Availability</h3>
Expand Down Expand Up @@ -851,7 +862,7 @@ <h3>reset<wbr>Connection<wbr>Specific<wbr>State</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/AudioVideoControllerState.ts#L204">src/audiovideocontroller/AudioVideoControllerState.ts:204</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/AudioVideoControllerState.ts#L208">src/audiovideocontroller/AudioVideoControllerState.ts:208</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down Expand Up @@ -935,6 +946,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="audiovideocontrollerstate.html#indexframe" class="tsd-kind-icon">index<wbr>Frame</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="audiovideocontrollerstate.html#issessionconnected" class="tsd-kind-icon">is<wbr>Session<wbr>Connected</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="audiovideocontrollerstate.html#lastknownvideoavailability" class="tsd-kind-icon">last<wbr>Known<wbr>Video<wbr>Availability</a>
</li>
Expand Down
38 changes: 19 additions & 19 deletions docs/classes/defaultaudiovideocontroller.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ <h3>audio<wbr>Input<wbr>Did<wbr>Change</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/mediastreambrokerobserver.html">MediaStreamBrokerObserver</a>.<a href="../interfaces/mediastreambrokerobserver.html#audioinputdidchange">audioInputDidChange</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1690">src/audiovideocontroller/DefaultAudioVideoController.ts:1690</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1694">src/audiovideocontroller/DefaultAudioVideoController.ts:1694</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -484,7 +484,7 @@ <h3>demote<wbr>From<wbr>Primary<wbr>Meeting</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#demotefromprimarymeeting">demoteFromPrimaryMeeting</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1663">src/audiovideocontroller/DefaultAudioVideoController.ts:1663</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1667">src/audiovideocontroller/DefaultAudioVideoController.ts:1667</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -534,7 +534,7 @@ <h3>encoding<wbr>Simulcast<wbr>Layers<wbr>Did<wbr>Change</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/simulcastuplinkobserver.html">SimulcastUplinkObserver</a>.<a href="../interfaces/simulcastuplinkobserver.html#encodingsimulcastlayersdidchange">encodingSimulcastLayersDidChange</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1629">src/audiovideocontroller/DefaultAudioVideoController.ts:1629</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1633">src/audiovideocontroller/DefaultAudioVideoController.ts:1633</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -643,7 +643,7 @@ <h3>get<wbr>Remote<wbr>Video<wbr>Sources</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#getremotevideosources">getRemoteVideoSources</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1619">src/audiovideocontroller/DefaultAudioVideoController.ts:1619</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1623">src/audiovideocontroller/DefaultAudioVideoController.ts:1623</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -665,7 +665,7 @@ <h3>handle<wbr>Has<wbr>Bandwidth<wbr>Priority</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1570">src/audiovideocontroller/DefaultAudioVideoController.ts:1570</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1574">src/audiovideocontroller/DefaultAudioVideoController.ts:1574</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -689,7 +689,7 @@ <h3>handle<wbr>Meeting<wbr>Session<wbr>Status</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#handlemeetingsessionstatus">handleMeetingSessionStatus</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1499">src/audiovideocontroller/DefaultAudioVideoController.ts:1499</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1503">src/audiovideocontroller/DefaultAudioVideoController.ts:1503</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -721,7 +721,7 @@ <h3>pause<wbr>Receiving<wbr>Stream</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#pausereceivingstream">pauseReceivingStream</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1599">src/audiovideocontroller/DefaultAudioVideoController.ts:1599</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1603">src/audiovideocontroller/DefaultAudioVideoController.ts:1603</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -750,7 +750,7 @@ <h3>promote<wbr>ToPrimary<wbr>Meeting</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#promotetoprimarymeeting">promoteToPrimaryMeeting</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1638">src/audiovideocontroller/DefaultAudioVideoController.ts:1638</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1642">src/audiovideocontroller/DefaultAudioVideoController.ts:1642</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -806,7 +806,7 @@ <h3>reconnect</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#reconnect">reconnect</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1347">src/audiovideocontroller/DefaultAudioVideoController.ts:1347</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1351">src/audiovideocontroller/DefaultAudioVideoController.ts:1351</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -862,7 +862,7 @@ <h3>replace<wbr>Local<wbr>Audio</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#replacelocalaudio">replaceLocalAudio</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1225">src/audiovideocontroller/DefaultAudioVideoController.ts:1225</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1229">src/audiovideocontroller/DefaultAudioVideoController.ts:1229</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -892,7 +892,7 @@ <h3>replace<wbr>Local<wbr>Video</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#replacelocalvideo">replaceLocalVideo</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1190">src/audiovideocontroller/DefaultAudioVideoController.ts:1190</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1194">src/audiovideocontroller/DefaultAudioVideoController.ts:1194</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -923,7 +923,7 @@ <h3>restart<wbr>Local<wbr>Video</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#restartlocalvideo">restartLocalVideo</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1167">src/audiovideocontroller/DefaultAudioVideoController.ts:1167</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1171">src/audiovideocontroller/DefaultAudioVideoController.ts:1171</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -965,7 +965,7 @@ <h3>resume<wbr>Receiving<wbr>Stream</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#resumereceivingstream">resumeReceivingStream</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1605">src/audiovideocontroller/DefaultAudioVideoController.ts:1605</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1609">src/audiovideocontroller/DefaultAudioVideoController.ts:1609</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1024,7 +1024,7 @@ <h3>set<wbr>Video<wbr>Codec<wbr>Send<wbr>Preferences</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#setvideocodecsendpreferences">setVideoCodecSendPreferences</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1611">src/audiovideocontroller/DefaultAudioVideoController.ts:1611</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1615">src/audiovideocontroller/DefaultAudioVideoController.ts:1615</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1064,7 +1064,7 @@ <h3>set<wbr>Video<wbr>Max<wbr>Bandwidth<wbr>Kbps</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#setvideomaxbandwidthkbps">setVideoMaxBandwidthKbps</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1555">src/audiovideocontroller/DefaultAudioVideoController.ts:1555</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1559">src/audiovideocontroller/DefaultAudioVideoController.ts:1559</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1163,7 +1163,7 @@ <h3>stop</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#stop">stop</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L784">src/audiovideocontroller/DefaultAudioVideoController.ts:784</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L788">src/audiovideocontroller/DefaultAudioVideoController.ts:788</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down Expand Up @@ -1198,7 +1198,7 @@ <h3>update</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/audiovideocontroller.html">AudioVideoController</a>.<a href="../interfaces/audiovideocontroller.html#update">update</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L826">src/audiovideocontroller/DefaultAudioVideoController.ts:826</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L830">src/audiovideocontroller/DefaultAudioVideoController.ts:830</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1232,7 +1232,7 @@ <h3>update<wbr>Local<wbr>Video<wbr>From<wbr>Policy</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1127">src/audiovideocontroller/DefaultAudioVideoController.ts:1127</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1131">src/audiovideocontroller/DefaultAudioVideoController.ts:1131</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
Expand All @@ -1250,7 +1250,7 @@ <h3>video<wbr>Input<wbr>Did<wbr>Change</h3>
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/mediastreambrokerobserver.html">MediaStreamBrokerObserver</a>.<a href="../interfaces/mediastreambrokerobserver.html#videoinputdidchange">videoInputDidChange</a></p>
<ul>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1672">src/audiovideocontroller/DefaultAudioVideoController.ts:1672</a></li>
<li>Defined in <a href="https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1676">src/audiovideocontroller/DefaultAudioVideoController.ts:1676</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading

0 comments on commit 86d15a3

Please sign in to comment.