mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 21:29:05 +00:00
Ability to load past meetings + URL management
This commit is contained in:
@@ -10,7 +10,7 @@ import "../../styles/button.css";
|
||||
import { Topic } from "../webSocketTypes";
|
||||
import getApi from "../../lib/getApi";
|
||||
|
||||
const App = () => {
|
||||
const TranscriptCreate = () => {
|
||||
const [stream, setStream] = useState<MediaStream | null>(null);
|
||||
const [disconnected, setDisconnected] = useState<boolean>(false);
|
||||
const useActiveTopic = useState<Topic | null>(null);
|
||||
@@ -26,9 +26,9 @@ const App = () => {
|
||||
}, []);
|
||||
|
||||
const api = getApi();
|
||||
const transcript = useTranscript(api);
|
||||
const webRTC = useWebRTC(stream, transcript.response?.id, api);
|
||||
const webSockets = useWebSockets(transcript.response?.id);
|
||||
const transcript = useTranscript(stream, api);
|
||||
const webRTC = useWebRTC(stream, transcript?.response?.id, api);
|
||||
const webSockets = useWebSockets(transcript?.response?.id);
|
||||
const {
|
||||
loading,
|
||||
permissionOk,
|
||||
@@ -52,6 +52,7 @@ const App = () => {
|
||||
getAudioStream={getAudioStream}
|
||||
audioDevices={audioDevices}
|
||||
useActiveTopic={useActiveTopic}
|
||||
isPastMeeting={false}
|
||||
/>
|
||||
|
||||
<Dashboard
|
||||
@@ -97,4 +98,4 @@ const App = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
export default TranscriptCreate;
|
||||
|
||||
Reference in New Issue
Block a user