@vkontakte/calls-sdk 2.5.2-dev.7b80585.0 → 2.5.2-dev.b16dd83.0

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.
@@ -179,6 +179,7 @@ export default class Conversation extends EventEmitter {
179
179
  changeParticipantState(state: {
180
180
  [key: string]: string;
181
181
  }): Promise<void>;
182
+ requestKeyFrame(participantStreamDescription: ParticipantStreamDescription): Promise<void | SignalingMessage>;
182
183
  updateDisplayLayout(layouts: ParticipantLayout[]): Promise<void>;
183
184
  private _stopStreaming;
184
185
  private _sendUpdateDisplayLayout;
@@ -232,6 +233,7 @@ export default class Conversation extends EventEmitter {
232
233
  private _onScreenSharingStatus;
233
234
  private _changeRemoteMediaSettings;
234
235
  private _changeRemoteParticipantState;
236
+ private _invokeRolesChangedCallbackIfNeeded;
235
237
  private _onSignalingNotification;
236
238
  private _onSignalingReconnect;
237
239
  private _onSignalingFailed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.5.2-dev.7b80585.0",
3
+ "version": "2.5.2-dev.b16dd83.0",
4
4
  "author": "vk.com",
5
5
  "description": "Library for video calls based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -28,7 +28,7 @@ export declare type ParamsObject = {
28
28
  * API ключ приложения
29
29
  */
30
30
  apiKey: string;
31
- apiEnv?: 'AUTO' | 'PROD' | 'TEST' | 'VIDEOTEST' | string;
31
+ apiEnv?: 'AUTO' | 'PROD' | 'PROD_OK' | 'TEST' | 'VIDEOTEST' | string;
32
32
  apiAuth?: typeof AuthData;
33
33
  /**
34
34
  * Токен авторизации
@@ -426,7 +426,6 @@ export default abstract class Params {
426
426
  static get clientType(): string;
427
427
  static set clientType(value: string);
428
428
  static get device(): string;
429
- static get apiAppId(): number;
430
429
  static get apiKey(): string;
431
430
  static get apiEnv(): string;
432
431
  static get apiEndpoint(): string;
@@ -141,9 +141,5 @@ declare namespace WebRTCUtils {
141
141
  * Возвращает AudioContext
142
142
  */
143
143
  function getAudioContext(): AudioContext;
144
- /**
145
- * Возвращает подверсию браузера (если она есть)
146
- */
147
- function browserSubVersion(): string;
148
144
  }
149
145
  export default WebRTCUtils;
@@ -21,10 +21,6 @@ export declare type Layout = {
21
21
  * Поддерживаемые значения: `cv` и `cn`, что соответствует CSS `cover` и `contain`
22
22
  */
23
23
  fit: string;
24
- /**
25
- * Запрос опорного кадра, нужно не злоупотреблять, негативно влияет на качество видео
26
- */
27
- keyFrame: boolean;
28
24
  };
29
25
  /**
30
26
  * Запрос остановки стрима