feat: Optimize WebRTC pipeline for 60fps screen sharing

- Implemented 'Overdrive' logic to force high bitrates on Chrome
- Fixed 'Auto' preset to default to stable 720p60
- Added persistent 'Triple-Kick' hammer to prevent bitrate throttling
- Fixed sidebar connection status sync
- Added comprehensive diagnostic logger
This commit is contained in:
Jannis Braun
2026-02-19 03:34:20 +01:00
parent 435d12e5b8
commit 7ae3e8c687
56 changed files with 3558 additions and 577 deletions
+9 -1
View File
@@ -181,7 +181,11 @@ export type ClientEvent =
| { type: 'dm_message_delete'; messageId: string }
| { type: 'reaction_add'; messageId: string; emoji: string }
| { type: 'reaction_remove'; messageId: string; emoji: string }
| { type: 'channel_ack'; channelId: string; messageId: string };
| { type: 'channel_ack'; channelId: string; messageId: string }
| { type: 'dm_call_start'; dmChannelId: string }
| { type: 'dm_call_accept'; dmChannelId: string }
| { type: 'dm_call_reject'; dmChannelId: string }
| { type: 'dm_call_end'; dmChannelId: string };
// Server → Client Events
export type ServerEvent =
@@ -203,6 +207,10 @@ export type ServerEvent =
| { type: 'channel_ack'; channelId: string; messageId: string }
| { type: 'friend_request_received'; request: FriendRequest }
| { type: 'friend_request_accepted'; friend: Friend; requestId: string }
| { type: 'dm_call_incoming'; dmChannelId: string; callerId: string; callerName: string }
| { type: 'dm_call_accepted'; dmChannelId: string }
| { type: 'dm_call_rejected'; dmChannelId: string }
| { type: 'dm_call_ended'; dmChannelId: string }
| { type: 'error'; message: string };
// ─── API Request/Response Types ─────────────────────────────────────────────