@opentok/client 2.33.0-alpha.12 → 2.33.0-alpha.13

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.33.0 df40cebc8
2
+ * @license OpenTok.js 2.33.0 3921385fd
3
3
  *
4
4
  * Copyright (c) 2010-2025 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: Fri, 28 Nov 2025 08:06:01 GMT
8
+ * Date: Fri, 28 Nov 2025 13:46:00 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8570,7 +8570,7 @@ function staticConfigFactory(_temp) {
8570
8570
  _ref$axios = _ref.axios,
8571
8571
  axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
8572
8572
  _ref$properties = _ref.properties,
8573
- properties = _ref$properties === void 0 ? {"version":"v2.33.0","buildHash":"df40cebc8","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","vonageApiURL":""} : _ref$properties;
8573
+ properties = _ref$properties === void 0 ? {"version":"v2.33.0","buildHash":"3921385fd","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","vonageApiURL":""} : _ref$properties;
8574
8574
  /** @type builtInConfig */
8575
8575
  const builtInConfig = (0, _cloneDeep.default)(properties);
8576
8576
  /**
@@ -41921,10 +41921,26 @@ function SubscriberFactory(_ref2) {
41921
41921
  * <li><code>"publishVideo"</code> &mdash; The publisher stopped publishing video by calling
41922
41922
  * <code>publishVideo(false)</code>.</li>
41923
41923
  *
41924
- * <li><code>"quality"</code> &mdash; The Vonage Video API Media Router stopped sending video
41925
- * to the subscriber based on stream quality changes. This feature of the Vonage Video API Media
41926
- * Router has a subscriber drop the video stream when connectivity degrades. (The subscriber
41927
- * continues to receive the audio stream, if there is one.)
41924
+ * <li><code>"quality"</code> &mdash; The Vonage Video API Media Router or the publishing client
41925
+ * stopped sending video to the subscriber based on stream quality changes due to connectivity
41926
+ * degradation.
41927
+ * <p>
41928
+ * In routed sessions, the source of this event can be the Vonage Video API Media Router
41929
+ * (Subscriber Audio Fallback) or the publishing client (Publisher Audio Fallback). In both
41930
+ * cases, the video stream is dropped specifically for the affected subscriber, while the audio
41931
+ * stream (if present) continues uninterrupted. When the source is the publishing client, the
41932
+ * event is followed by a <code>streamPropertyChanged</code> event dispatched by the session
41933
+ * object, indicating that the subscribed video channel is no longer active. In general, this
41934
+ * additional event indicates network degradation on the publisher’s side; however,
41935
+ * subscriber-reported metrics can influence the publisher’s fallback decisions, which may
41936
+ * complicate determining the exact source of the degradation.
41937
+ * <p>
41938
+ * In relayed sessions, the <code>"quality"</code> event is triggered exclusively due to the
41939
+ * publisher’s internal audio-fallback logic (Publisher Audio Fallback). This event is not
41940
+ * followed by a <code>streamPropertyChanged</code> event indicating that the video is inactive,
41941
+ * as the stream may still be received by other subscribers with better network conditions.
41942
+ * Note that in relayed sessions, although audio fallback events originate from the publisher,
41943
+ * network degradation may be occuring on either the publisher or subscriber side.
41928
41944
  * <p>
41929
41945
  * Before sending this event, when the Subscriber's stream quality deteriorates to a level
41930
41946
  * that is low enough that the video stream is at risk of being disabled, the Subscriber
@@ -41941,17 +41957,14 @@ function SubscriberFactory(_ref2) {
41941
41957
  * calling the <code>Session.subscribe()</code> method, setting the <code>style</code> property
41942
41958
  * of the <code>properties</code> parameter).
41943
41959
  * <p>
41944
- * This feature is only available in sessions that use the Vonage Video API Media Router (sessions with
41945
- * the <a href="https://tokbox.com/developer/guides/create-session/#media-mode">media mode</a>
41946
- * set to routed), not in sessions with the media mode set to relayed.
41947
- * <p>
41948
- * You can disable this audio-only fallback feature by setting the
41949
- * <code>audioFallback.subscriber</code> property to <code>false</code>
41950
- * in the options you pass to the <code>OT.initPublisher()</code>
41951
- * method on the publishing client. (See
41952
- * <a href="OT.html#initPublisher">OT.initPublisher()</a>.)
41960
+ * You can control audio-only fallback behavior by setting the <code>audioFallback</code>
41961
+ * property in the object passed to <code>OT.initPublisher()</code> on the publishing
41962
+ * client. By default, subscriber audio fallback is enabled (except when using screen share,
41963
+ * where it is disabled by default) and publisher audio fallback is disabled. To change this,
41964
+ * set <code>audioFallback.subscriber</code> to <code>false</code> to disable subscriber fallback,
41965
+ * or set <code>audioFallback.publisher</code> to <code>true</code> to enable publisher fallback.
41966
+ * (See <a href="OT.html#initPublisher">OT.initPublisher()</a>.)
41953
41967
  * </li>
41954
- *
41955
41968
  * <li><code>"subscribeToVideo"</code> &mdash; The subscriber started or stopped subscribing to
41956
41969
  * video, by calling <code>subscribeToVideo(false)</code>.
41957
41970
  * </li>