How nextcloud/spreed works
Nextcloud Talk is a Nextcloud audio/video conferencing and messaging app. Users open or create a conversation, invite or join participants, then chat and participate in calls; the app also supports federation, polls, integrations and administration. The graph shows the documented product branches and core backend layers. Several frontend and integration paths come from the README or tree rather than sampled implementation, so those relationships are marked unverified where appropriate.
Main entry points: App.vue Talk interface · ParticipantService.php Participant management · FederationManager.php Federation manager · Manager.php Conversation coordination
Components 22
Application entry
- Talk interface
src/App.vue - App registration
lib/AppInfo/Application.php
Conversations and chat
- Room API
lib/Controller/RoomController.php - Room lifecycle
lib/Service/RoomService.php - Participant management
lib/Service/ParticipantService.php - Chat API
lib/Controller/ChatController.php - Messages and threads
lib/Chat/ChatManager.php - Poll experience
src/components/PollViewer/PollManager.vue
Calls and signaling
- Call API
lib/Controller/CallController.php - Signaling management
lib/Signaling/Manager.php
Federation and integrations
- Federation manager
lib/Federation/FederationManager.php - Federated chat proxy
lib/Federation/Proxy/TalkV1/Controller/ChatController.php - Matterbridge sync
lib/MatterbridgeManager.php
State and services
- Room and attendee state
lib/Model/Attendee.php - Session state
lib/Model/Session.php - Session tracking
lib/Service/SessionService.php - Conversation coordination
lib/Manager.php - Talk configuration
lib/Config.php
Other components
- Talk user
- Nextcloud platform
- Remote Talk server
- Call services
Connections 28
- Talk user → Talk interface: uses
- Talk interface → Room API: manages rooms
- Talk interface → Chat API: sends messages
- Talk interface → Call API: joins calls
- Talk interface → Poll experience: creates polls
src/components/PollViewer/PollManager.vue - App registration → Nextcloud platform: registers app
lib/AppInfo/Application.php - Room API → Room lifecycle: handles lifecycle
lib/Controller/RoomController.php - Room API → Participant management: manages membership
lib/Controller/RoomController.php - Room lifecycle → Participant management: adds owner
lib/Service/RoomService.php - Chat API → Messages and threads: handles chat
lib/Controller/ChatController.php - Messages and threads → Room and attendee state: uses attendee data
lib/Chat/ChatManager.php - Participant management → Room and attendee state: reads participants
lib/Service/ParticipantService.php - Session tracking → Session state: reads and writes
lib/Service/SessionService.php - Session tracking → Room and attendee state: uses attendee
lib/Service/SessionService.php - Conversation coordination → Room lifecycle: coordinates rooms
lib/Manager.php - Conversation coordination → Participant management: coordinates participants
lib/Manager.php - Conversation coordination → Session state: uses sessions
lib/Manager.php - Call API → Signaling management: routes signaling
- Signaling management → Talk configuration: reads settings
lib/Signaling/Manager.php - Call API → Call services: connects calls
- Federation manager → Conversation coordination: uses room coordination
lib/Federation/FederationManager.php - Federation manager → Participant management: uses membership
lib/Federation/FederationManager.php - Federation manager → Remote Talk server: notifies remote
lib/Federation/FederationManager.php - Federated chat proxy → Remote Talk server: proxies chat
- Matterbridge sync → Messages and threads: syncs messages
lib/MatterbridgeManager.php - Talk interface → Federation manager: federated chats
- Talk interface → Matterbridge sync: configures sync
- Talk interface → Nextcloud platform: uses integrations