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
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,20 +280,20 @@ call.stopVideo();
280
280
// receives the audio event
281
281
call.onRemoteAudioSettingsChanged= (call) => {
282
282
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.
285
285
} else {
286
286
// The peer has been muted.
287
-
// Consider displaying and toggling a muted icon.
287
+
// Consider displaying an unmuted icon.
288
288
}
289
289
};
290
290
291
291
// receives the video event
292
292
call.onRemoteVideoSettingsChanged= (call) => {
293
293
if (call.isRemoteVideoEnabled) {
294
-
// The peer has stopped the video.
295
-
} else {
296
294
// The peer has started the video.
295
+
} else {
296
+
// The peer has stopped the video.
297
297
}
298
298
};
299
299
```
@@ -430,4 +430,4 @@ Information relating the end result of a call can be obtained at any time via th
430
430
|CONNECTION_LOST | The data stream from either the caller or the callee has stopped due to a WebRTC connection issue.|
431
431
|DIAL_FAILED | The dial() method call has failed. |
432
432
|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