@daily-co/react-native-daily-js 0.43.0 → 0.44.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
|
@@ -30,14 +30,6 @@ Update the `platform` in your `Podfile`, since `@daily-co/react-native-webrtc` o
|
|
|
30
30
|
platform :ios, '11.0'
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
If you plan on doing a release build with bitcode enabled, run:
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
./node_modules/@daily-co/react-native-webrtc/tools/downloadBitcode.sh
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
(But don't fret—you can always run it later, before you do your release build.)
|
|
40
|
-
|
|
41
33
|
Then run:
|
|
42
34
|
|
|
43
35
|
```bash
|
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.44.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,7 +26,7 @@
|
|
|
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.46.0",
|
|
30
30
|
"@types/react-native-background-timer": "^2.0.0",
|
|
31
31
|
"react-native-url-polyfill": "^1.1.2"
|
|
32
32
|
},
|
|
@@ -140,8 +140,8 @@ export interface DailyCallOptions {
|
|
|
140
140
|
dailyConfig?: DailyAdvancedConfig;
|
|
141
141
|
subscribeToTracksAutomatically?: boolean;
|
|
142
142
|
reactNativeConfig?: DailyReactNativeConfig;
|
|
143
|
-
videoSource?: string | MediaStreamTrack;
|
|
144
|
-
audioSource?: string | MediaStreamTrack;
|
|
143
|
+
videoSource?: string | MediaStreamTrack | boolean;
|
|
144
|
+
audioSource?: string | MediaStreamTrack | boolean;
|
|
145
145
|
receiveSettings?: DailyReceiveSettings;
|
|
146
146
|
sendSettings?: DailySendSettings;
|
|
147
147
|
userName?: string;
|
|
@@ -166,6 +166,7 @@ export interface CamSimulcastEncoding {
|
|
|
166
166
|
|
|
167
167
|
export interface DailyAdvancedConfig {
|
|
168
168
|
camSimulcastEncodings?: CamSimulcastEncoding[];
|
|
169
|
+
v2CamAndMic?: boolean;
|
|
169
170
|
experimentalGetUserMediaConstraintsModify?: (constraints: any) => void;
|
|
170
171
|
micAudioMode?: 'music' | 'speech';
|
|
171
172
|
userMediaAudioConstraints?: MediaTrackConstraints;
|
|
@@ -208,7 +209,12 @@ export interface DailyTrackState {
|
|
|
208
209
|
byCanSendPermission?: boolean;
|
|
209
210
|
byServerLimit?: boolean;
|
|
210
211
|
};
|
|
212
|
+
// guaranteed-playable reference to the track
|
|
213
|
+
// (it's only present when state === 'playable')
|
|
211
214
|
track?: MediaStreamTrack;
|
|
215
|
+
// not-guaranteed-playable reference to the track
|
|
216
|
+
// (it may be present when state !== 'playable')
|
|
217
|
+
persistentTrack?: MediaStreamTrack;
|
|
212
218
|
}
|
|
213
219
|
|
|
214
220
|
export interface DailyParticipantPermissions {
|
|
@@ -230,18 +236,37 @@ export type DailyParticipantPermissionsUpdate = {
|
|
|
230
236
|
};
|
|
231
237
|
|
|
232
238
|
export interface DailyParticipant {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
239
|
+
/**
|
|
240
|
+
* @deprecated This property will be removed. Use tracks.audio.persistentTrack instead.
|
|
241
|
+
*/
|
|
242
|
+
audioTrack?: MediaStreamTrack | false;
|
|
243
|
+
/**
|
|
244
|
+
* @deprecated This property will be removed. Use tracks.video.persistentTrack instead.
|
|
245
|
+
*/
|
|
246
|
+
videoTrack?: MediaStreamTrack | false;
|
|
247
|
+
/**
|
|
248
|
+
* @deprecated This property will be removed. Use tracks.screenVideo.persistentTrack instead.
|
|
249
|
+
*/
|
|
250
|
+
screenVideoTrack?: MediaStreamTrack | false;
|
|
251
|
+
/**
|
|
252
|
+
* @deprecated This property will be removed. Use tracks.screenAudio.persistentTrack instead.
|
|
253
|
+
*/
|
|
254
|
+
screenAudioTrack?: MediaStreamTrack | false;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @deprecated This property will be removed. Use tracks.audio.state instead.
|
|
258
|
+
*/
|
|
240
259
|
audio: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* @deprecated This property will be removed. Use tracks.video.state instead.
|
|
262
|
+
*/
|
|
241
263
|
video: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* @deprecated This property will be removed. Use tracks.screenVideo.state instead.
|
|
266
|
+
*/
|
|
242
267
|
screen: boolean;
|
|
243
268
|
|
|
244
|
-
//
|
|
269
|
+
// track state
|
|
245
270
|
tracks: {
|
|
246
271
|
audio: DailyTrackState;
|
|
247
272
|
video: DailyTrackState;
|