You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `incomingCall` event includes an `incomingCall` instance that you can accept or reject.
113
113
114
-
When starting/joining/accepting a call with video on, if the specified video camera device is being used by another process or if it's disabled in the system, the call starts with video off, and a cameraStartFailed: true call diagnostic will be raised.
114
+
When starting, joining, or accepting a call with video on, if the camera is being used by another process or if it's disabled in the operating system, the call starts with video off, and a cameraStartFailed: true call diagnostic is raised.
115
115
116
116
## Hold and resume call
117
117
@@ -124,17 +124,17 @@ To hold the call
124
124
```js
125
125
awaitcall.hold();
126
126
```
127
-
When `hold` API will resolve, call state will be set to 'LocalHold' , if this is a 1:1 call, other participant will be also put on hold, and state of the call from the perspective of that participant will be set to 'RemoteHold', That participant may further put its call on hold, which would result in state change to 'LocalHold'
128
-
If this is a group call - hold is just a local operation, it won't hold the call for other participants of that call.
127
+
When `hold` API resolves, the call state will be set to `LocalHold`, if this is a 1:1 call, the other participant will be also put on hold, and state of the call from the perspective of that participant will be set to 'RemoteHold'. The other participant may further put its call on hold, which would result in state change to `LocalHold`.
128
+
If this is a group call - the `hold` is just a local operation, it won't hold the call for other participants of that call.
129
129
To fully resume that call all users who initiated hold must resume it.
130
130
131
131
To resume call from hold:
132
132
```
133
133
await call.resume();
134
134
```
135
-
When `resume` API will resolve, call state will be set again to 'Connected'
135
+
When the `resume` API resolves, the call state will be set again to `Connected`.
136
136
137
-
## Mute and unmute
137
+
## Mute and unmute a call
138
138
139
139
To mute or unmute the local endpoint, you can use the `mute` and `unmute` asynchronous APIs:
When incoming audio is muted, the participant will still receive the call audio (remote participant's audio). The call audio won't play in the speaker and the participant won't be able to listen until 'call.unmuteIncomingAudio()' is called. However, we can apply filter on call audio and play the filtered audio.
161
+
When incoming audio is muted, the participant client SDK will still receive the call audio (remote participant's audio). The call audio won't be heard in the speaker and the participant won't be able to listen until 'call.unmuteIncomingAudio()' is called. However, we can apply filter on call audio and play the filtered audio.
To add a participant (either a user or a phone number) to a call, you can use `addParticipant`. Provide one of the `Identifier` types. It synchronously returns the `remoteParticipant` instance. The `remoteParticipantsUpdated` event from Call is raised when a participant is successfully added to the call.
191
+
To add a participant (either a user or a phone number) to a call, you can use the `addParticipant` API. Provide one of the `Identifier` types. It synchronously returns the `remoteParticipant` instance. The `remoteParticipantsUpdated` event from Call is raised when a participant is successfully added to the call.
Inspect active video streams and active screen sharing streams by checking the `localVideoStreams`collection. It returns `LocalVideoStream` objects or type `Video`, `ScreenSharing` or `RawMedia`.
347
+
Inspect the active video streams and active screen sharing streams by checking the `localVideoStreams`collection. The`localVideoStreams`API returns `LocalVideoStream` objects or type `Video`, `ScreenSharing` or `RawMedia`.
0 commit comments