Feat/403 webrtc live classrooms - #486
Open
Chigybillionz wants to merge 5 commits into
Open
Conversation
Implement passwordless authentication via WebAuthn passkeys as primary or second factor with device management and recovery flows. - Add Passkey Mongoose model for credential storage - Create WebAuthn service for registration/authentication ceremonies - Add passkey auth routes (register, login, MFA, device mgmt, recovery) - Create frontend components for registration, login, device management, MFA, and recovery - Extend AuthContext with passkey support - Preserve existing password-based auth for legacy users Closes AetherEdu#409 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Update package-lock.json (root) and frontend/package-lock.json to resolve @simplewebauthn/server and @simplewebauthn/browser dependencies required by the passkey authentication feature. Fixes CI failures caused by npm ci not finding the new packages. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Resolve lock file conflicts and sync with upstream main. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Implement synchronous classroom features with WebRTC audio/video, shared whiteboard, chat, breakout rooms, and session recording. - Create WebSocket signaling service for WebRTC offer/answer/ICE exchange - Add dedicated classroom session API routes (CRUD, join/leave, breakouts, recording) - Extend useWebRTC hook with group call support (mesh topology) - Create modular classroom UI components (VideoGrid, MediaControls, BreakoutRooms, ClassroomChat, SessionRecording) - Initialize signaling service in backend entry point - Add unit tests for classroom routes and signaling service Closes AetherEdu#403 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Title
feat: add WebRTC live group classrooms
──────────────────────────────────────────────────────────────────────────────
PR Description
Summary
Implement synchronous classroom features with WebRTC audio/video, shared whiteboard, chat, breakout rooms, and session recording. Adds a WebSocket-based signaling service, dedicated classroom API routes, and modular frontend components for live group classes.
Issue
Closes #403
Root Cause
The platform lacked dedicated infrastructure for real-time synchronous classrooms. While useClassroomMedia.ts handled group WebRTC calls via HTTP polling, there was no WebSocket signaling service, no dedicated classroom routes, and the UI was a monolithic 500+ line component with no modular breakdown.
Solution Implemented
Built a complete live classroom system with three layers:
Key Changes
Affected Files
Trade-offs / Considerations
Testing
// bash
cd backend && npx jest src/tests/classroomRoutes.test.ts src/tests/signalingService.test.ts --no-coverage
CI Verification
Please kindly review this task. If there are any corrections, improvements, adjustments, or merge conflicts that you notice regarding my implementation, I'd really appreciate your feedback. I'd also love to hear your overall review of my work on this branch.
Thank you!