@stream-io/video-react-bindings 0.0.1-alpha.32 → 0.0.1-alpha.34
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/CHANGELOG.md +22 -0
- package/dist/src/hooks/call.d.ts +7 -0
- package/dist/src/hooks/call.js +10 -0
- package/dist/src/hooks/call.js.map +1 -1
- package/dist/src/hooks/participants.d.ts +7 -0
- package/dist/src/hooks/participants.js +10 -0
- package/dist/src/hooks/participants.js.map +1 -1
- package/package.json +5 -5
- package/src/hooks/call.ts +11 -0
- package/src/hooks/participants.ts +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.0.1-alpha.34](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-bindings-0.0.1-alpha.33...@stream-io/video-react-bindings-0.0.1-alpha.34) (2023-05-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.0.1-alpha.33](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-bindings-0.0.1-alpha.32...@stream-io/video-react-bindings-0.0.1-alpha.33) (2023-05-16)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* Participant Count and Call StartedAt ([#504](https://github.com/GetStream/stream-video-js/issues/504)) ([c071139](https://github.com/GetStream/stream-video-js/commit/c071139c0c1fc2401941fc38bed077be0875b470))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [0.0.1-alpha.33](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-bindings-0.0.1-alpha.32...@stream-io/video-react-bindings-0.0.1-alpha.33) (2023-05-16)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* Participant Count and Call StartedAt ([#504](https://github.com/GetStream/stream-video-js/issues/504)) ([c071139](https://github.com/GetStream/stream-video-js/commit/c071139c0c1fc2401941fc38bed077be0875b470))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
5
27
|
## [0.0.1-alpha.32](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-bindings-0.0.1-alpha.31...@stream-io/video-react-bindings-0.0.1-alpha.32) (2023-05-16)
|
|
6
28
|
|
|
7
29
|
|
package/dist/src/hooks/call.d.ts
CHANGED
|
@@ -84,3 +84,10 @@ export declare const useCallRecordings: () => import("@stream-io/video-client").
|
|
|
84
84
|
* @category Call State
|
|
85
85
|
*/
|
|
86
86
|
export declare const useCallCallingState: () => import("@stream-io/video-client").CallingState;
|
|
87
|
+
/**
|
|
88
|
+
* Utility hook providing the actual start time of the call.
|
|
89
|
+
* Useful for calculating the call duration.
|
|
90
|
+
*
|
|
91
|
+
* @category Call State
|
|
92
|
+
*/
|
|
93
|
+
export declare const useCallStartedAt: () => Date | undefined;
|
package/dist/src/hooks/call.js
CHANGED
|
@@ -122,4 +122,14 @@ export const useCallCallingState = () => {
|
|
|
122
122
|
const { callingState$ } = useCallState();
|
|
123
123
|
return useObservableValue(callingState$);
|
|
124
124
|
};
|
|
125
|
+
/**
|
|
126
|
+
* Utility hook providing the actual start time of the call.
|
|
127
|
+
* Useful for calculating the call duration.
|
|
128
|
+
*
|
|
129
|
+
* @category Call State
|
|
130
|
+
*/
|
|
131
|
+
export const useCallStartedAt = () => {
|
|
132
|
+
const { startedAt$ } = useCallState();
|
|
133
|
+
return useObservableValue(startedAt$);
|
|
134
|
+
};
|
|
125
135
|
//# sourceMappingURL=call.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.js","sourceRoot":"","sources":["../../../src/hooks/call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CA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AO,kBAAkB,CAAC,UAAU,CAAC,CAAC;AACxC,CAAC,CAAC"}
|
|
@@ -35,3 +35,10 @@ export declare const useRemoteParticipants: () => StreamVideoParticipant[];
|
|
|
35
35
|
* @category Call State
|
|
36
36
|
*/
|
|
37
37
|
export declare const useParticipantCount: () => number;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the approximate anonymous participant count of the active call.
|
|
40
|
+
* The regular participants are not included in this count. It is computed on the server.
|
|
41
|
+
*
|
|
42
|
+
* @category Call State
|
|
43
|
+
*/
|
|
44
|
+
export declare const useAnonymousParticipantCount: () => number;
|
|
@@ -49,4 +49,14 @@ export const useParticipantCount = () => {
|
|
|
49
49
|
const { participantCount$ } = useCallState();
|
|
50
50
|
return useObservableValue(participantCount$);
|
|
51
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* Returns the approximate anonymous participant count of the active call.
|
|
54
|
+
* The regular participants are not included in this count. It is computed on the server.
|
|
55
|
+
*
|
|
56
|
+
* @category Call State
|
|
57
|
+
*/
|
|
58
|
+
export const useAnonymousParticipantCount = () => {
|
|
59
|
+
const { anonymousParticipantCount$ } = useCallState();
|
|
60
|
+
return useObservableValue(anonymousParticipantCount$);
|
|
61
|
+
};
|
|
52
62
|
//# sourceMappingURL=participants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"participants.js","sourceRoot":"","sources":["../../../src/hooks/participants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAKvC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,MAAM,MAOJ,EAAE,EAAE,EAAE;IACR,MAAM,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE,CAAC;IACzC,MAAM,YAAY,GAAG,kBAAkB,CAAC,aA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|
+
"@stream-io/i18n": "^0.0.1-alpha.23",
|
|
27
|
+
"@stream-io/video-client": "^0.0.1-alpha.147",
|
|
28
28
|
"react": ">=17.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@stream-io/i18n": "^0.0.1-alpha.
|
|
32
|
-
"@stream-io/video-client": "^0.0.1-alpha.
|
|
31
|
+
"@stream-io/i18n": "^0.0.1-alpha.23",
|
|
32
|
+
"@stream-io/video-client": "^0.0.1-alpha.147",
|
|
33
33
|
"@types/react": "^18.0.26",
|
|
34
34
|
"@types/rimraf": "^3.0.2",
|
|
35
35
|
"react": "^18.2.0",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"typedoc-plugin-markdown": "^3.15.3",
|
|
40
40
|
"typescript": "^4.9.5"
|
|
41
41
|
},
|
|
42
|
-
"version": "0.0.1-alpha.
|
|
42
|
+
"version": "0.0.1-alpha.34"
|
|
43
43
|
}
|
package/src/hooks/call.ts
CHANGED
|
@@ -134,3 +134,14 @@ export const useCallCallingState = () => {
|
|
|
134
134
|
const { callingState$ } = useCallState();
|
|
135
135
|
return useObservableValue(callingState$);
|
|
136
136
|
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Utility hook providing the actual start time of the call.
|
|
140
|
+
* Useful for calculating the call duration.
|
|
141
|
+
*
|
|
142
|
+
* @category Call State
|
|
143
|
+
*/
|
|
144
|
+
export const useCallStartedAt = () => {
|
|
145
|
+
const { startedAt$ } = useCallState();
|
|
146
|
+
return useObservableValue(startedAt$);
|
|
147
|
+
};
|
|
@@ -66,3 +66,14 @@ export const useParticipantCount = () => {
|
|
|
66
66
|
const { participantCount$ } = useCallState();
|
|
67
67
|
return useObservableValue(participantCount$);
|
|
68
68
|
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Returns the approximate anonymous participant count of the active call.
|
|
72
|
+
* The regular participants are not included in this count. It is computed on the server.
|
|
73
|
+
*
|
|
74
|
+
* @category Call State
|
|
75
|
+
*/
|
|
76
|
+
export const useAnonymousParticipantCount = () => {
|
|
77
|
+
const { anonymousParticipantCount$ } = useCallState();
|
|
78
|
+
return useObservableValue(anonymousParticipantCount$);
|
|
79
|
+
};
|