From f4988c3eac6065df4ebb725a3673438fb1f390f4 Mon Sep 17 00:00:00 2001 From: saudsami Date: Fri, 5 Jul 2024 11:54:01 +0500 Subject: [PATCH] review updates --- .../project-implementation/web.mdx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/shared/video-sdk/develop/screen-sharing/project-implementation/web.mdx b/shared/video-sdk/develop/screen-sharing/project-implementation/web.mdx index 01ad5c66a..b45c91007 100644 --- a/shared/video-sdk/develop/screen-sharing/project-implementation/web.mdx +++ b/shared/video-sdk/develop/screen-sharing/project-implementation/web.mdx @@ -7,13 +7,11 @@ This section shows you how to implement in your extension. +The Web SDK supports on Chrome version 58 and higher. Follow these steps to share your screen. -The Web SDK supports on Chrome version 58 and above. You can follow these steps to share your screen. +Call `createScreenVideoTrack` to create a track. -Call `createScreenVideoTrack` to create a track. - -This method requires Chrome 74 or above. If you are using an older version, please use the screen sharing plug-in to share the screen on Chrome. +This method requires Chrome 74 or above. If you are using an older version, use the screen sharing plug-in to share the screen. ```javascript AgoraRTC.createScreenVideoTrack({ @@ -28,7 +26,7 @@ AgoraRTC.createScreenVideoTrack({ #### Share audio -The Web SDK supports simultaneous and locally played background sounds on Windows and macOS platforms with the Chrome browser version 74 and higher. +The Web SDK supports simultaneous sharing the screen and locally played background sounds on Windows and macOS platforms with the Chrome browser version 74 and higher. When calling the `createScreenVideoTrack` method, set the `withAudio` parameter to `enable`. @@ -45,13 +43,13 @@ AgoraRTC.createScreenVideoTrack({ }); ``` -##### Additional notes + +- After you call the method, the end user must check **Share Audio** in the popup box for the setting to take effect. -- After the method is called, the end user must check **Share Audio** in the popup box for the setting to take effect. + ![Chrome Screen Share](/images/video-sdk/tmp_screen-sharing-web-chrome.png) - If you choose to share a single app window, the audio cannot be shared. - -![Chrome Screen Share](/images/video-sdk/tmp_screen-sharing-web-chrome.png) + ### Edge browser