Skip to content

Commit

Permalink
👌 remove unwanted comment
Browse files Browse the repository at this point in the history
  • Loading branch information
arunachalam-monk committed Aug 5, 2024
1 parent 05686f3 commit c876698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/camera-web/src/Camera/hooks/useUserMedia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export function useUserMedia(
deviceId: { exact: deviceDetails.validDeviceIds },
},
};
const str = await navigator.mediaDevices.getUserMedia(updatedConstraints); // CHANGE
const str = await navigator.mediaDevices.getUserMedia(updatedConstraints);
str?.addEventListener('inactive', onStreamInactive);
if (isActive.current) {
setStream(str);
Expand Down

0 comments on commit c876698

Please sign in to comment.