From c43c44b84f0bf73805f9272c24e4751f03d12cb3 Mon Sep 17 00:00:00 2001 From: Dasun Nirmitha Date: Thu, 13 Jun 2024 15:13:52 +0530 Subject: [PATCH] ENDOC-269 Rtc weekly 0411 --- .../screen-sharing/project-implementation/electron.mdx | 4 ++++ .../video-sdk/develop/screen-sharing/reference/electron.mdx | 2 ++ 2 files changed, 6 insertions(+) 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