Skip to content

Commit

Permalink
Fix switch camera method description
Browse files Browse the repository at this point in the history
  • Loading branch information
fgarciachipi committed Apr 3, 2024
1 parent e65a62e commit eb831a4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions dist/types/preview.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ export interface LocalVideoTrack {
* Determines whether to crop the background image to an appropriate aspect ratio (16/9), default is false.
*/
cropped?: boolean;
},
}
): Promise<void | Error>;
/**
* Stops local video capture.
*/
stop(): Promise<void | Error>;
/**
* Switch microphone.
* @param deviceId The ID of the microphone to switch to.
* Switch camera.
* @param deviceId The ID of the camera to switch to.
*/
switchCamera(deviceId: string): Promise<void | Error>;
/**
Expand All @@ -128,7 +128,7 @@ export interface LocalVideoTrack {
*/
updateVirtualBackground(
imageUrl?: string,
cropped?: boolean,
cropped?: boolean
): Promise<void | Error>;
}
/**
Expand Down Expand Up @@ -164,5 +164,7 @@ export interface LocalAudioTrack {
Tests the microphone, usually used to test the microphone before a meeting.
* @param options the test microphone option.
*/
testMicrophone(options?: TestMicrophoneOption): TestMicrophoneReturn | undefined;
testMicrophone(
options?: TestMicrophoneOption
): TestMicrophoneReturn | undefined;
}

0 comments on commit eb831a4

Please sign in to comment.