1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 07:15:47 +01:00

Display warning on ICE failures.

This commit is contained in:
Juliusz Chroboczek 2024-12-19 23:07:58 +01:00
parent 553bf9a59e
commit 21e63dcc97

View file

@ -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...`);
}
}