@daily-co/react-native-daily-js 0.65.0 → 0.67.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daily-co/react-native-daily-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.67.0",
|
|
4
4
|
"description": "React Native library for making video calls using Daily",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"baseUrl": "https://github.com/daily-co/react-native-daily-js"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@daily-co/daily-js": "^0.
|
|
31
|
+
"@daily-co/daily-js": "^0.69.0",
|
|
32
32
|
"@types/react-native-background-timer": "^2.0.0",
|
|
33
33
|
"base-64": "^1.0.0",
|
|
34
34
|
"react-native-url-polyfill": "^1.1.2"
|
|
@@ -19,6 +19,7 @@ import RTCRtpEncodingParameters from '@daily-co/react-native-webrtc/lib/typescri
|
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
export type DailyLanguage =
|
|
22
|
+
| 'da'
|
|
22
23
|
| 'de'
|
|
23
24
|
| 'en'
|
|
24
25
|
| 'fi'
|
|
@@ -173,7 +174,9 @@ export interface DailyLoadOptions extends DailyCallOptions {
|
|
|
173
174
|
}
|
|
174
175
|
|
|
175
176
|
export interface DailyFactoryOptions extends DailyCallOptions {
|
|
176
|
-
|
|
177
|
+
// only available at constructor time
|
|
178
|
+
allowMultipleCallInstances?: boolean;
|
|
179
|
+
strictMode?: boolean;
|
|
177
180
|
}
|
|
178
181
|
|
|
179
182
|
export interface CamSimulcastEncoding {
|
|
@@ -291,6 +294,7 @@ export interface DailyParticipantTracks {
|
|
|
291
294
|
video: DailyTrackState;
|
|
292
295
|
screenAudio: DailyTrackState;
|
|
293
296
|
screenVideo: DailyTrackState;
|
|
297
|
+
[customTrackKey: string]: DailyTrackState | undefined;
|
|
294
298
|
}
|
|
295
299
|
|
|
296
300
|
export interface DailyParticipant {
|
|
@@ -325,9 +329,7 @@ export interface DailyParticipant {
|
|
|
325
329
|
screen: boolean;
|
|
326
330
|
|
|
327
331
|
// track state
|
|
328
|
-
tracks: DailyParticipantTracks
|
|
329
|
-
[customTrackKey: string]: DailyTrackState;
|
|
330
|
-
};
|
|
332
|
+
tracks: DailyParticipantTracks;
|
|
331
333
|
|
|
332
334
|
// user/session info
|
|
333
335
|
user_id: string;
|
|
@@ -1426,9 +1428,11 @@ export interface DailyCall {
|
|
|
1426
1428
|
): Promise<DailyReceiveSettings>;
|
|
1427
1429
|
startCamera(properties?: DailyCallOptions): Promise<void>;
|
|
1428
1430
|
startLocalAudioLevelObserver(interval?: number): Promise<void>;
|
|
1431
|
+
isLocalAudioLevelObserverRunning(): boolean;
|
|
1429
1432
|
stopLocalAudioLevelObserver(): void;
|
|
1430
1433
|
getLocalAudioLevel(): number;
|
|
1431
1434
|
startRemoteParticipantsAudioLevelObserver(interval?: number): Promise<void>;
|
|
1435
|
+
isRemoteParticipantsAudioLevelObserverRunning(): boolean;
|
|
1432
1436
|
stopRemoteParticipantsAudioLevelObserver(): void;
|
|
1433
1437
|
getRemoteParticipantsAudioLevel(): DailyParticipantsAudioLevel;
|
|
1434
1438
|
cycleCamera(): Promise<{
|