Skip to content

Commit e6ff213

Browse files
authored
Update README.md
change wrong comments
1 parent 01b31d0 commit e6ff213

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,20 +280,20 @@ call.stopVideo();
280280
// receives the audio event
281281
call.onRemoteAudioSettingsChanged = (call) => {
282282
if (call.isRemoteAudioEnabled) {
283-
// The peer has been muted.
284-
// Consider displaying an unmuted icon.
283+
// The peer has been unmuted.
284+
// Consider displaying a muted icon.
285285
} else {
286286
// The peer has been muted.
287-
// Consider displaying and toggling a muted icon.
287+
// Consider displaying an unmuted icon.
288288
}
289289
};
290290

291291
// receives the video event
292292
call.onRemoteVideoSettingsChanged = (call) => {
293293
if (call.isRemoteVideoEnabled) {
294-
// The peer has stopped the video.
295-
} else {
296294
// The peer has started the video.
295+
} else {
296+
// The peer has stopped the video.
297297
}
298298
};
299299
```
@@ -430,4 +430,4 @@ Information relating the end result of a call can be obtained at any time via th
430430
|CONNECTION_LOST | The data stream from either the caller or the callee has stopped due to a WebRTC connection issue.|
431431
|DIAL_FAILED | The dial() method call has failed. |
432432
|ACCEPT_FAILED | The accept() method call has failed.|
433-
|OTHER_DEVICE_ACCEPTED | The incoming call was accepted on a different device. This device received an incoming call notification, but the call ended when a different device accepted it.|
433+
|OTHER_DEVICE_ACCEPTED | The incoming call was accepted on a different device. This device received an incoming call notification, but the call ended when a different device accepted it.|

0 commit comments

Comments
 (0)