@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.
- package/CallsSDK.d.ts +1 -1
- package/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/classes/MediaSource.d.ts +1 -1
- package/package.json +1 -1
- package/static/Params.d.ts +0 -12
- package/static/WebRTCUtils.d.ts +1 -0
- package/types/ExternalId.d.ts +0 -5
- package/types/Participant.d.ts +0 -1
- package/types/SignalingMessage.d.ts +1 -9
package/classes/MediaSource.d.ts
CHANGED
|
@@ -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
|
|
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
package/static/Params.d.ts
CHANGED
|
@@ -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
|
}
|
package/static/WebRTCUtils.d.ts
CHANGED
package/types/ExternalId.d.ts
CHANGED
package/types/Participant.d.ts
CHANGED
|
@@ -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 {
|
|
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;
|