@vkontakte/calls-sdk 2.5.3-beta.3 → 2.5.3-dev.d006735.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.
@@ -33,7 +33,7 @@ export declare class MediaSource extends EventEmitter {
33
33
  getScreenTrack(): MediaStreamTrack | null;
34
34
  getSendVideoTrack(noDataChannel?: boolean): MediaStreamTrack | null;
35
35
  private _getSendAudioTrack;
36
- addTrackToPeerConnection(pc: RTCPeerConnection, observer?: boolean, noDataChannel?: boolean): void;
36
+ addTrackToPeerConnection(pc: RTCPeerConnection, observer: boolean, noDataChannel: boolean, audioRed: boolean): void;
37
37
  getMediaSettings(): MediaSettings;
38
38
  changeDevice(kind: MediaDeviceKind): Promise<void>;
39
39
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/calls-sdk",
3
- "version": "2.5.3-beta.3",
3
+ "version": "2.5.3-dev.d006735.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",
@@ -232,16 +232,6 @@ export declare type ParamsObject = {
232
232
  batchParticipantsOnStart: boolean;
233
233
  participantStateMapped: boolean;
234
234
  joinFromMultipleDevices: boolean;
235
- /**
236
- * Фильтровать наблюдателей во всех колбэках
237
- * @hidden
238
- */
239
- filterObservers: boolean;
240
- /**
241
- * Отключить звук собеседников
242
- * @hidden
243
- */
244
- muteMode: boolean;
245
235
  /**
246
236
  * Получен локальный стрим с камеры/микрофона
247
237
  */
@@ -520,6 +510,4 @@ export default abstract class Params {
520
510
  static get p2pAudioRed(): boolean;
521
511
  static get batchParticipantsOnStart(): boolean;
522
512
  static get participantStateMapped(): boolean;
523
- static get filterObservers(): boolean;
524
- static get muteMode(): boolean;
525
513
  }
@@ -117,6 +117,7 @@ declare namespace WebRTCUtils {
117
117
  * Может ли браузер делать H264 приоритетным
118
118
  */
119
119
  function canPreferH264(): boolean;
120
+ function canPreferRed(): boolean;
120
121
  /**
121
122
  * Имя операционной системы
122
123
  */
@@ -42,11 +42,6 @@ export interface ExternalId {
42
42
  * Тип пользователя
43
43
  */
44
44
  type: ExternalIdType;
45
- /**
46
- * Пользователь является наблюдателем звонка
47
- * @hidden
48
- */
49
- observer?: boolean;
50
45
  }
51
46
  /**
52
47
  * Идентификатор участника звонка
@@ -46,5 +46,4 @@ export interface Participant {
46
46
  };
47
47
  muteStates: MuteStates;
48
48
  unmuteOptions: MediaOption[];
49
- observedIds: CompositeUserId[];
50
49
  }
@@ -10,7 +10,7 @@ import UserType from '../enums/UserType';
10
10
  import MediaModifiers from './MediaModifiers';
11
11
  import MediaSettings from './MediaSettings';
12
12
  import MuteStates from './MuteStates';
13
- import { CompositeUserId, OkUserId, ParticipantId } from './Participant';
13
+ import { OkUserId, ParticipantId } from './Participant';
14
14
  import VideoSettings from './VideoSettings';
15
15
  import { WaitingParticipant } from './WaitingHall';
16
16
  declare type SignalingMessage = Record<string, any>;
@@ -31,12 +31,6 @@ declare namespace SignalingMessage {
31
31
  id: number;
32
32
  type?: string;
33
33
  }
34
- export type ParticipantListType = 'GRID' | 'SIDE' | 'ADMIN';
35
- export interface ParticipantListMarker {
36
- rank: number;
37
- ts: number;
38
- id?: CompositeUserId;
39
- }
40
34
  export interface Participant {
41
35
  id: OkUserId;
42
36
  idType?: UserType;
@@ -56,8 +50,6 @@ declare namespace SignalingMessage {
56
50
  restricted?: boolean;
57
51
  muteStates?: MuteStates;
58
52
  unmuteOptions?: MediaOption[];
59
- markers?: Record<ParticipantListType, ParticipantListMarker>;
60
- observedIds?: CompositeUserId[];
61
53
  }
62
54
  interface Conversation {
63
55
  id: string;