v1.7.0/fix mute slider, muted vid stream

This commit is contained in:
2020-09-05 16:41:08 -04:00
parent e99568a791
commit e8f2b676db
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ export default class Chat extends Component {
}
setVideoVolume(v, id) {
const audioOuts = document.querySelectorAll('audio.vxt-audio');
if (audioOuts.length > 0) {
if (audioOuts.length >= 0) {
audioOuts.forEach((el) => {
if (el.id === `audio-${id}`) {
el.volume = v * 0.1;