Skip to content

Commit 3617f39

Browse files
authored
Update manage-calls-web.md
1 parent 647003e commit 3617f39

File tree

1 file changed

+23
-23
lines changed
  • articles/communication-services/how-tos/cte-calling-sdk/includes/manage-calls

1 file changed

+23
-23
lines changed

articles/communication-services/how-tos/cte-calling-sdk/includes/manage-calls/manage-calls-web.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ Remote participants represent an endpoint connected to the ongoing Teams call or
148148

149149
- `identifier`: Returns one of the following identifiers: `CommunicationUserIdentifier`, `MicrosoftTeamsUserIdentifier`, `PhoneNumberIdentifier`, or `UnknownIdentifier`.
150150

151-
```js
152-
const identifier = remoteParticipant.identifier;
153-
```
151+
```js
152+
const identifier = remoteParticipant.identifier;
153+
```
154154

155155
- `state`: Returns a `string` that represents a state of a remote participant. The state can have one of the following values:
156156

@@ -166,40 +166,40 @@ Remote participants represent an endpoint connected to the ongoing Teams call or
166166
|`Disconnected` | Final state | The participant is disconnected from the call. If the remote participant loses their network connectivity, their state changes to `Disconnected` after two minutes. |
167167

168168

169-
```js
170-
const state = remoteParticipant.state;
171-
```
169+
```js
170+
const state = remoteParticipant.state;
171+
```
172172

173173
- `callEndReason`: Returns an object containing additional information about the reason the call ended. Property `code` returns a number associated with the reason, and `subCode` returns a number associated with the code and the reason. You can find more information about [error codes](../../../../concepts/troubleshooting-info.md#calling-sdk-error-codes).
174174

175-
```js
176-
const callEndReason = remoteParticipant.callEndReason;
177-
const callEndReasonCode = callEndReason.code
178-
const callEndReasonSubCode = callEndReason.subCode
179-
```
175+
```js
176+
const callEndReason = remoteParticipant.callEndReason;
177+
const callEndReasonCode = callEndReason.code
178+
const callEndReasonSubCode = callEndReason.subCode
179+
```
180180

181181
- `isMuted`: Returns `Boolean` value representing a status of local mute.
182182

183-
```js
184-
const isMuted = remoteParticipant.isMuted;
185-
```
183+
```js
184+
const isMuted = remoteParticipant.isMuted;
185+
```
186186

187187
- `isSpeaking`: Returns `Boolean` value representing the status of non-empty audio being sent.
188188

189-
```js
190-
const isSpeaking = remoteParticipant.isSpeaking;
191-
```
189+
```js
190+
const isSpeaking = remoteParticipant.isSpeaking;
191+
```
192192

193193
- `videoStreams`: Returns collection of `RemoteVideoStream` objects sent by participants.
194194

195-
```js
196-
const videoStreams = remoteParticipant.videoStreams; // [RemoteVideoStream, ...]
197-
```
195+
```js
196+
const videoStreams = remoteParticipant.videoStreams; // [RemoteVideoStream, ...]
197+
```
198198
- `displayName`: Returns a `string` representing display name. Communication Services calling SDK does not set this value for Teams users.
199199

200-
```js
201-
const displayName = remoteParticipant.displayName;
202-
```
200+
```js
201+
const displayName = remoteParticipant.displayName;
202+
```
203203

204204
## Call
205205

0 commit comments

Comments
 (0)