@videosdk.live/react-sdk 0.6.0 → 0.6.2
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 +8 -8
- 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;
|
|
@@ -1177,7 +1180,7 @@ export function usePubSub(
|
|
|
1177
1180
|
sendOnly?: Array<String>;
|
|
1178
1181
|
},
|
|
1179
1182
|
payload?: object
|
|
1180
|
-
) => void
|
|
1183
|
+
) => Promise<void>;
|
|
1181
1184
|
messages: Array<{
|
|
1182
1185
|
id: string;
|
|
1183
1186
|
message: string;
|
|
@@ -1224,11 +1227,7 @@ export function useRealtimeStore(
|
|
|
1224
1227
|
}) => void,
|
|
1225
1228
|
}
|
|
1226
1229
|
): {
|
|
1227
|
-
setValue: (
|
|
1228
|
-
value
|
|
1229
|
-
}: {
|
|
1230
|
-
value: string;
|
|
1231
|
-
}) => Promise<any>;
|
|
1230
|
+
setValue: (value: string) => Promise<any>;
|
|
1232
1231
|
getValue: () => Promise<string>;
|
|
1233
1232
|
};
|
|
1234
1233
|
|
|
@@ -1697,7 +1696,7 @@ export function createMicrophoneAudioTrack({
|
|
|
1697
1696
|
* let customTrack = await createCameraVideoTrack({
|
|
1698
1697
|
* cameraId:"camera-id", // OPTIONAL
|
|
1699
1698
|
* optimizationMode: "motion", // "text" | "detail", Default : "motion"
|
|
1700
|
-
* encoderConfig: "
|
|
1699
|
+
* encoderConfig: "h540p_w960p", // "h540p_w960p" | "h720p_w1280p" ... // Default : "h720p_w1280p"
|
|
1701
1700
|
* facingMode: "environment", // "front", Default : "environment"
|
|
1702
1701
|
* multiStream:true // false, Default : true
|
|
1703
1702
|
* bitrateMode: "bandwidth_optimized" // "balanced" | "high_quality" , Default : "balanced"
|
|
@@ -2034,7 +2033,7 @@ export const Constants: {
|
|
|
2034
2033
|
VIDEO: Permission;
|
|
2035
2034
|
AUDIO_AND_VIDEO: Permission;
|
|
2036
2035
|
};
|
|
2037
|
-
leaveReason:{
|
|
2036
|
+
leaveReason: {
|
|
2038
2037
|
WEBSOCKET_DISCONNECTED: number,
|
|
2039
2038
|
REMOVE_PEER: number,
|
|
2040
2039
|
REMOVE_PEER_VIEWER_MODE_CHANGED: number,
|
|
@@ -2045,6 +2044,7 @@ export const Constants: {
|
|
|
2045
2044
|
REMOVE_ALL: number,
|
|
2046
2045
|
MEETING_END_API: number,
|
|
2047
2046
|
REMOVE_PEER_API: number,
|
|
2047
|
+
DUPLICATE_PARTICIPANT: number,
|
|
2048
2048
|
MANUAL_LEAVE_CALLED: number,
|
|
2049
2049
|
WEBSOCKET_CONNECTION_ATTEMPTS_EXHAUSTED: number,
|
|
2050
2050
|
JOIN_ROOM_FAILED: number,
|
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.2",
|
|
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.2",
|
|
78
78
|
"events": "^3.3.0"
|
|
79
79
|
}
|
|
80
80
|
}
|