From 88ac7f0b5c3464fe24daff50bb2ab4b324ef84b6 Mon Sep 17 00:00:00 2001 From: Ivan Kokalovic <67540157+koke1997@users.noreply.github.com> Date: Wed, 25 Dec 2024 23:53:09 +0100 Subject: [PATCH] Update documentation on how to run the project Update `README.md` to improve documentation on how to run the project. * Remove redundant lines of code related to accessing camera for Port 1 and Port 2. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/koke1997/ScalaCast?shareId=XXXX-XXXX-XXXX-XXXX). --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 036b5ea..ef8a2e1 100644 --- a/README.md +++ b/README.md @@ -991,8 +991,6 @@ The project is now ready for release as a site for testing webcam functionality. .then(function(stream) { videoElement.srcObject = stream; videoElement.play(); - selectedCameraVideo.srcObject = stream; - selectedCameraVideo.play(); }) .catch(function(error) { console.error("Error accessing camera for Port 1: ", error); @@ -1007,8 +1005,6 @@ The project is now ready for release as a site for testing webcam functionality. .then(function(stream) { videoElement.srcObject = stream; videoElement.play(); - selectedCameraVideo.srcObject = stream; - selectedCameraVideo.play(); }) .catch(function(error) { console.error("Error accessing camera for Port 2: ", error);