diff --git a/shared/video-sdk/develop/screen-sharing/project-implementation/electron.mdx b/shared/video-sdk/develop/screen-sharing/project-implementation/electron.mdx index 76f06aa28..121a0c33f 100644 --- a/shared/video-sdk/develop/screen-sharing/project-implementation/electron.mdx +++ b/shared/video-sdk/develop/screen-sharing/project-implementation/electron.mdx @@ -68,6 +68,10 @@ const sources = engine.getScreenCaptureSources( }); ``` + + If you want to share screen captured audio while sharing the screen, you need to call `enableLoopbackRecording` to enable the sound card capture function to merge the sound played by the sound card into the local audio stream. + + - To publish both a stream and the video stream captured by the local camera simultaneously, add the following code to your project: ``` typescript diff --git a/shared/video-sdk/develop/screen-sharing/reference/electron.mdx b/shared/video-sdk/develop/screen-sharing/reference/electron.mdx index 97fb769a8..ff10a0480 100644 --- a/shared/video-sdk/develop/screen-sharing/reference/electron.mdx +++ b/shared/video-sdk/develop/screen-sharing/reference/electron.mdx @@ -18,4 +18,6 @@ - `stopScreenCapture` +- `enableLoopbackRecording` + \ No newline at end of file