@opentok/client 2.34.0-alpha.31 → 2.34.0-alpha.32
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 +1 -1
- package/dist/js/opentok.js +51 -56
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +6 -6
- package/dist/js/opentok.min.js.map +1 -1
- package/package.json +1 -1
package/dist/js/opentok.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ declare namespace OT {
|
|
|
75
75
|
|
|
76
76
|
export function getSupportedCodecs(): Promise<{ videoEncoders: ('H264' | 'VP8' | 'VP9')[], videoDecoders: ('H264' | 'VP8' | 'VP9')[] }>;
|
|
77
77
|
|
|
78
|
-
export function hasMediaProcessorSupport(): boolean;
|
|
78
|
+
export function hasMediaProcessorSupport(mediaType: 'audio' | 'video' | 'both'): boolean;
|
|
79
79
|
|
|
80
80
|
export function hasEndToEndEncryptionSupport(): boolean;
|
|
81
81
|
|
package/dist/js/opentok.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license OpenTok.js 2.34.0
|
|
2
|
+
* @license OpenTok.js 2.34.0 317adc805
|
|
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: Thu, 26 Mar 2026 10:02:06 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8593,7 +8593,7 @@ function staticConfigFactory(_temp) {
|
|
|
8593
8593
|
_ref$axios = _ref.axios,
|
|
8594
8594
|
axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
|
|
8595
8595
|
_ref$properties = _ref.properties,
|
|
8596
|
-
properties = _ref$properties === void 0 ? {"version":"v2.34.0","buildHash":"
|
|
8596
|
+
properties = _ref$properties === void 0 ? {"version":"v2.34.0","buildHash":"317adc805","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;
|
|
8597
8597
|
/** @type builtInConfig */
|
|
8598
8598
|
const builtInConfig = (0, _cloneDeep.default)(properties);
|
|
8599
8599
|
/**
|
|
@@ -23508,11 +23508,10 @@ function PublisherFactory(_ref) {
|
|
|
23508
23508
|
* </p>
|
|
23509
23509
|
*
|
|
23510
23510
|
* <p>
|
|
23511
|
-
* <em>Note:</em> Video filters are only supported in recent versions of Chrome, Electron, Opera,
|
|
23512
|
-
*
|
|
23513
|
-
*
|
|
23514
|
-
*
|
|
23515
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
23511
|
+
* <em>Note:</em> Video filters are only supported in recent versions of Chrome, Firefox, Electron, Opera,
|
|
23512
|
+
* Edge, Samsung Internet, WebView Android, and the latest versions of Safari and iOS WebView.
|
|
23513
|
+
* You can check if the client supports this feature by calling the
|
|
23514
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a> method.
|
|
23516
23515
|
* </p>
|
|
23517
23516
|
*
|
|
23518
23517
|
* <p>
|
|
@@ -23590,7 +23589,7 @@ function PublisherFactory(_ref) {
|
|
|
23590
23589
|
* @method #applyVideoFilter
|
|
23591
23590
|
* @memberOf Publisher
|
|
23592
23591
|
*
|
|
23593
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
23592
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a>
|
|
23594
23593
|
* @see <a href="Publisher.html#getVideoFilter">Publisher.getVideoFilter()</a>
|
|
23595
23594
|
* @see <a href="Publisher.html#clearVideoFilter">Publisher.clearVideoFilter()</a>
|
|
23596
23595
|
*
|
|
@@ -23614,7 +23613,7 @@ function PublisherFactory(_ref) {
|
|
|
23614
23613
|
}
|
|
23615
23614
|
throw otError(Errors.NOT_SUPPORTED, new Error('Cannot apply video filter when videoMediaProcessorConnector is set.'));
|
|
23616
23615
|
case 5:
|
|
23617
|
-
isSupported = MediaProcessor.isSupported();
|
|
23616
|
+
isSupported = MediaProcessor.isSupported('video');
|
|
23618
23617
|
if (isSupported) {
|
|
23619
23618
|
_context52.next = 8;
|
|
23620
23619
|
break;
|
|
@@ -23738,7 +23737,7 @@ function PublisherFactory(_ref) {
|
|
|
23738
23737
|
* @method #getVideoFilter
|
|
23739
23738
|
* @memberOf Publisher
|
|
23740
23739
|
*
|
|
23741
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
23740
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a>
|
|
23742
23741
|
* @see <a href="Publisher.html#applyVideoFilter">Publisher.applyVideoFilter()</a>
|
|
23743
23742
|
* @see <a href="Publisher.html#clearVideoFilter">Publisher.clearVideoFilter()</a>
|
|
23744
23743
|
*
|
|
@@ -23783,7 +23782,7 @@ function PublisherFactory(_ref) {
|
|
|
23783
23782
|
* and WebView Android.
|
|
23784
23783
|
* They are not supported in other (non-Chromium-based) browsers or on iOS. You can check if the client
|
|
23785
23784
|
* supports this feature by calling the
|
|
23786
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
23785
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a> method.
|
|
23787
23786
|
* </p>
|
|
23788
23787
|
*
|
|
23789
23788
|
* <p>
|
|
@@ -23827,7 +23826,7 @@ function PublisherFactory(_ref) {
|
|
|
23827
23826
|
* @method #applyAudioFilter
|
|
23828
23827
|
* @memberOf Publisher
|
|
23829
23828
|
*
|
|
23830
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
23829
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a>
|
|
23831
23830
|
* @see <a href="Publisher.html#getAudioFilter">Publisher.getAudioFilter()</a>
|
|
23832
23831
|
* @see <a href="Publisher.html#clearAudioFilter">Publisher.clearAudioFilter()</a>
|
|
23833
23832
|
*
|
|
@@ -23843,7 +23842,7 @@ function PublisherFactory(_ref) {
|
|
|
23843
23842
|
logAnalyticsEvent('applyAudioFilter', 'Attempt', {
|
|
23844
23843
|
audioFilter
|
|
23845
23844
|
});
|
|
23846
|
-
isSupported = MediaProcessor.isSupported();
|
|
23845
|
+
isSupported = MediaProcessor.isSupported('audio');
|
|
23847
23846
|
if (isSupported) {
|
|
23848
23847
|
_context53.next = 4;
|
|
23849
23848
|
break;
|
|
@@ -23946,7 +23945,7 @@ function PublisherFactory(_ref) {
|
|
|
23946
23945
|
* @method #clearAudioFilter
|
|
23947
23946
|
* @memberOf Publisher
|
|
23948
23947
|
*
|
|
23949
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
23948
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a>
|
|
23950
23949
|
* @see <a href="Publisher.html#applyAudioFilter">Publisher.applyAudioFilter()</a>
|
|
23951
23950
|
* @see <a href="Publisher.html#getAudioFilter">Publisher.getAudioFilter()</a>
|
|
23952
23951
|
*
|
|
@@ -23967,7 +23966,7 @@ function PublisherFactory(_ref) {
|
|
|
23967
23966
|
logAnalyticsEvent('clearAudioFilter', 'Success');
|
|
23968
23967
|
return _context54.abrupt("return");
|
|
23969
23968
|
case 5:
|
|
23970
|
-
if (MediaProcessor.isSupported()) {
|
|
23969
|
+
if (MediaProcessor.isSupported('audio')) {
|
|
23971
23970
|
_context54.next = 10;
|
|
23972
23971
|
break;
|
|
23973
23972
|
}
|
|
@@ -24029,7 +24028,7 @@ function PublisherFactory(_ref) {
|
|
|
24029
24028
|
* @method #getAudioFilter
|
|
24030
24029
|
* @memberOf Publisher
|
|
24031
24030
|
*
|
|
24032
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
24031
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a>
|
|
24033
24032
|
* @see <a href="Publisher.html#applyAudioFilter">Publisher.applyAudioFilter()</a>
|
|
24034
24033
|
* @see <a href="Publisher.html#clearAudioFilter">Publisher.clearAudioFilter()</a>
|
|
24035
24034
|
*
|
|
@@ -24061,11 +24060,10 @@ function PublisherFactory(_ref) {
|
|
|
24061
24060
|
* </p>
|
|
24062
24061
|
*
|
|
24063
24062
|
* <p>
|
|
24064
|
-
* <em>Note:</em> MediaProcessors
|
|
24065
|
-
*
|
|
24066
|
-
*
|
|
24067
|
-
*
|
|
24068
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
24063
|
+
* <em>Note:</em> MediaProcessors re only supported in recent versions of Chrome, Firefox, Electron, Opera,
|
|
24064
|
+
* Edge, Samsung Internet, WebView Android, and the latest versions of Safari and iOS WebView.
|
|
24065
|
+
* You can check if the client supports this feature by calling the
|
|
24066
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a> method.
|
|
24069
24067
|
* </p>
|
|
24070
24068
|
*
|
|
24071
24069
|
* <p>
|
|
@@ -24110,7 +24108,7 @@ function PublisherFactory(_ref) {
|
|
|
24110
24108
|
* @method #setVideoMediaProcessorConnector
|
|
24111
24109
|
* @memberOf Publisher
|
|
24112
24110
|
*
|
|
24113
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
24111
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a>
|
|
24114
24112
|
*
|
|
24115
24113
|
* @return {Promise} A promise that resolves when the operation completes successfully.
|
|
24116
24114
|
* If there is an error, the promise is rejected and no connector is set.
|
|
@@ -24225,7 +24223,7 @@ function PublisherFactory(_ref) {
|
|
|
24225
24223
|
* and Android WebView.
|
|
24226
24224
|
* They are not supported in other (non-Chromium-based) browsers or on iOS. You can check if the client
|
|
24227
24225
|
* supports this feature by calling the
|
|
24228
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
24226
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a> method.
|
|
24229
24227
|
* </p>
|
|
24230
24228
|
*
|
|
24231
24229
|
* <p>
|
|
@@ -24267,7 +24265,7 @@ function PublisherFactory(_ref) {
|
|
|
24267
24265
|
* @method #setAudioMediaProcessorConnector
|
|
24268
24266
|
* @memberOf Publisher
|
|
24269
24267
|
*
|
|
24270
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
24268
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a>
|
|
24271
24269
|
*
|
|
24272
24270
|
* @return {Promise} A promise that resolves when the operation completes successfully.
|
|
24273
24271
|
* If there is an error, the promise is rejected and no connector is set.
|
|
@@ -24391,7 +24389,7 @@ function PublisherFactory(_ref) {
|
|
|
24391
24389
|
* @method #clearVideoFilter
|
|
24392
24390
|
* @memberOf Publisher
|
|
24393
24391
|
*
|
|
24394
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
24392
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a>
|
|
24395
24393
|
* @see <a href="Publisher.html#applyVideoFilter">Publisher.applyVideoFilter()</a>
|
|
24396
24394
|
* @see <a href="Publisher.html#getVideoFilter">Publisher.getVideoFilter()</a>
|
|
24397
24395
|
*
|
|
@@ -24423,7 +24421,7 @@ function PublisherFactory(_ref) {
|
|
|
24423
24421
|
logging.debug(message);
|
|
24424
24422
|
return _context58.abrupt("return");
|
|
24425
24423
|
case 10:
|
|
24426
|
-
if (MediaProcessor.isSupported()) {
|
|
24424
|
+
if (MediaProcessor.isSupported('video')) {
|
|
24427
24425
|
_context58.next = 15;
|
|
24428
24426
|
break;
|
|
24429
24427
|
}
|
|
@@ -51181,11 +51179,10 @@ function SubscriberFactory(_ref2) {
|
|
|
51181
51179
|
* connector, the previously set video connector is removed.
|
|
51182
51180
|
*
|
|
51183
51181
|
* <p>
|
|
51184
|
-
* <em>Note:</em> MediaProcessors are only supported in recent versions of Chrome, Electron, Opera,
|
|
51185
|
-
*
|
|
51186
|
-
*
|
|
51187
|
-
*
|
|
51188
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
51182
|
+
* <em>Note:</em> MediaProcessors are only supported in recent versions of Chrome, Firefox, Electron, Opera,
|
|
51183
|
+
* Edge, Samsung Internet, WebView Android, and the latest versions of Safari and iOS WebView.
|
|
51184
|
+
* You can check if the client supports this feature by calling the
|
|
51185
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a> method.
|
|
51189
51186
|
* </p>
|
|
51190
51187
|
*
|
|
51191
51188
|
* <p>
|
|
@@ -51220,7 +51217,7 @@ function SubscriberFactory(_ref2) {
|
|
|
51220
51217
|
* @method #setVideoMediaProcessorConnector
|
|
51221
51218
|
* @memberOf Subscriber
|
|
51222
51219
|
*
|
|
51223
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
51220
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a>
|
|
51224
51221
|
*
|
|
51225
51222
|
* @return {Promise} A promise that resolves when the operation completes successfully.
|
|
51226
51223
|
* If there is an error, the promise is rejected and no connector is set.
|
|
@@ -51376,7 +51373,7 @@ function SubscriberFactory(_ref2) {
|
|
|
51376
51373
|
* and WebView Android.
|
|
51377
51374
|
* They are not supported in other (non-Chromium-based) browsers or on iOS. You can check if the client
|
|
51378
51375
|
* supports this feature by calling the
|
|
51379
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
51376
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a> method.
|
|
51380
51377
|
* </p>
|
|
51381
51378
|
*
|
|
51382
51379
|
* <p>
|
|
@@ -51405,7 +51402,7 @@ function SubscriberFactory(_ref2) {
|
|
|
51405
51402
|
* @method #setAudioMediaProcessorConnector
|
|
51406
51403
|
* @memberOf Subscriber
|
|
51407
51404
|
*
|
|
51408
|
-
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a>
|
|
51405
|
+
* @see <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a>
|
|
51409
51406
|
*
|
|
51410
51407
|
* @return {Promise} A promise that resolves when the operation completes successfully.
|
|
51411
51408
|
* If there is an error, the promise is rejected and no connector is set.
|
|
@@ -53371,11 +53368,16 @@ var _env = _interopRequireDefault(__webpack_require__(3));
|
|
|
53371
53368
|
// This is copy pasta from @vonage/media-processor, basically. The only
|
|
53372
53369
|
// difference is their's is an async call, whereas this one is synchronous.
|
|
53373
53370
|
// This only checks for support in the main thread.
|
|
53374
|
-
|
|
53375
|
-
|
|
53376
|
-
|
|
53371
|
+
const isSupported = function isSupported(mediaType) {
|
|
53372
|
+
if (mediaType === void 0) {
|
|
53373
|
+
mediaType = 'both';
|
|
53374
|
+
}
|
|
53375
|
+
const isWebkit = _env.default.isSafari || _env.default.isIosWebView;
|
|
53376
|
+
if ((mediaType === 'audio' || mediaType === 'both') && (isWebkit || _env.default.isFirefox)) return false;
|
|
53377
|
+
const isOldSafari = _env.default.isSafari && _env.default.version < 26;
|
|
53378
|
+
if (isOldSafari) return false;
|
|
53377
53379
|
const hasNativeSupport = typeof MediaStreamTrackProcessor !== 'undefined' && typeof MediaStreamTrackGenerator !== 'undefined';
|
|
53378
|
-
const canPolyfill = [window.ReadableStream, window.WritableStream, window.MediaStream, window.OffscreenCanvas, window.VideoFrame, window.AudioContext, window.AudioWorkletNode].
|
|
53380
|
+
const canPolyfill = [window.ReadableStream, window.WritableStream, window.MediaStream, window.OffscreenCanvas, window.VideoFrame, window.AudioContext, window.AudioWorkletNode].every(prop => prop !== undefined);
|
|
53379
53381
|
return hasNativeSupport || canPolyfill;
|
|
53380
53382
|
};
|
|
53381
53383
|
|
|
@@ -53618,7 +53620,7 @@ function initPublisherFactory(deps) {
|
|
|
53618
53620
|
* and WebView Android.
|
|
53619
53621
|
* They are not supported in other (non-Chromium-based) browsers or on iOS. You can check if the client
|
|
53620
53622
|
* supports this feature by calling the
|
|
53621
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
53623
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('audio')</a> method.
|
|
53622
53624
|
* <p>
|
|
53623
53625
|
* You can change the audio filter by calling the
|
|
53624
53626
|
* <a href="Publisher.html#applyAudioFilter">Publisher.applyAudioFilter()</a> method.
|
|
@@ -54089,11 +54091,10 @@ function initPublisherFactory(deps) {
|
|
|
54089
54091
|
* </p>
|
|
54090
54092
|
* </li>
|
|
54091
54093
|
* </ul>
|
|
54092
|
-
* <em>Note:</em> Video filters are only supported in recent versions of Chrome, Electron, Opera,
|
|
54093
|
-
*
|
|
54094
|
-
*
|
|
54095
|
-
*
|
|
54096
|
-
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport()</a> method.
|
|
54094
|
+
* <em>Note:</em> Video filters are only supported in recent versions of Chrome, Firefox, Electron, Opera,
|
|
54095
|
+
* Edge, Samsung Internet, WebView Android, and the latest versions of Safari and iOS WebView.
|
|
54096
|
+
* You can check if the client supports this feature by calling the
|
|
54097
|
+
* <a href="OT.html#hasMediaProcessorSupport">OT.hasMediaProcessorSupport('video')</a> method.
|
|
54097
54098
|
* <p>
|
|
54098
54099
|
* You can change the video filter by calling the
|
|
54099
54100
|
* <a href="Publisher.html#applyVideoFilter">Publisher.applyVideoFilter()</a> method.
|
|
@@ -89246,15 +89247,7 @@ function MediaProcessor(deps) {
|
|
|
89246
89247
|
ML.setMetadata();
|
|
89247
89248
|
};
|
|
89248
89249
|
}
|
|
89249
|
-
MediaProcessor.isSupported =
|
|
89250
|
-
if (deps === void 0) {
|
|
89251
|
-
deps = {};
|
|
89252
|
-
}
|
|
89253
|
-
const _deps2 = deps,
|
|
89254
|
-
_deps2$ML = _deps2.ML,
|
|
89255
|
-
ML = _deps2$ML === void 0 ? _ml.default : _deps2$ML;
|
|
89256
|
-
return ML.isSupported();
|
|
89257
|
-
};
|
|
89250
|
+
MediaProcessor.isSupported = mediaType => _ml.default.isSupported(mediaType);
|
|
89258
89251
|
var _default = MediaProcessor;
|
|
89259
89252
|
exports.default = _default;
|
|
89260
89253
|
|
|
@@ -97834,13 +97827,13 @@ var _ml = _interopRequireDefault(__webpack_require__(352));
|
|
|
97834
97827
|
* by the client:
|
|
97835
97828
|
* <pre>
|
|
97836
97829
|
* // Add background blur, if supported
|
|
97837
|
-
* if (OT.hasMediaProcessorSupport()) {
|
|
97830
|
+
* if (OT.hasMediaProcessorSupport('video')) {
|
|
97838
97831
|
* publisherOptions.videoFilter = {
|
|
97839
97832
|
* type: 'backgroundBlur',
|
|
97840
97833
|
* };
|
|
97841
97834
|
* }
|
|
97842
97835
|
* // Add advanced noise suppression, if supported
|
|
97843
|
-
* if (OT.hasMediaProcessorSupport()) {
|
|
97836
|
+
* if (OT.hasMediaProcessorSupport('audio')) {
|
|
97844
97837
|
* publisherOptions.audioFilter = {
|
|
97845
97838
|
* type: 'advancedNoiseSuppression',
|
|
97846
97839
|
* };
|
|
@@ -97849,6 +97842,8 @@ var _ml = _interopRequireDefault(__webpack_require__(352));
|
|
|
97849
97842
|
* const publisher = OT.initPublisher(publisherOptions);
|
|
97850
97843
|
* </pre>
|
|
97851
97844
|
*
|
|
97845
|
+
* @param {String} mediaType 'audio', 'video' or 'both'. Defaults to 'both'
|
|
97846
|
+
*
|
|
97852
97847
|
* @return {Boolean} Whether the client supports media processors (<code>true</code>), like
|
|
97853
97848
|
* video and audio filters, or not (<code>false</code>).
|
|
97854
97849
|
*
|