@vkontakte/calls-sdk 2.8.8-dev.8e6ad301.0 → 2.8.8-dev.a5e7f15f.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.
@@ -292,6 +292,7 @@ export default class Conversation extends EventEmitter {
292
292
  private _onLocalMediaStreamChanged;
293
293
  private _onScreenSharingStatus;
294
294
  private _changeRemoteMediaSettings;
295
+ private _extractLocalParticipantFromConnection;
295
296
  private _changeLocalParticipantState;
296
297
  private _changeRemoteParticipantState;
297
298
  private _changeMultipleParticipantState;
@@ -29,6 +29,10 @@ declare enum HangupType {
29
29
  NOT_FOUND = "NOT_FOUND",
30
30
  VCHAT_DETAILED_ERROR = "VCHAT_DETAILED_ERROR",
31
31
  TIMEOUT = "TIMEOUT",
32
+ /**
33
+ * Проблемы при работе через FastStart
34
+ */
35
+ FAST_START_ERROR = "FAST_START_ERROR",
32
36
  /**
33
37
  * Таймаут инициализации вызова – звонок не начался
34
38
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.8.8-dev.8e6ad301.0",
3
+ "version": "2.8.8-dev.a5e7f15f.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",
@@ -1,4 +1,4 @@
1
- import { HangupType, IceServer } from '../CallsSDK';
1
+ import { IceServer } from '../CallsSDK';
2
2
  import CallType from '../enums/CallType';
3
3
  import MediaOption from '../enums/MediaOption';
4
4
  import { ExternalId } from './ExternalId';
@@ -37,10 +37,10 @@ export interface FastStartParams {
37
37
  isVideo?: boolean;
38
38
  }
39
39
  export interface FastStartResponse {
40
- internalCallerParams: string;
40
+ internalCallerParams?: string;
41
41
  rejectedParticipants: {
42
42
  id: string;
43
- status: HangupType;
43
+ status: string;
44
44
  }[];
45
45
  }
46
46
  export type FastStartHandler = (params: FastStartParams) => Promise<FastStartResponse>;