@opentok/client 2.35.0-alpha.49 → 2.35.0-alpha.50
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 +12 -3
- package/dist/js/opentok.js +406 -224
- package/dist/js/opentok.js.map +1 -1
- package/dist/js/opentok.min.js +3 -3
- package/dist/js/opentok.min.js.map +1 -1
- package/package.json +1 -1
package/dist/js/opentok.d.ts
CHANGED
|
@@ -874,13 +874,22 @@ declare namespace OT {
|
|
|
874
874
|
isSubscribedToCaptions(): boolean;
|
|
875
875
|
isAudioBlocked(): boolean;
|
|
876
876
|
restrictFrameRate(value: boolean): void;
|
|
877
|
-
setAudioVolume
|
|
877
|
+
setAudioVolume: {
|
|
878
|
+
(value: number): Subscriber;
|
|
879
|
+
promise: (value: number) => Promise<void>;
|
|
880
|
+
};
|
|
878
881
|
setPreferredFrameRate(frameRate: number): void;
|
|
879
882
|
setPreferredResolution(resolution: Dimensions): void;
|
|
880
883
|
setAudioMediaProcessorConnector(connector: MediaProcessorConnector | null): Promise<void>;
|
|
881
884
|
setVideoMediaProcessorConnector(connector: MediaProcessorConnector | null): Promise<void>;
|
|
882
|
-
subscribeToAudio
|
|
883
|
-
|
|
885
|
+
subscribeToAudio: {
|
|
886
|
+
(value: boolean): Subscriber;
|
|
887
|
+
promise(value: boolean, reason?: string): Promise<void>;
|
|
888
|
+
};
|
|
889
|
+
subscribeToVideo: {
|
|
890
|
+
(value: boolean): Subscriber;
|
|
891
|
+
promise(value: boolean, reason?: string): Promise<void>;
|
|
892
|
+
};
|
|
884
893
|
setCaptionsTranslationLanguage(langCode: CaptionsLanguageCode | null): Promise<void>;
|
|
885
894
|
getCaptionsTranslationLanguage(): CaptionsLanguageCode | null;
|
|
886
895
|
|