Skip to content

Commit

Permalink
chore: startCameraCapture need pass format NMS-20523
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Apr 16, 2024
1 parent 077d531 commit 1595c2c
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,14 @@ export default class LocalVideoTranscoder
this.error('sourceType is invalid');
return;
}
this.engine?.startCameraCapture(sourceType, { deviceId });
this.engine?.startCameraCapture(sourceType, {
deviceId,
format: {
width: 1920,
height: 1080,
fps: 60,
},
});
};

stopCameraCapture = (deviceId: string) => {
Expand Down

0 comments on commit 1595c2c

Please sign in to comment.