@dcl/js-runtime 7.3.7 → 7.3.8-5894191142.commit-351685b
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/apis.d.ts +26 -0
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
|
|
2
|
+
/**
|
|
3
|
+
* CommsApi
|
|
4
|
+
*/
|
|
5
|
+
declare module "~system/CommsApi" {
|
|
6
|
+
|
|
7
|
+
export enum VideoTrackSourceType {
|
|
8
|
+
VTST_UNKNOWN = 0,
|
|
9
|
+
VTST_CAMERA = 1,
|
|
10
|
+
VTST_SCREEN_SHARE = 2,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export interface VideoTracksActiveStreamsRequest {
|
|
14
|
+
}
|
|
15
|
+
export interface VideoTracksActiveStreamsResponse {
|
|
16
|
+
streams: VideoTracksActiveStreamsData[];
|
|
17
|
+
}
|
|
18
|
+
export interface VideoTracksActiveStreamsData {
|
|
19
|
+
identity: string;
|
|
20
|
+
trackSid: string;
|
|
21
|
+
sourceType: VideoTrackSourceType;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Function declaration section
|
|
25
|
+
export function getActiveVideoStreams(body: VideoTracksActiveStreamsRequest): Promise<VideoTracksActiveStreamsResponse>;
|
|
26
|
+
|
|
27
|
+
}
|
|
2
28
|
/**
|
|
3
29
|
* CommunicationsController
|
|
4
30
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/js-runtime",
|
|
3
3
|
"description": "JavaScript runtime definitions for Decentraland environments",
|
|
4
|
-
"version": "7.3.
|
|
4
|
+
"version": "7.3.8-5894191142.commit-351685b",
|
|
5
5
|
"author": "",
|
|
6
6
|
"files": [
|
|
7
7
|
"index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
},
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
22
|
"typings": "./index.d.ts",
|
|
23
|
-
"commit": "
|
|
23
|
+
"commit": "351685b1c6723e0314a5de7f38e5a5407c6f0e3c"
|
|
24
24
|
}
|