mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
feat: implement frontend video platform configuration and abstraction
- Add NEXT_PUBLIC_VIDEO_PLATFORM environment variable support - Create video platform abstraction layer with factory pattern - Implement Whereby and Jitsi platform providers - Update room meeting page to use platform-agnostic component - Add platform display in room management (cards and table views) - Support single platform per deployment configuration - Maintain backward compatibility with existing Whereby integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -10,4 +10,9 @@ export const localConfig = {
|
||||
websocket_url: "ws://127.0.0.1:1250",
|
||||
auth_callback_url: "http://localhost:3000/auth-callback",
|
||||
zulip_streams: "", // Find the value on zulip
|
||||
// Video platform configuration - set via NEXT_PUBLIC_VIDEO_PLATFORM env variable
|
||||
// Options: "whereby" | "jitsi"
|
||||
video_platform:
|
||||
(process.env.NEXT_PUBLIC_VIDEO_PLATFORM as "whereby" | "jitsi") ||
|
||||
"whereby",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user