From 6fe7cf6fe9b3e0ebe34d226b342bd927ac56dcaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dod=C3=B4=20Evandro?= Date: Sat, 9 Dec 2023 22:36:03 -0300 Subject: [PATCH] test(mediaAspect): log to debug on mobile --- src/components/WebCamVideoPlane/WebCamVideoPlane.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/WebCamVideoPlane/WebCamVideoPlane.tsx b/src/components/WebCamVideoPlane/WebCamVideoPlane.tsx index 0493f28..1fb87cc 100644 --- a/src/components/WebCamVideoPlane/WebCamVideoPlane.tsx +++ b/src/components/WebCamVideoPlane/WebCamVideoPlane.tsx @@ -36,6 +36,11 @@ export const WebCamVideoPlane = () => { media.then((stream) => { console.log("stream", stream); + console.log("stream.getVideoTracks()", stream.getVideoTracks()); + console.log( + "stream.getVideoTracks()[0].getSettings()", + stream.getVideoTracks()[0].getSettings() + ); setUserMedia(stream); }); }, []);