Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

💩(frontend) introduce transcription store

lebaudantoineac9ba0df623f
diff --git a/src/frontend/src/stores/transcription.ts b/src/frontend/src/stores/transcription.ts
new file mode 100644
index 00000000..1b4b8caf
--- /dev/null
+++ b/src/frontend/src/stores/transcription.ts
@@ -0,0 +1,16 @@
+import { proxy } from 'valtio'
+
+export enum TranscriptionStatus {
+ STARTING,
+ STARTED,
+ STOPPING,
+ STOPPED,
+}
+
+type State = {
+ status: TranscriptionStatus
+}
+
+export const transcriptionStore = proxy<State>({
+ status: TranscriptionStatus.STOPPED,
+})