@daily-co/react-native-daily-js 0.21.0 → 0.22.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.21.0",
3
+ "version": "0.22.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.23.0",
29
+ "@daily-co/daily-js": "^0.24.0",
30
30
  "@types/react-native-background-timer": "^2.0.0",
31
31
  "react-native-url-polyfill": "^1.1.2"
32
32
  },
@@ -9,6 +9,7 @@
9
9
  import {
10
10
  MediaStreamTrack,
11
11
  MediaDeviceInfo,
12
+ MediaTrackConstraints,
12
13
  } from '@daily-co/react-native-webrtc';
13
14
 
14
15
  /**
@@ -86,11 +87,7 @@ export type DailyFatalErrorType =
86
87
  | 'exp-room'
87
88
  | 'exp-token';
88
89
 
89
- export type DailyNonFatalErrorType =
90
- | 'input-settings-error'
91
- | 'screen-share-error'
92
- | 'video-processor-error'
93
- | 'remote-media-player-error';
90
+ export type DailyNonFatalErrorType = 'remote-media-player-error';
94
91
 
95
92
  export interface DailyParticipantsObject {
96
93
  local: DailyParticipant;
@@ -124,6 +121,7 @@ export interface DailyLoadOptions extends DailyCallOptions {
124
121
 
125
122
  export interface DailyAdvancedConfig {
126
123
  experimentalGetUserMediaConstraintsModify?: (constraints: any) => void;
124
+ userMediaVideoConstraints?: boolean | MediaTrackConstraints;
127
125
  preferH264ForCam?: boolean;
128
126
  h264Profile?: string;
129
127
  }
@@ -269,6 +267,7 @@ export interface DailyRoomInfo {
269
267
  enable_knocking?: boolean;
270
268
  enable_network_ui?: boolean;
271
269
  enable_people_ui?: boolean;
270
+ enable_pip_ui?: boolean;
272
271
  enable_prejoin_ui?: boolean;
273
272
  enable_video_processing_ui?: boolean;
274
273
  start_video_off?: boolean;
@@ -298,6 +297,7 @@ export interface DailyRoomInfo {
298
297
  max_live_streams?: number;
299
298
  enable_network_ui?: boolean;
300
299
  enable_people_ui?: boolean;
300
+ enable_pip_ui?: boolean;
301
301
  enable_prejoin_ui?: boolean;
302
302
  enable_video_processing_ui?: boolean;
303
303
  };