We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695afbd commit 35144caCopy full SHA for 35144ca
articles/communication-services/how-tos/calling-sdk/includes/manage-video/manage-video-web.md
@@ -209,9 +209,9 @@ const view = await videoStreamRenderer.createView();
209
htmlElement.appendChild(view.target);
210
211
// To stop viewing local screen share preview, dispose the screen share preview first, then stop screen sharing.
212
+await call.stopScreenSharing();
213
view.dispose();
214
htmlElement.removeChild(view.target);
-await call.stopScreenSharing();
215
216
// Screen sharing can also be stoped by clicking on the native browser's "Stop sharing" button.
217
// The isScreenSharingOnChanged event will be triggered where you can check the value of call.isScreenSharingOn.
0 commit comments