File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
client/docusaurus/docs/javascript/02-guides
react-native-sdk/docusaurus/docs/reactnative/03-core Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ Here is an excerpt of the call state properties:
55
55
| ` createdBy$ ` | ` createdBy ` | The user who created the call. |
56
56
| ` custom$ ` | ` custom ` | Custom data attached to the call. |
57
57
| ` dominantSpeaker$ ` | ` dominantSpeaker ` | The participant that is the current dominant speaker of the call. |
58
+ | ` duration$ ` | ` duration ` | The duration since the start of the call in seconds. |
58
59
| ` egress$ ` | ` egress ` | The egress data of the call (for broadcasting and livestreaming). |
59
60
| ` endedAt$ ` | ` endedAt ` | The time the call was ended. |
60
61
| ` endedBy$ ` | ` endedBy ` | The user who ended the call. |
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ Here is an excerpt of the available call state hooks:
69
69
| ` useCallCreatedAt ` | The time the call was created. |
70
70
| ` useCallCreatedBy ` | The user that created the call. |
71
71
| ` useCallCustomData ` | The custom data attached to the call. |
72
+ | ` useCallDuration ` | The call duration since the start of the call in seconds. |
72
73
| ` useCallEgress ` | The egress information of the call. |
73
74
| ` useCallEndedBy ` | The user that ended the call. |
74
75
| ` useCallIngress ` | The ingress information of the call. |
@@ -205,7 +206,7 @@ const hosts = participants.filter((p) => p.roles.includes('host'));
205
206
206
207
// participants that publish video and audio
207
208
const videoParticipants = participants .filter (
208
- (p ) => hasVideo (p ) && hasAudio (p ),
209
+ (p ) => hasVideo (p ) && hasAudio (p )
209
210
);
210
211
```
211
212
You can’t perform that action at this time.
0 commit comments