"use client"; import React, { useState } from "react"; import Recorder from "./components/record.js"; import { Dashboard } from "./components/dashboard.js"; import useWebRTC from "./components/webrtc.js"; import "../public/button.css"; const App = () => { const [stream, setStream] = useState(null); // This is where you'd send the stream and receive the data from the server. // transcription, summary, etc const serverData = useWebRTC(stream, () => {}); const text = serverData?.text ?? ""; return (
Capture The Signal, Not The Noise