Skip to content

Commit

Permalink
fix(JitsiMeetJS): Document desktopSharingSourceType
Browse files Browse the repository at this point in the history
  • Loading branch information
hristoterezov committed Jan 15, 2025
1 parent 7a15afa commit 1164ca6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion JitsiMeetJS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ interface ICreateLocalTrackOptions {
resolution?: string;
}

type desktopSharingSourceType = 'screen' | 'window';

interface IJitsiMeetJSOptions {
desktopSharingSources?: Array<desktopSharingSourceType>;
enableAnalyticsLogging?: boolean;
enableWindowOnErrorHandler?: boolean;
externalStorage?: Storage;
Expand Down Expand Up @@ -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<PreCallResult | any>} - A Promise that resolves with the test results or rejects with an error message.
*/
Expand Down

0 comments on commit 1164ca6

Please sign in to comment.