feat: 重构 WebRTC 轨道管理,支持多监听器注册,优化 SDP Offer 创建流程;更新桌面共享和语音通话业务逻辑,增强连接管理

This commit is contained in:
MatrixSeven
2026-03-05 13:28:29 +08:00
parent da3e4f1067
commit 6d02a9898f
11 changed files with 545 additions and 735 deletions

View File

@@ -5,7 +5,7 @@ import { Mic, MicOff, PhoneCall, PhoneOff } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { VoiceIndicator } from '@/components/VoiceIndicator';
import { useVoiceChatBusiness } from '@/hooks/desktop-share';
import type { WebRTCConnection } from '@/hooks/connection/useSharedWebRTCManager';
import type { WebRTCConnection } from '@/hooks/connection/types';
interface VoiceChatPanelProps {
connection: WebRTCConnection;