@opentok/client 2.30.2-alpha.12 → 2.30.2-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.30.2 883c3488e
2
+ * @license OpenTok.js 2.30.2 ef1864738
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: Mon, 16 Jun 2025 07:38:42 GMT
8
+ * Date: Tue, 17 Jun 2025 14:43:56 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8679,7 +8679,7 @@ const logging = (0, _log.default)('StaticConfig');
8679
8679
  */
8680
8680
 
8681
8681
  /** @type builtInConfig */
8682
- const builtInConfig = (0, _cloneDeep.default)({"version":"v2.30.2","buildHash":"883c3488e","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"});
8682
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.30.2","buildHash":"ef1864738","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"});
8683
8683
  const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
8684
8684
  const liveConfigMap = {
8685
8685
  apiUrl: 'apiURL',
@@ -40568,6 +40568,12 @@ function SubscriberFactory(_ref2) {
40568
40568
  * subscribing to captions (if it is currently being subscribed to) when the <code>value</code>
40569
40569
  * is <code>false</code>.
40570
40570
  * <p>
40571
+ * The initial value can be set by specifying the <code>subscribeToCaptions</code>
40572
+ * property of the <code>options</code> parameter of the <a href="Session.html#subscribe">Session.subscribe()</a>
40573
+ * method. The default value is the <code>hasCaptions</code> property of the stream’s publisher at the time of
40574
+ * subscriber initialization (see the
40575
+ * <a href="https://tokbox.com/developer/sdks/js/reference/Stream.html#properties">Stream.hasCaptions property</a>).
40576
+ * <p>
40571
40577
  * For more information, see the
40572
40578
  * <a href="https://tokbox.com/developer/guides/live-captions/">Live Captions</a>
40573
40579
  * developer guide.
@@ -40578,6 +40584,7 @@ function SubscriberFactory(_ref2) {
40578
40584
  * @see <a href="#isSubscribedToCaptions">isSubscribedToCaptions()</a>
40579
40585
  * @see <a href="#event:captionReceived">captionReceived</a> event
40580
40586
  * @see <a href="StreamPropertyChangedEvent.html">StreamPropertyChangedEvent</a>
40587
+ * @see <a href="Session.html#subscribe">Session.subscribe()</a>
40581
40588
  *
40582
40589
  * @method #subscribeToCaptions
40583
40590
  * @memberOf Subscriber
@@ -40613,10 +40620,17 @@ function SubscriberFactory(_ref2) {
40613
40620
 
40614
40621
  /**
40615
40622
  * Whether the subscriber is receiving captions. This property can change if the subscriber turns on
40616
- * or off captioning (by calling <code>Subscriber.subscribeToCaptions()</code>).
40623
+ * or off captioning (by calling <code>Subscriber.subscribeToCaptions()</code>). The default value is
40624
+ * the <code>hasCaptions</code> property of the stream’s publisher at the time of subscriber initialization (see the
40625
+ * <a href="https://tokbox.com/developer/sdks/js/reference/Stream.html#properties">Stream.hasCaptions property</a>).
40626
+ * <p>
40627
+ * You can set the initial value of this property by setting the <code>subscribeToCaptions</code>
40628
+ * property of the <code>options</code> parameter of the <a href="Session.html#subscribe">Session.subscribe()</a>
40629
+ * method.
40617
40630
  *
40618
40631
  * @class Subscriber
40619
40632
  * @see <a href="#subscribeToCaptions">Subscriber.subscribeToCaptions()</a>
40633
+ * @see <a href="Session.html#subscribe">Session.subscribe()</a>
40620
40634
  *
40621
40635
  * @method #isSubscribedToCaptions
40622
40636
  * @memberOf Subscriber