fix: clean up call nav/call view console warnings

This commit is contained in:
hazre
2026-02-11 15:18:16 +01:00
parent 47f1d1183a
commit 9dbe53a36a
4 changed files with 94 additions and 91 deletions

View File

@@ -257,9 +257,11 @@ export function CallProvider({ children }: CallProviderProps) {
setIsActiveCallReady(true);
};
sendWidgetAction(WIDGET_MEDIA_STATE_UPDATE_ACTION, {
void sendWidgetAction(WIDGET_MEDIA_STATE_UPDATE_ACTION, {
audio_enabled: isAudioEnabled,
video_enabled: isVideoEnabled,
}).catch(() => {
// Widget transport may reject while call/session setup is still in progress.
});
activeClientWidgetApi.on(`action:${WIDGET_HANGUP_ACTION}`, handleHangup);