feat(voice): add WebRTC voice channels with Cloudflare TURN support

Add voice channel functionality with WebRTC peer-to-peer audio:
- Add VoiceSignalingConsumer for WebRTC signaling and peer coordination
- Add GlobalConsumer for real-time presence and voice status updates
- Add voice channel type to Channel model with current_voice_channel tracking on UserProfile
- Add voice controls UI (mute, deafen, disconnect) in status panel
- Add voice member list display in sidebar with avatar support
- Add
This commit is contained in:
2026-05-23 20:56:37 +02:00
parent 963441fe50
commit 88bdfc797b
14 changed files with 773 additions and 11 deletions
+5
View File
@@ -109,3 +109,8 @@ LOGOUT_REDIRECT_URL = '/login/'
# PoC: allow large file uploads
DATA_UPLOAD_MAX_MEMORY_SIZE = 52428800 # 50MB
FILE_UPLOAD_MAX_MEMORY_SIZE = 52428800
# Cloudflare Realtime TURN Configuration
CLOUDFLARE_ACCOUNT_ID = config('CLOUDFLARE_ACCOUNT_ID', default='')
CLOUDFLARE_API_TOKEN = config('CLOUDFLARE_API_TOKEN', default='')
CLOUDFLARE_TURN_KEY_ID = config('CLOUDFLARE_TURN_KEY_ID', default='')