@@ -562,17 +562,17 @@ class RTCUtils extends Listenable {
562562 * @param {Object } [options.desktopSharingFrameRate]
563563 * @param {Object } [options.desktopSharingFrameRate.min] - Minimum fps
564564 * @param {Object } [options.desktopSharingFrameRate.max] - Maximum fps
565- * @param {string } [options.desktopSharingSourceDevice] The device id or
565+ * @param {string } [options.desktopSharingSourceDevice] - The device id or
566566 * label for a video input source that should be used for screensharing.
567- * @param {Array< string> } [options.desktopSharingSources] - The types of sources ("screen", "window", etc)
567+ * @param {string[] } [options.desktopSharingSources] - The types of sources ("screen", "window", etc)
568568 * from which the user can select what to share.
569- * @param {string } [options.cameraDeviceId] - camera device id
570- * @param {string } [options.micDeviceId] - microphone device id
571- * @param {string } [options.resolution] - resolution constraints
572- * @param {Array } [options.effects] - optional effects array for the track
569+ * @param {string } [options.cameraDeviceId] - Camera device id
570+ * @param {string } [options.micDeviceId] - Microphone device id
571+ * @param {string } [options.resolution] - Resolution constraints
572+ * @param {IStreamEffect[] } [options.effects] - Optional effects array for the track
573573 * @param {ITrackConstraints } [options.constraints] - The constraints to use for
574574 * the audio and video tracks.
575- * @returns {Promise } The promise, when successful, will return an array of
575+ * @returns {Promise<IStreamInfo[]> } The promise, when successful, will return an array of
576576 * meta data for the requested device type, which includes the stream and
577577 * track. If an error occurs, it will be deferred to the caller for
578578 * handling.
0 commit comments