@opentok/client 2.35.0-alpha.33 → 2.35.0-alpha.34
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.d.ts +11 -0
- package/dist/js/opentok.js +3 -3
- package/dist/js/opentok.min.js +3 -3
- package/package.json +1 -1
package/dist/js/opentok.d.ts
CHANGED
|
@@ -151,6 +151,16 @@ declare namespace OT {
|
|
|
151
151
|
|
|
152
152
|
export type AudioFilter = AdvancedNoiseSuppressionFilter;
|
|
153
153
|
|
|
154
|
+
export interface LegacyMediaTrackConstraints {
|
|
155
|
+
mandatory?: Record<string, string | number | boolean>;
|
|
156
|
+
optional?: Array<Record<string, string | number | boolean>>;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface LegacyMediaStreamConstraints {
|
|
160
|
+
audio?: boolean | MediaTrackConstraints | LegacyMediaTrackConstraints;
|
|
161
|
+
video?: boolean | MediaTrackConstraints | LegacyMediaTrackConstraints;
|
|
162
|
+
}
|
|
163
|
+
|
|
154
164
|
export type PublisherProperties = WidgetProperties & GetUserMediaProperties & {
|
|
155
165
|
audioBitrate?: number;
|
|
156
166
|
audioFallback?: {
|
|
@@ -174,6 +184,7 @@ declare namespace OT {
|
|
|
174
184
|
audioFilter?: AudioFilter;
|
|
175
185
|
disableAudioInputDeviceManagement?: boolean;
|
|
176
186
|
preferredVideoCodecs?: PreferredVideoCodecs;
|
|
187
|
+
constraints?: MediaStreamConstraints | LegacyMediaStreamConstraints;
|
|
177
188
|
};
|
|
178
189
|
|
|
179
190
|
export type SubscriberStyle = WidgetStyle & {
|
package/dist/js/opentok.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license OpenTok.js 2.35.0
|
|
2
|
+
* @license OpenTok.js 2.35.0 0b971face
|
|
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: Tue, 26 May 2026 08:
|
|
8
|
+
* Date: Tue, 26 May 2026 08:44:19 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -41920,7 +41920,7 @@ function staticConfigFactory(_temp) {
|
|
|
41920
41920
|
_ref$axios = _ref.axios,
|
|
41921
41921
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
41922
41922
|
_ref$properties = _ref.properties,
|
|
41923
|
-
properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"
|
|
41923
|
+
properties = _ref$properties === void 0 ? {"version":"v2.35.0","buildHash":"0b971face","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;
|
|
41924
41924
|
/** @type builtInConfig */
|
|
41925
41925
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
41926
41926
|
/**
|