Stop using MutationObserver to track StreamHud's expanded status

This commit is contained in:
redphx
2025-02-07 08:43:06 +07:00
parent 2fd482bb7b
commit cf1f656ecf
6 changed files with 47 additions and 70 deletions

View File

@@ -68,6 +68,8 @@ type StreamEvents = {
// Inside patch
'microphone.state.changed': { state: MicrophoneState };
'ui.streamHud.expanded': { state: 'expanded' | 'collapsed' },
dataChannelCreated: { dataChannel: RTCDataChannel };
};