@vonage/client-sdk-video 2.36.0-alpha.3 → 2.36.0-alpha.5
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.
- package/dist/js/opentok.js +29 -27
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +3 -3
- package/dist/js/opentok.min.js.map +1 -1
- package/package.json +1 -1
package/dist/js/opentok.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license OpenTok.js 2.36.0
|
|
2
|
+
* @license OpenTok.js 2.36.0 199871eba
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2010-2026 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:
|
|
8
|
+
* Date: Fri, 10 Jul 2026 12:02:00 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -39620,7 +39620,7 @@ function staticConfigFactory(_temp) {
|
|
|
39620
39620
|
_ref$axios = _ref.axios,
|
|
39621
39621
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
39622
39622
|
_ref$properties = _ref.properties,
|
|
39623
|
-
properties = _ref$properties === void 0 ? {"version":"v2.36.0","buildHash":"
|
|
39623
|
+
properties = _ref$properties === void 0 ? {"version":"v2.36.0","buildHash":"199871eba","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;
|
|
39624
39624
|
/** @type builtInConfig */
|
|
39625
39625
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
39626
39626
|
/**
|
|
@@ -43876,7 +43876,7 @@ function PublisherFactory(_ref) {
|
|
|
43876
43876
|
* @see <a href="Subscriber.html#isSubscribedToCaptions">isSubscribedToCaptions()</a>
|
|
43877
43877
|
* @see <a href="Stream.html#hasCaptions">Stream.hasCaptions</a>
|
|
43878
43878
|
* @see StreamPropertyChangedEvent
|
|
43879
|
-
* @returns {Promise}
|
|
43879
|
+
* @returns {Promise<void>}
|
|
43880
43880
|
* @method #publishCaptions
|
|
43881
43881
|
* @memberOf Publisher
|
|
43882
43882
|
*/
|
|
@@ -44534,6 +44534,10 @@ function PublisherFactory(_ref) {
|
|
|
44534
44534
|
* <code>L3T1</code>, <code>L3T2</code>, <code>L3T3</code></li>
|
|
44535
44535
|
* </ul>
|
|
44536
44536
|
*
|
|
44537
|
+
* <p>
|
|
44538
|
+
* <i>This is a beta feature.</i>
|
|
44539
|
+
* </p>
|
|
44540
|
+
*
|
|
44537
44541
|
* @param {String} scalabilityMode The target scalability mode identifier (e.g.
|
|
44538
44542
|
* <code>"L1T3"</code>, <code>"L3T3"</code>).
|
|
44539
44543
|
*
|
|
@@ -44579,6 +44583,10 @@ function PublisherFactory(_ref) {
|
|
|
44579
44583
|
* This reflects the user's intent, not the mode actually applied (which may differ due to
|
|
44580
44584
|
* codec-dependent fallback).
|
|
44581
44585
|
*
|
|
44586
|
+
* <p>
|
|
44587
|
+
* <i>This is a beta feature.</i>
|
|
44588
|
+
* </p>
|
|
44589
|
+
*
|
|
44582
44590
|
* @return {String|undefined} The target scalability mode set by the caller,
|
|
44583
44591
|
* or <code>undefined</code> if not explicitly set.
|
|
44584
44592
|
*
|
|
@@ -46482,7 +46490,7 @@ function PublisherFactory(_ref) {
|
|
|
46482
46490
|
*
|
|
46483
46491
|
* You can use these stats to assess the quality of the publisher's audio-video stream.
|
|
46484
46492
|
*
|
|
46485
|
-
* @param {Function} completionHandler A function that takes the following
|
|
46493
|
+
* @param {Function} completionHandler (Optional) A function that takes the following
|
|
46486
46494
|
* parameters:
|
|
46487
46495
|
*
|
|
46488
46496
|
* <ul>
|
|
@@ -46591,7 +46599,7 @@ function PublisherFactory(_ref) {
|
|
|
46591
46599
|
* @see <a href="Subscriber.html#getStats">Subscriber.getStats()</a>
|
|
46592
46600
|
* @see <a href="#getRtcStatsReport">Publisher.getRtcStatsReport()</a>
|
|
46593
46601
|
*
|
|
46594
|
-
* @return {Promise}
|
|
46602
|
+
* @return {Promise<PublisherStatsArr>}
|
|
46595
46603
|
*
|
|
46596
46604
|
* @method #getStats
|
|
46597
46605
|
* @memberOf Publisher
|
|
@@ -68778,18 +68786,15 @@ function SessionFactory(deps) {
|
|
|
68778
68786
|
* The following example sends a signal of type "foo" with a specified data payload ("hello")
|
|
68779
68787
|
* to all clients connected to the session:
|
|
68780
68788
|
* <pre>
|
|
68781
|
-
*
|
|
68789
|
+
* try {
|
|
68790
|
+
* await session.signal({
|
|
68782
68791
|
* type: "foo",
|
|
68783
68792
|
* data: "hello"
|
|
68784
|
-
* }
|
|
68785
|
-
*
|
|
68786
|
-
*
|
|
68787
|
-
*
|
|
68788
|
-
*
|
|
68789
|
-
* console.log("signal sent");
|
|
68790
|
-
* }
|
|
68791
|
-
* }
|
|
68792
|
-
* );
|
|
68793
|
+
* });
|
|
68794
|
+
* console.log("signal sent");
|
|
68795
|
+
* } catch (error) {
|
|
68796
|
+
* console.log("signal error: " + error.message);
|
|
68797
|
+
* }
|
|
68793
68798
|
* </pre>
|
|
68794
68799
|
* <p>
|
|
68795
68800
|
* Calling this method without specifying a recipient client (by setting the <code>to</code>
|
|
@@ -68800,19 +68805,16 @@ function SessionFactory(deps) {
|
|
|
68800
68805
|
* The following example sends a signal of type "foo" with a data payload ("hello") to a
|
|
68801
68806
|
* specific client connected to the session:
|
|
68802
68807
|
* <pre>
|
|
68803
|
-
*
|
|
68808
|
+
* try {
|
|
68809
|
+
* await session.signal({
|
|
68804
68810
|
* type: "foo",
|
|
68805
|
-
* to: recipientConnection
|
|
68811
|
+
* to: recipientConnection, // a Connection object
|
|
68806
68812
|
* data: "hello"
|
|
68807
|
-
* }
|
|
68808
|
-
*
|
|
68809
|
-
*
|
|
68810
|
-
*
|
|
68811
|
-
*
|
|
68812
|
-
* console.log("signal sent");
|
|
68813
|
-
* }
|
|
68814
|
-
* }
|
|
68815
|
-
* );
|
|
68813
|
+
* });
|
|
68814
|
+
* console.log("signal sent");
|
|
68815
|
+
* } catch (error) {
|
|
68816
|
+
* console.log("signal error: " + error.message);
|
|
68817
|
+
* }
|
|
68816
68818
|
* </pre>
|
|
68817
68819
|
* <p>
|
|
68818
68820
|
* Add an event handler for the <code>signal</code> event to listen for all signals sent in
|