@clockworkdog/cogs-client-react 1.4.0 → 1.4.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export interface RtspVideoProps
|
|
2
|
+
export interface RtspVideoProps {
|
|
3
3
|
uri: string;
|
|
4
4
|
websocketHostname?: string;
|
|
5
5
|
websocketPort?: number;
|
|
@@ -10,4 +10,4 @@ export interface RtspVideoProps extends React.DetailedHTMLProps<React.VideoHTMLA
|
|
|
10
10
|
* websocket on the same hostname as COGS is running, but can be configured by passing in custom
|
|
11
11
|
* websocket details.
|
|
12
12
|
*/
|
|
13
|
-
export default function RtspVideo({ uri, websocketHostname, websocketPort, websocketPath, ...rest }: RtspVideoProps): JSX.Element | null;
|
|
13
|
+
export default function RtspVideo({ uri, websocketHostname, websocketPort, websocketPath, ...rest }: RtspVideoProps & React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>): JSX.Element | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export { default as useShowPhase } from './hooks/useShowPhase';
|
|
|
10
10
|
export { default as useWhenShowReset } from './hooks/useWhenShowReset';
|
|
11
11
|
export { default as useAudioClips } from './hooks/useAudioClips';
|
|
12
12
|
export { default as useIsAudioPlaying } from './hooks/useIsAudioPlaying';
|
|
13
|
-
export { default as RtspVideo } from './components/RtspVideo';
|
|
13
|
+
export { default as RtspVideo, RtspVideoProps } from './components/RtspVideo';
|
|
14
14
|
export { default as VideoContainer } from './components/VideoContainer';
|
|
15
15
|
export { default as useHint } from './hooks/useHint';
|
|
16
16
|
export { default as Hint } from './components/Hint';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clockworkdog/cogs-client-react",
|
|
3
|
-
"version": "v1.4.
|
|
3
|
+
"version": "v1.4.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typescript": "^4.1.3"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@clockworkdog/cogs-client": "^1.4.
|
|
34
|
+
"@clockworkdog/cogs-client": "^1.4.2"
|
|
35
35
|
},
|
|
36
36
|
"description": "React components and hooks to connect to COGS to build a custom Media Master",
|
|
37
37
|
"repository": {
|