@vkontakte/calls-sdk 2.5.3-beta.3 → 2.5.3-beta.4
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/classes/MediaSource.d.ts +1 -1
- package/package.json +1 -2
- package/static/Utils.d.ts +1 -2
- package/static/WebRTCUtils.d.ts +1 -0
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/calls-sdk",
|
|
3
|
-
"version": "2.5.3-beta.
|
|
3
|
+
"version": "2.5.3-beta.4",
|
|
4
4
|
"author": "vk.com",
|
|
5
5
|
"description": "Library for video calls based on the vk.com platform",
|
|
6
6
|
"homepage": "https://vk.com",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@vkontakte/calls-video-effects": "1.0.6-beta.18",
|
|
18
18
|
"@vkontakte/libvpx": "2.0.9",
|
|
19
|
-
"big-integer": "1.6.48",
|
|
20
19
|
"bit-buffer": "0.2.5",
|
|
21
20
|
"messagepack": "1.1.12",
|
|
22
21
|
"simple-ebml-builder": "0.2.2",
|
package/static/Utils.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BigInteger } from 'big-integer';
|
|
2
1
|
import UserType from '../enums/UserType';
|
|
3
2
|
import { ExternalParticipant } from '../types/ExternalId';
|
|
4
3
|
import { CompositeUserId, OkUserId, Participant, ParticipantId, ParticipantStateMapped } from '../types/Participant';
|
|
@@ -26,7 +25,7 @@ declare namespace Utils {
|
|
|
26
25
|
};
|
|
27
26
|
function uuid(): string;
|
|
28
27
|
function throttle(func: Function, ms: number): (this: any) => void;
|
|
29
|
-
function sdpFingerprint(sdp: string):
|
|
28
|
+
function sdpFingerprint(sdp: string): bigint | null;
|
|
30
29
|
function delay(time: number): Promise<unknown>;
|
|
31
30
|
function applySettings(pc: RTCPeerConnection, videoSettings: VideoSettings, prevSettings: any): any;
|
|
32
31
|
function applyVideoTrackSettings(videoSettings: VideoSettings, s: RTCRtpSender, track: MediaStreamTrack | null, prevSettings: any, retSettings: any): void;
|