From 1164ca671a206f3195a8971dfa2b1bac6a054748 Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Wed, 15 Jan 2025 12:59:34 -0600 Subject: [PATCH] fix(JitsiMeetJS): Document desktopSharingSourceType --- JitsiMeetJS.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/JitsiMeetJS.ts b/JitsiMeetJS.ts index f7fb75cd00..249665bdef 100644 --- a/JitsiMeetJS.ts +++ b/JitsiMeetJS.ts @@ -76,7 +76,10 @@ interface ICreateLocalTrackOptions { resolution?: string; } +type desktopSharingSourceType = 'screen' | 'window'; + interface IJitsiMeetJSOptions { + desktopSharingSources?: Array; enableAnalyticsLogging?: boolean; enableWindowOnErrorHandler?: boolean; externalStorage?: Storage; @@ -470,7 +473,7 @@ export default { /** * Run a pre-call test to check the network conditions. - * + * * @param {IceServer} iceServers - The ICE servers to use for the test, * @returns {Promise} - A Promise that resolves with the test results or rejects with an error message. */