@videosdk.live/react-sdk 0.1.87 → 0.1.89
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/dist/index.js +1687 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +1654 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/types/connection.d.ts +19 -0
- package/dist/types/connectionMeeting.d.ts +49 -0
- package/dist/types/connectionParticipant.d.ts +15 -0
- package/dist/types/deviceInfo.d.ts +28 -0
- package/dist/types/index.d.ts +1319 -0
- package/dist/types/meeting.d.ts +491 -0
- package/dist/types/participant.d.ts +194 -0
- package/dist/types/permission.d.ts +5 -0
- package/dist/types/stream.d.ts +27 -0
- package/package.json +3 -3
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export class Stream {
|
|
2
|
+
/**
|
|
3
|
+
* Id of the stream
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* @description This represents the type of Stream
|
|
8
|
+
*/
|
|
9
|
+
kind: 'audio' | 'video' | 'share' | 'shareAudio';
|
|
10
|
+
/**
|
|
11
|
+
* @description This represents the codec of the stream
|
|
12
|
+
*/
|
|
13
|
+
codec: string;
|
|
14
|
+
/**
|
|
15
|
+
* @description This represents the track which can be used to play the audio or video of the participant
|
|
16
|
+
*/
|
|
17
|
+
track: MediaStreamTrack;
|
|
18
|
+
/**
|
|
19
|
+
* @description This method can be used to pause the incoming audio stream
|
|
20
|
+
*/
|
|
21
|
+
pause(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @description This method can be used to resume the incoming audio stream
|
|
24
|
+
*/
|
|
25
|
+
resume(): void;
|
|
26
|
+
get paused(): any;
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@videosdk.live/react-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.89",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.modern.js",
|
|
7
7
|
"source": "src/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "microbundle-crl --no-compress --format modern,cjs && yarn copyTypesFolder",
|
|
10
|
+
"build": "microbundle-crl --no-compress --format modern,cjs && yarn copyTypesFolder && npm publish",
|
|
11
11
|
"copyTypesFolder": "cp -a ./src/types/ ./dist/types",
|
|
12
12
|
"prettier": "prettier --write 'src/**/*.js'",
|
|
13
13
|
"lint": "eslint 'src/**/*.js'"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@videosdk.live/js-sdk": "0.0.
|
|
76
|
+
"@videosdk.live/js-sdk": "0.0.85",
|
|
77
77
|
"events": "^3.3.0"
|
|
78
78
|
}
|
|
79
79
|
}
|