Skip to content

Commit

Permalink
test(mediaAspect): log to debug on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
evandrododo committed Dec 10, 2023
1 parent 1b192ff commit 6fe7cf6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/WebCamVideoPlane/WebCamVideoPlane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}, []);
Expand Down

0 comments on commit 6fe7cf6

Please sign in to comment.