@opentok/client 2.23.3 → 2.23.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.
@@ -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;
@@ -273,7 +274,7 @@ declare namespace OT {
273
274
  getImgData(): string | null;
274
275
  getStats(callback: (error?: OTError, stats?: PublisherStatsArr) => void): void;
275
276
  getRtcStatsReport(): Promise<PublisherRtcStatsReportArr>;
276
- getStyle(): PublisherProperties;
277
+ getStyle(): PublisherStyle;
277
278
  applyVideoFilter(videoFilter: VideoFilter): Promise<void>;
278
279
  getVideoFilter(): VideoFilter | null;
279
280
  clearVideoFilter(): Promise<void>;
@@ -290,6 +291,8 @@ 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>;
295
+ setAudioMediaProcessorConnector(connector: MediaProcessorConnector | null): Promise<void>;
293
296
  }
294
297
 
295
298
  export function getUserMedia(