@videosdk.live/react-sdk 0.6.0 → 0.6.1
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/types/index.d.ts +4 -1
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ import { Character, CharacterMode, CharacterState } from './character';
|
|
|
43
43
|
* ---
|
|
44
44
|
* @param config.maxResolution - You can specify your custom participantId here.
|
|
45
45
|
* ---
|
|
46
|
+
* @param config.signalingBaseUrl - You can specify the signaling base url here.
|
|
47
|
+
* ---
|
|
46
48
|
* @param config.mode -
|
|
47
49
|
*
|
|
48
50
|
* - There are 3 types of modes:
|
|
@@ -97,6 +99,7 @@ export function MeetingProvider({
|
|
|
97
99
|
maxResolution?: 'hd' | 'sd';
|
|
98
100
|
customCameraVideoTrack?: MediaStream | undefined;
|
|
99
101
|
customMicrophoneAudioTrack?: MediaStream | undefined;
|
|
102
|
+
signalingBaseUrl?: string | undefined;
|
|
100
103
|
multiStream?: boolean;
|
|
101
104
|
mode?: 'SEND_AND_RECV' | 'SIGNALLING_ONLY' | 'RECV_ONLY';
|
|
102
105
|
metaData?: object;
|
|
@@ -1697,7 +1700,7 @@ export function createMicrophoneAudioTrack({
|
|
|
1697
1700
|
* let customTrack = await createCameraVideoTrack({
|
|
1698
1701
|
* cameraId:"camera-id", // OPTIONAL
|
|
1699
1702
|
* optimizationMode: "motion", // "text" | "detail", Default : "motion"
|
|
1700
|
-
* encoderConfig: "
|
|
1703
|
+
* encoderConfig: "h540p_w960p", // "h540p_w960p" | "h720p_w1280p" ... // Default : "h720p_w1280p"
|
|
1701
1704
|
* facingMode: "environment", // "front", Default : "environment"
|
|
1702
1705
|
* multiStream:true // false, Default : true
|
|
1703
1706
|
* bitrateMode: "bandwidth_optimized" // "balanced" | "high_quality" , Default : "balanced"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@videosdk.live/react-sdk",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.modern.js",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@videosdk.live/js-sdk": "0.5.
|
|
77
|
+
"@videosdk.live/js-sdk": "0.5.1",
|
|
78
78
|
"events": "^3.3.0"
|
|
79
79
|
}
|
|
80
80
|
}
|