@tellescope/video-chat 0.0.86 → 0.0.89
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/lib/cjs/index.d.ts +0 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -7
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/native/RNVideoRenderView.d.ts.map +1 -1
- package/lib/cjs/native/RNVideoRenderView.js +1 -3
- package/lib/cjs/native/RNVideoRenderView.js.map +1 -1
- package/lib/cjs/video.native.js +25 -25
- package/lib/cjs/video.native.js.map +1 -1
- package/lib/esm/controls.d.ts +1 -0
- package/lib/esm/controls.d.ts.map +1 -1
- package/lib/esm/index.d.ts +0 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +0 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/native/RNVideoRenderView.d.ts.map +1 -1
- package/lib/esm/native/RNVideoRenderView.js +1 -3
- package/lib/esm/native/RNVideoRenderView.js.map +1 -1
- package/lib/esm/video.d.ts +1 -0
- package/lib/esm/video.d.ts.map +1 -1
- package/lib/esm/video.native.js +1 -1
- package/lib/esm/video.native.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/src/index.ts +1 -9
- package/src/native/RNVideoRenderView.tsx +1 -3
- package/src/video.native.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tellescope/video-chat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.89",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@fontsource/roboto": "^4.5.1",
|
|
34
34
|
"@mui/icons-material": "^5.0.1",
|
|
35
35
|
"@mui/material": "^5.0.2",
|
|
36
|
-
"@tellescope/constants": "^0.0.
|
|
37
|
-
"@tellescope/react-components": "^0.0.
|
|
38
|
-
"@tellescope/sdk": "^0.0.
|
|
39
|
-
"@tellescope/types-client": "^0.0.
|
|
40
|
-
"@tellescope/types-models": "^0.0.
|
|
41
|
-
"@tellescope/types-utilities": "^0.0.
|
|
42
|
-
"@tellescope/utilities": "^0.0.
|
|
36
|
+
"@tellescope/constants": "^0.0.89",
|
|
37
|
+
"@tellescope/react-components": "^0.0.89",
|
|
38
|
+
"@tellescope/sdk": "^0.0.89",
|
|
39
|
+
"@tellescope/types-client": "^0.0.89",
|
|
40
|
+
"@tellescope/types-models": "^0.0.89",
|
|
41
|
+
"@tellescope/types-utilities": "^0.0.89",
|
|
42
|
+
"@tellescope/utilities": "^0.0.89",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
44
44
|
"@typescript-eslint/parser": "^4.33.0",
|
|
45
45
|
"amazon-chime-sdk-component-library-react": "^2.12.0",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"styled-system": "^5.1.5"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"react": "^17.0.
|
|
55
|
-
"react-dom": "^17.0.
|
|
54
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
55
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "2414322f9182951dc03c98dfd0c1cf59c39be4b4",
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
}
|
package/src/index.ts
CHANGED
|
@@ -3,12 +3,4 @@ export * from "./controls"
|
|
|
3
3
|
export {
|
|
4
4
|
CurrentCallContext,
|
|
5
5
|
useCurrentCallContext,
|
|
6
|
-
} from "./video_shared"
|
|
7
|
-
export {
|
|
8
|
-
RNVideoRenderView,
|
|
9
|
-
} from "./native/RNVideoRenderView"
|
|
10
|
-
export {
|
|
11
|
-
MobileSDKEvent,
|
|
12
|
-
NativeFunction,
|
|
13
|
-
getSDKEventEmitter,
|
|
14
|
-
} from "./native/bridge"
|
|
6
|
+
} from "./video_shared"
|
|
@@ -15,8 +15,7 @@ export class RNVideoRenderView extends React.Component<{ tileId: number, style?:
|
|
|
15
15
|
// So we need to dispatch bindVideoView after this function complete
|
|
16
16
|
setTimeout(() => {
|
|
17
17
|
NativeFunction.bindVideoView(findNodeHandle(this), this.props.tileId);
|
|
18
|
-
});
|
|
19
|
-
// can try setting a longer timeout
|
|
18
|
+
}, 1000); // use explicit 1s timeout to avoid crashes on self-video toggle
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
componentWillUnmount() {
|
|
@@ -28,6 +27,5 @@ export class RNVideoRenderView extends React.Component<{ tileId: number, style?:
|
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
|
|
31
|
-
// can try ts ignore and using RNVideoView as a second argument to this function
|
|
32
30
|
// @ts-ignore
|
|
33
31
|
const RNVideoRenderViewNative = requireNativeComponent('RNVideoView', RNVideoRenderView);
|
package/src/video.native.tsx
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
getSDKEventEmitter,
|
|
40
40
|
MobileSDKEvent,
|
|
41
41
|
NativeFunction,
|
|
42
|
-
} from "./index"
|
|
42
|
+
} from "./index.native"
|
|
43
43
|
|
|
44
44
|
interface TileState {
|
|
45
45
|
isLocal: boolean,
|
|
@@ -178,7 +178,7 @@ export const SelfView = ({ style } : VideoViewProps) => {
|
|
|
178
178
|
if (localTileId === null) return null // localTileId may be zero, don't return null on simple falsey check
|
|
179
179
|
|
|
180
180
|
return (
|
|
181
|
-
<RNVideoRenderView style={convert_CSS_to_RNStyles(style) ?? styles.video} tileId={localTileId}/>
|
|
181
|
+
<RNVideoRenderView style={convert_CSS_to_RNStyles(style) ?? styles.video} tileId={localTileId} />
|
|
182
182
|
)
|
|
183
183
|
}
|
|
184
184
|
|