disable undesired features

This commit is contained in:
Jose B
2023-08-08 05:42:23 -05:00
parent 04d6a2cfae
commit 8397ca8c29
2 changed files with 7 additions and 2 deletions

View File

@@ -2,7 +2,8 @@ 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 WEBRTC_SERVER_URL =
process.env.NEXT_PUBLIC_WEBRTC_SERVER_URL || "http://127.0.0.1:1250/offer";
const useWebRTC = (stream) => {
const [data, setData] = useState({