@daily-co/react-native-daily-js 0.47.0 → 0.49.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/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Install `react-native-daily-js` along with its peer dependencies:
|
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
npm i @daily-co/react-native-daily-js @react-native-async-storage/async-storage@^1.15.7 react-native-background-timer@^2.3.1
|
|
18
|
-
npm i --save-exact @daily-co/react-native-webrtc@111.0.0-daily.
|
|
18
|
+
npm i --save-exact @daily-co/react-native-webrtc@111.0.0-daily.2
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Then, follow the below steps to set up your native project on each platform. **Note that these steps assume you're using a version of React Native that supports autolinking (>= 60).**
|
|
@@ -76,7 +76,7 @@ If you view the raw file contents of `Info.plist`, it should look like this:
|
|
|
76
76
|
|
|
77
77
|
#### Screen sharing on iOS
|
|
78
78
|
|
|
79
|
-
To use the screen sharing functionality on iOS, you'll need to do a few manual steps to set up Daily's [React Native Screen Share Extension framework](https://github.com/daily-co/rn-screen-share-extension/) (already included in `react-native-daily-js`).
|
|
79
|
+
To use the screen sharing functionality on iOS, you'll need to do a few manual steps to set up Daily's [React Native Screen Share Extension framework](https://github.com/daily-co/rn-screen-share-extension/) (already included in `react-native-daily-js`).
|
|
80
80
|
Please refer to its README for a detailed walkthrough.
|
|
81
81
|
|
|
82
82
|
### Android
|
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.49.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",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"baseUrl": "https://github.com/daily-co/react-native-daily-js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@daily-co/daily-js": "^0.
|
|
29
|
+
"@daily-co/daily-js": "^0.51.0",
|
|
30
30
|
"@types/react-native-background-timer": "^2.0.0",
|
|
31
31
|
"react-native-url-polyfill": "^1.1.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@daily-co/react-native-webrtc": "^111.0.0-daily.
|
|
34
|
+
"@daily-co/react-native-webrtc": "^111.0.0-daily.2",
|
|
35
35
|
"@react-native-async-storage/async-storage": "^1.15.7",
|
|
36
36
|
"react-native-background-timer": "^2.3.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@daily-co/react-native-webrtc": "^111.0.0-daily.
|
|
39
|
+
"@daily-co/react-native-webrtc": "^111.0.0-daily.2",
|
|
40
40
|
"@react-native-async-storage/async-storage": "^1.15.7",
|
|
41
41
|
"react-native-background-timer": "^2.3.1",
|
|
42
42
|
"typescript": "^4.8.4"
|
|
@@ -307,6 +307,7 @@ export interface DailyParticipant {
|
|
|
307
307
|
video: DailyTrackState;
|
|
308
308
|
screenAudio: DailyTrackState;
|
|
309
309
|
screenVideo: DailyTrackState;
|
|
310
|
+
[customTrackKey: string]: DailyTrackState;
|
|
310
311
|
};
|
|
311
312
|
|
|
312
313
|
// user/session info
|
|
@@ -407,20 +408,28 @@ export interface DailyNetworkStats {
|
|
|
407
408
|
recvBitsPerSecond: number | null;
|
|
408
409
|
sendBitsPerSecond: number | null;
|
|
409
410
|
videoRecvBitsPerSecond: number | null;
|
|
410
|
-
videoRecvPacketLoss: number | null;
|
|
411
411
|
videoSendBitsPerSecond: number | null;
|
|
412
|
-
videoSendPacketLoss: number | null;
|
|
413
412
|
audioRecvBitsPerSecond: number | null;
|
|
414
|
-
audioRecvPacketLoss: number | null;
|
|
415
413
|
audioSendBitsPerSecond: number | null;
|
|
414
|
+
videoRecvPacketLoss: number | null;
|
|
415
|
+
videoSendPacketLoss: number | null;
|
|
416
|
+
audioRecvPacketLoss: number | null;
|
|
416
417
|
audioSendPacketLoss: number | null;
|
|
417
418
|
totalSendPacketLoss: number | null;
|
|
418
419
|
totalRecvPacketLoss: number | null;
|
|
420
|
+
videoRecvJitter: number | null;
|
|
421
|
+
videoSendJitter: number | null;
|
|
422
|
+
audioRecvJitter: number | null;
|
|
423
|
+
audioSendJitter: number | null;
|
|
419
424
|
};
|
|
420
425
|
worstVideoRecvPacketLoss: number;
|
|
421
426
|
worstVideoSendPacketLoss: number;
|
|
422
427
|
worstAudioRecvPacketLoss: number;
|
|
423
428
|
worstAudioSendPacketLoss: number;
|
|
429
|
+
worstVideoRecvJitter: number;
|
|
430
|
+
worstVideoSendJitter: number;
|
|
431
|
+
worstAudioRecvJitter: number;
|
|
432
|
+
worstAudioSendJitter: number;
|
|
424
433
|
};
|
|
425
434
|
threshold: 'good' | 'low' | 'very-low';
|
|
426
435
|
}
|
|
@@ -1235,7 +1244,7 @@ export interface DailyCall {
|
|
|
1235
1244
|
subscribeToTracksAutomatically(): boolean;
|
|
1236
1245
|
setSubscribeToTracksAutomatically(enabled: boolean): DailyCall;
|
|
1237
1246
|
enumerateDevices(): Promise<{ devices: MediaDeviceInfo[] }>;
|
|
1238
|
-
sendAppMessage(data: any, to?: string): DailyCall;
|
|
1247
|
+
sendAppMessage(data: any, to?: string | string[]): DailyCall;
|
|
1239
1248
|
setProxyUrl(proxyUrl?: string): DailyCall;
|
|
1240
1249
|
setIceConfig(iceConfig?: DailyIceConfig): DailyCall;
|
|
1241
1250
|
meetingSessionState(): DailyMeetingSessionState;
|