@opentok/client 2.32.0-alpha.8 → 2.32.0-alpha.9
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 +10 -11
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +4 -4
- 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.32.0
|
|
2
|
+
* @license OpenTok.js 2.32.0 8af5c5eb9
|
|
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: Thu, 16 Oct 2025 10:
|
|
8
|
+
* Date: Thu, 16 Oct 2025 10:58:59 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8550,7 +8550,7 @@ function staticConfigFactory(_temp) {
|
|
|
8550
8550
|
_ref$axios = _ref.axios,
|
|
8551
8551
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
8552
8552
|
_ref$properties = _ref.properties,
|
|
8553
|
-
properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"
|
|
8553
|
+
properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"8af5c5eb9","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;
|
|
8554
8554
|
/** @type builtInConfig */
|
|
8555
8555
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
8556
8556
|
/**
|
|
@@ -69621,7 +69621,7 @@ function _subscribeProcessor() {
|
|
|
69621
69621
|
};
|
|
69622
69622
|
preOfferOperations = /*#__PURE__*/function () {
|
|
69623
69623
|
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
69624
|
-
var audioSenders
|
|
69624
|
+
var audioSenders;
|
|
69625
69625
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
69626
69626
|
while (1) switch (_context.prev = _context.next) {
|
|
69627
69627
|
case 0:
|
|
@@ -69634,15 +69634,14 @@ function _subscribeProcessor() {
|
|
|
69634
69634
|
removeVideoOrientation
|
|
69635
69635
|
});
|
|
69636
69636
|
case 3:
|
|
69637
|
-
if (!(0, _transceiverHelpers.canModifySenderParameters)(peerConnection)) {
|
|
69638
|
-
_context.next =
|
|
69637
|
+
if (!((0, _transceiverHelpers.canModifySenderParameters)(peerConnection) && (offerOverrides == null ? void 0 : offerOverrides.audioBitrate) > 0)) {
|
|
69638
|
+
_context.next = 7;
|
|
69639
69639
|
break;
|
|
69640
69640
|
}
|
|
69641
69641
|
audioSenders = (0, _transceiverHelpers.getAudioTransceiversSenders)(peerConnection);
|
|
69642
|
-
|
|
69643
|
-
|
|
69644
|
-
|
|
69645
|
-
case 8:
|
|
69642
|
+
_context.next = 7;
|
|
69643
|
+
return (0, _setAudioBitrate.default)(audioSenders, offerOverrides.audioBitrate);
|
|
69644
|
+
case 7:
|
|
69646
69645
|
case "end":
|
|
69647
69646
|
return _context.stop();
|
|
69648
69647
|
}
|
|
@@ -69740,7 +69739,7 @@ const setAudioBitrate = (senders, audioBitrate) => {
|
|
|
69740
69739
|
const parameters = sender.getParameters();
|
|
69741
69740
|
parameters.encodings.forEach(encoding => {
|
|
69742
69741
|
// eslint-disable-next-line no-param-reassign
|
|
69743
|
-
encoding.maxBitrate = audioBitrate
|
|
69742
|
+
encoding.maxBitrate = audioBitrate;
|
|
69744
69743
|
});
|
|
69745
69744
|
return sender.setParameters(parameters);
|
|
69746
69745
|
});
|