@opentok/client 2.28.4-alpha.20 → 2.28.4-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license OpenTok.js 2.28.4 fc08c21
2
+ * @license OpenTok.js 2.28.4 6ceeb93
3
3
  *
4
4
  * Copyright (c) 2010-2024 TokBox, Inc.
5
5
  * Subject to the applicable Software Development Kit (SDK) License Agreement:
6
6
  * https://www.vonage.com/legal/communications-apis/terms-of-use/
7
7
  *
8
- * Date: Mon, 28 Oct 2024 23:45:50 GMT
8
+ * Date: Tue, 29 Oct 2024 16:06:16 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -3673,6 +3673,10 @@ function EventsFactory(deps) {
3673
3673
  * <li><code>"networkDisconnected"</code> &#151; The network connection terminated abruptly
3674
3674
  * (for example, the client lost their internet connection) and was detected by the
3675
3675
  * Vonage Video API platform.</li>
3676
+ *
3677
+ * <li><code>"serverRotation"</code> &#151; The client was disconnected from
3678
+ * the session because of
3679
+ * <a href="https://tokbox.com/developer/guides/server-rotation/">Video API server rotation</a>.</li>
3676
3680
  * </ul>
3677
3681
  *
3678
3682
  * <p>Depending on the context, this description may allow the developer to refine
@@ -3799,6 +3803,9 @@ function EventsFactory(deps) {
3799
3803
  * <li><code>"reset"</code> &#151; A Publisher’s stream was destroyed in response
3800
3804
  * to a call to its <code>Publisher.destroy()</code> method.</li>
3801
3805
  *
3806
+ * <li><code>"serverRotation"</code> &#151; The Publisher’s stream was destroyed because
3807
+ * the client was disconnected from the session because of
3808
+ * <a href="https://tokbox.com/developer/guides/server-rotation/">Video API server rotation</a>.</li>
3802
3809
  * </ul>
3803
3810
  *
3804
3811
  * <p>Depending on the context, this description may allow the developer to refine
@@ -3993,6 +4000,9 @@ function EventsFactory(deps) {
3993
4000
  * <code>reconnecting</code> event, and the client attempts to reconnect to the Vonage Video API session.
3994
4001
  * If the reconnection fails, the Session object dispatches a <code>sessionDisconnected</code>
3995
4002
  * event with the <code>reason</code> property set to <code>"networkDisconnected"</code>.
4003
+ * </li>
4004
+ * <li><code>"serverRotation"</code> &#151; The client was disconnected from the session because of
4005
+ * <a href="https://tokbox.com/developer/guides/server-rotation/">Video API server rotation</a>.</li>
3996
4006
  * </ul>
3997
4007
  * <ul>
3998
4008
  *
@@ -4312,6 +4322,8 @@ function EventsFactory(deps) {
4312
4322
  * <li><code>"codecChanged"</code> &mdash; The subscriber video was enabled after a codec change
4313
4323
  * from an incompatible codec.</li>
4314
4324
  *
4325
+ * <li><code>"serverRotation"</code> &#151; The Publishing client was disconnected from the session because of
4326
+ * <a href="https://tokbox.com/developer/guides/server-rotation/">Video API server rotation</a>.</li>
4315
4327
  * </ul>
4316
4328
  *
4317
4329
  * @property {Object} target The object that dispatched the event.
@@ -8070,7 +8082,7 @@ const logging = (0, _log.default)('StaticConfig');
8070
8082
  */
8071
8083
 
8072
8084
  /** @type builtInConfig */
8073
- const builtInConfig = (0, _cloneDeep.default)({"version":"v2.28.4","buildHash":"fc08c21","minimumVersion":{"firefox":52,"chrome":49},"debug":false,"websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com"});
8085
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.28.4","buildHash":"6ceeb93","minimumVersion":{"firefox":52,"chrome":49},"debug":false,"websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com"});
8074
8086
  const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
8075
8087
  const liveConfigMap = {
8076
8088
  apiUrl: 'apiURL',