@vkontakte/calls-sdk 2.7.2-beta.1 → 2.7.2-beta.3

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/CallsSDK.d.ts CHANGED
@@ -32,6 +32,7 @@ import { DebugMessageType } from './static/Debug';
32
32
  import { ParticipantStatus } from './static/External';
33
33
  import { JSONArray, JSONObject, JSONType } from './static/Json';
34
34
  import { ParamsObject } from './static/Params';
35
+ import Utils from './static/Utils';
35
36
  import WebRTCUtils, { FacingMode } from './static/WebRTCUtils';
36
37
  import { IAsrStartParams } from './types/Asr';
37
38
  import ConversationParams from './types/ConversationParams';
@@ -121,6 +122,10 @@ export declare const browser: {
121
122
  * Запрашивает микрофон пользователя
122
123
  */
123
124
  getUserAudio: typeof WebRTCUtils.getUserAudio;
125
+ /**
126
+ * Устанавливает размер видео в стриме
127
+ */
128
+ setResolution: typeof WebRTCUtils.setResolution;
124
129
  /**
125
130
  * Запоминает выбранное устройство
126
131
  */
@@ -178,6 +183,15 @@ export declare const browser: {
178
183
  */
179
184
  isAudioShareSupported: typeof WebRTCUtils.isAudioShareSupported;
180
185
  };
186
+ /**
187
+ * Вспомогательные функции
188
+ */
189
+ export declare const utils: {
190
+ /**
191
+ * Сравнивает маркеры для постраничного вывода участников звонка
192
+ */
193
+ participantMarkerCompare: typeof Utils.participantMarkerCompare;
194
+ };
181
195
  export declare function setApi(api: BaseApi): void;
182
196
  export declare function setSignalingFactory(signalingFactory: () => BaseSignaling): void;
183
197
  export declare function setLogger(logger: BaseLogger): void;