@vkontakte/calls-sdk 2.5.3-beta.1 → 2.5.3-beta.2
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/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/package.json +1 -1
- package/static/Params.d.ts +10 -0
- package/static/Utils.d.ts +1 -1
package/package.json
CHANGED
package/static/Params.d.ts
CHANGED
|
@@ -217,6 +217,14 @@ export declare type ParamsObject = {
|
|
|
217
217
|
movieShare: boolean;
|
|
218
218
|
filteredMessages: boolean;
|
|
219
219
|
breakVideoPayloadTypes: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Включать RED-extension (redundancy) для групповых звонков
|
|
222
|
+
*/
|
|
223
|
+
serverAudioRed: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* Включать RED-extension (redundancy) для p2p звонков
|
|
226
|
+
*/
|
|
227
|
+
p2pAudioRed: boolean;
|
|
220
228
|
/**
|
|
221
229
|
* Получать список участников звонка третьим аргументом в `onConversation`
|
|
222
230
|
* @hidden
|
|
@@ -508,6 +516,8 @@ export default abstract class Params {
|
|
|
508
516
|
static get videoTracksCount(): number;
|
|
509
517
|
static get breakVideoPayloadTypes(): boolean;
|
|
510
518
|
static get filteredMessages(): boolean;
|
|
519
|
+
static get serverAudioRed(): boolean;
|
|
520
|
+
static get p2pAudioRed(): boolean;
|
|
511
521
|
static get batchParticipantsOnStart(): boolean;
|
|
512
522
|
static get participantStateMapped(): boolean;
|
|
513
523
|
static get filterObservers(): boolean;
|
package/static/Utils.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import VideoSettings from '../types/VideoSettings';
|
|
|
7
7
|
export declare const PARAMETERS_SEPARATOR = ":";
|
|
8
8
|
export declare const DEVICE_IDX_PARAMETER = "d";
|
|
9
9
|
declare namespace Utils {
|
|
10
|
-
function patchSDP(sdp: string, preferH264: boolean, brokenH264: boolean, preferVP9: boolean, isAudioNack?: boolean): string;
|
|
10
|
+
function patchSDP(sdp: string, preferH264: boolean, brokenH264: boolean, preferVP9: boolean, isAudioNack?: boolean, preferRed?: boolean): string;
|
|
11
11
|
function getPeerIdString(peerId: SignalingMessage.PeerId): string;
|
|
12
12
|
function comparePeerId(peerId1: SignalingMessage.PeerId, peerId2: SignalingMessage.PeerId): boolean;
|
|
13
13
|
function getPeerConnectionHostInfo(pc: RTCPeerConnection): Promise<any>;
|