This commit is contained in:
yumoqing 2024-08-28 11:13:36 +08:00
parent 837920d986
commit 4d72b02899

View File

@ -59,7 +59,7 @@ bricks.RTCClient = class extends bricks.VBox {
} }
} }
async function captureScreen() { async captureScreen() {
let mediaStream = null; let mediaStream = null;
try { try {
mediaStream = await navigator.mediaDevices.getDisplayMedia({ mediaStream = await navigator.mediaDevices.getDisplayMedia({