@vkontakte/calls-sdk 2.8.10-dev.de31b70a.0 → 2.8.10-dev.f8bba32e.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.
@@ -16,18 +16,6 @@ export type ClientEvent = {
16
16
  vcid: ConversationData['id'] | null;
17
17
  [k: string]: string | number | boolean | null;
18
18
  };
19
- export type LogItem = {
20
- count?: number;
21
- custom: ClientStats;
22
- data?: string[];
23
- groups?: string[];
24
- network?: string;
25
- operation: string;
26
- time: 0;
27
- timestamp: number;
28
- type: 1;
29
- uid: OkUserId | null;
30
- };
31
19
  export default abstract class BaseApi {
32
20
  abstract authorize(): Promise<void>;
33
21
  abstract userId(participantId: ParticipantId): Promise<ExternalParticipantId>;
@@ -54,10 +42,6 @@ export default abstract class BaseApi {
54
42
  abstract getConversationParams(conversationId?: string): Promise<ConversationParams>;
55
43
  abstract getUserId(): OkUserId | null;
56
44
  abstract setUserId(userId: OkUserId): void;
57
- /**
58
- * method: log.externalLog
59
- */
60
- log(items: LogItem[]): void;
61
45
  /**
62
46
  * method: vchat.clientStats
63
47
  */
@@ -62,7 +62,7 @@ export default abstract class BaseSignaling extends EventEmitter {
62
62
  abstract allocateConsumer(description: RTCSessionDescription | null, capabilities: {
63
63
  [key: string]: number | boolean | string;
64
64
  }): Promise<SignalingMessage>;
65
- abstract acceptProducer(description: RTCSessionDescriptionInit, ssrcs: string[]): Promise<SignalingMessage>;
65
+ abstract acceptProducer(description: RTCSessionDescriptionInit, ssrcs: string[], sessionId: string): Promise<SignalingMessage>;
66
66
  /**
67
67
  * @deprecated Use updateDisplayLayout instead
68
68
  */