Currently, I am delving into webRTC tutorials and relying on two main resources for guidance:
Sitepoint tutorial and Scotch tutorial
Upon deploying the app from the first tutorial found at this GitHub repository:
https://github.com/sitepoint-editors/simplewebrtc-messenger.git
Although the app works fine when deployed on Now.sh, I encounter an issue with joining different users.
TLDR;
Here is my Deployed App. Whenever I attempt to join a remote connection, the following error message appears:
Uncaught DOMException: Failed to construct 'RTCPeerConnection': 'stun.l.google.com' is not one of the supported URL schemes 'stun', 'turn' or 'turns'.
You can find the source code below:
// Your JavaScript code goes here ...
// Your CSS styles go here ...
<!DOCTYPE html>
<html>
<head>
<title>Your Title Here</title>
<link rel="stylesheet" href="YourCSSFile.css">
<script src="YourJavaScriptFile.js"></script>
</head>
<body>
<div class="container">
<div id="content-section">
<p>Content goes here.</p>
</div>
</div>
</body>
</html>
Any insights on what might be causing this issue would be greatly appreciated!