mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-14 14:19:20 +08:00
refresh on new audio device detected
This commit is contained in:
parent
770250d8d6
commit
4b22a48420
@ -881,6 +881,8 @@ function startUp() {
|
|||||||
|
|
||||||
captionText.text("Waiting for other user to join...").fadeIn();
|
captionText.text("Waiting for other user to join...").fadeIn();
|
||||||
rePositionCaptions();
|
rePositionCaptions();
|
||||||
|
|
||||||
|
navigator.mediaDevices.ondevicechange = () => window.location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
startUp();
|
startUp();
|
||||||
|
Loading…
Reference in New Issue
Block a user