diff --git a/www/app/components/webrtc.js b/www/app/components/webrtc.js index 02aea897..62bebb0d 100644 --- a/www/app/components/webrtc.js +++ b/www/app/components/webrtc.js @@ -1,6 +1,7 @@ import { useEffect, useState } from "react"; import Peer from "simple-peer"; +// allow customization of the WebRTC server URL from env const WEBRTC_SERVER_URL = process.env.NEXT_PUBLIC_WEBRTC_SERVER_URL || "http://127.0.0.1:1250/offer"; const useWebRTC = (stream) => {