ntgcalls 3.0.1 → 3.0.3
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/index.d.ts +6 -1
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -164,6 +164,10 @@ export interface FrameData {
|
|
|
164
164
|
height: number;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
export interface ParticipantsRequest {
|
|
168
|
+
ssrcs: number[];
|
|
169
|
+
}
|
|
170
|
+
|
|
167
171
|
export interface SsrcGroup {
|
|
168
172
|
semantics: string;
|
|
169
173
|
ssrcs: number[];
|
|
@@ -405,7 +409,8 @@ export class NTgCalls {
|
|
|
405
409
|
chatId: bigint
|
|
406
410
|
) => void): void;
|
|
407
411
|
onRequestParticipants(callback: (
|
|
408
|
-
chatId: bigint
|
|
412
|
+
chatId: bigint,
|
|
413
|
+
request: ParticipantsRequest
|
|
409
414
|
) => void): void;
|
|
410
415
|
onOutboundBlock(callback: (
|
|
411
416
|
chatId: bigint,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ntgcalls",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "A Library for creating group calls and P2P calls with WebRTC and MTProto",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"telegram",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"build": "cmake-js compile"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"@ntgcalls/linux-x64": "3.0.
|
|
48
|
-
"@ntgcalls/linux-arm64": "3.0.
|
|
49
|
-
"@ntgcalls/darwin-arm64": "3.0.
|
|
50
|
-
"@ntgcalls/win32-x64": "3.0.
|
|
47
|
+
"@ntgcalls/linux-x64": "3.0.3",
|
|
48
|
+
"@ntgcalls/linux-arm64": "3.0.3",
|
|
49
|
+
"@ntgcalls/darwin-arm64": "3.0.3",
|
|
50
|
+
"@ntgcalls/win32-x64": "3.0.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "^26.1.1",
|