mirror of
https://github.com/jech/galene.git
synced 2024-12-21 23:05:48 +01:00
Display warning on ICE failures.
This commit is contained in:
parent
553bf9a59e
commit
21e63dcc97
1 changed files with 7 additions and 0 deletions
|
@ -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...`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue