fix suspended Web Audio context / fixed delayed getUsermedia if user has to interact -> broken audio/video on one side

This commit is contained in:
Stefan Otto
2019-03-13 14:06:46 +01:00
parent bdfe2c32cc
commit f03a84ef28
6 changed files with 139 additions and 22 deletions
+28
View File
@@ -15,6 +15,34 @@
padding: 2vmin;
}
> .sound-suspended {
position: fixed;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
width: 30vw;
text-align: center;
font-family: 'Roboto';
font-size: 2.5em;
box-shadow: 0px 5px 12px 2px rgba(17, 17, 17, 0.5);
background-color: #fff;
padding: 2vmin;
> .button {
font-size: 1.5em;
padding: 1.5vmin;
margin: 0.8vmin;
background-color: #38cd8b;
border-radius: 1.8vmin;
color: #fff;
border: 0;
}
> .button:hover {
background-color: #28bd7b;
}
}
> .room-wrapper {
position: absolute;
top: 0;