@vkontakte/calls-sdk 2.6.2-beta.10 → 2.6.2-beta.11
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.
|
@@ -11,7 +11,7 @@ export declare class ProducerCommandSerializationService {
|
|
|
11
11
|
private writeLayout;
|
|
12
12
|
private writeStreamDesc;
|
|
13
13
|
serializePerfStatReport(sequenceNumber: number, report: PerfStatReport): ArrayBuffer;
|
|
14
|
-
deserializeCommandResponse(data: BufferSource): SignalingMessage | undefined
|
|
14
|
+
deserializeCommandResponse(data: BufferSource | Blob): Promise<SignalingMessage | undefined>;
|
|
15
15
|
private deserializeUpdateDisplayLayoutResponse;
|
|
16
16
|
private deserializeReportPerfStatResponse;
|
|
17
17
|
}
|
package/package.json
CHANGED
package/static/Params.d.ts
CHANGED
|
@@ -252,6 +252,11 @@ export declare type ParamsObject = {
|
|
|
252
252
|
* Включать RED-extension (redundancy) для p2p звонков
|
|
253
253
|
*/
|
|
254
254
|
p2pAudioRed: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Добавлять флаг spsPpsIdrInKeyframe для h264 кодека. В результате ключевые фреймы без sps и pps
|
|
257
|
+
* не используются как ключевые. Решает проблему с артефактами на видео в случае потерь пакетов.
|
|
258
|
+
*/
|
|
259
|
+
h264spsPpsIdrInKeyframe: boolean;
|
|
255
260
|
/**
|
|
256
261
|
* Получать список участников звонка третьим аргументом в `onConversation`
|
|
257
262
|
* @hidden
|
|
@@ -577,6 +582,7 @@ export default abstract class Params {
|
|
|
577
582
|
static get participantListChunkInitCount(): number;
|
|
578
583
|
static get serverAudioRed(): boolean;
|
|
579
584
|
static get p2pAudioRed(): boolean;
|
|
585
|
+
static get h264spsPpsIdrInKeyframe(): boolean;
|
|
580
586
|
static get batchParticipantsOnStart(): boolean;
|
|
581
587
|
static get filterObservers(): boolean;
|
|
582
588
|
static get muteMode(): boolean;
|
package/static/Utils.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import VideoSettings from '../types/VideoSettings';
|
|
|
6
6
|
export declare const PARAMETERS_SEPARATOR = ":";
|
|
7
7
|
export declare const DEVICE_IDX_PARAMETER = "d";
|
|
8
8
|
declare namespace Utils {
|
|
9
|
-
function patchSDP(sdp: string, preferH264: boolean, brokenH264: boolean, preferVP9: boolean, isAudioNack?: boolean, preferRed?: boolean): string;
|
|
9
|
+
function patchSDP(sdp: string, preferH264: boolean, brokenH264: boolean, preferVP9: boolean, h264spsPpsIdrInKeyframe: boolean, isAudioNack?: boolean, preferRed?: boolean): string;
|
|
10
10
|
function getPeerIdString(peerId: SignalingMessage.PeerId): string;
|
|
11
11
|
function comparePeerId(peerId1: SignalingMessage.PeerId, peerId2: SignalingMessage.PeerId): boolean;
|
|
12
12
|
function getPeerConnectionHostInfo(pc: RTCPeerConnection): Promise<any>;
|