From 21e63dcc9797d2c37ee4f78e47f67143739df68f Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Thu, 19 Dec 2024 23:07:58 +0100 Subject: [PATCH] Display warning on ICE failures. --- static/galene.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/galene.js b/static/galene.js index 586a04a..4025b87 100644 --- a/static/galene.js +++ b/static/galene.js @@ -2221,6 +2221,13 @@ function setMediaStatus(c) { } else { media.classList.add('media-failed'); } + + if(!c.up && status === 'failed') { + let from = c.username ? + `from user ${c.username}` : + 'from anonymous user'; + displayWarning(`Cannot receive media ${from}, still trying...`); + } }