@opentok/client 2.23.1 → 2.23.4
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 +3 -1
- package/dist/js/opentok.js +6054 -4679
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +7 -7
- package/dist/js/opentok.min.js.map +1 -1
- package/package.json +1 -1
package/dist/js/opentok.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare namespace OT {
|
|
2
|
+
type MediaProcessorConnector = import('@vonage/media-processor').MediaProcessorConnector;
|
|
2
3
|
export type OTError = {
|
|
3
4
|
name: string;
|
|
4
5
|
message: string;
|
|
@@ -103,7 +104,7 @@ declare namespace OT {
|
|
|
103
104
|
backgroundImgUrl: string;
|
|
104
105
|
};
|
|
105
106
|
|
|
106
|
-
export type VideoFilter = BackgroundBlurFilter;
|
|
107
|
+
export type VideoFilter = BackgroundBlurFilter | BackgroundReplacementFilter;
|
|
107
108
|
|
|
108
109
|
export type PublisherProperties = WidgetProperties & GetUserMediaProperties & {
|
|
109
110
|
audioBitrate?: number;
|
|
@@ -290,6 +291,7 @@ declare namespace OT {
|
|
|
290
291
|
setStyle<Style extends keyof PublisherStyle>(style: Style, value: PublisherStyle[Style]): void;
|
|
291
292
|
videoWidth(): number | undefined;
|
|
292
293
|
videoHeight(): number | undefined;
|
|
294
|
+
setVideoMediaProcessorConnector(connector: MediaProcessorConnector | null): Promise<void>;
|
|
293
295
|
}
|
|
294
296
|
|
|
295
297
|
export function getUserMedia(
|