[mirotalksfu] - handle producer video btns

هذا الالتزام موجود في:
Miroslav Pejic
2022-08-07 20:50:01 +02:00
الأصل d7a5cab7cb
التزام e9c41b1f35
2 ملفات معدلة مع 8 إضافات و3 حذوفات

عرض الملف

@@ -50,6 +50,11 @@ const BUTTONS = {
aboutButton: true,
exitButton: true,
},
producerVideo: {
fullScreenButton: true,
snapShotButton: true,
muteAudioButton: true,
},
consumerVideo: {
fullScreenButton: true,
snapShotButton: true,

عرض الملف

@@ -916,9 +916,9 @@ class RoomClient {
pb.className = 'bar';
pb.style.height = '1%';
pm.appendChild(pb);
vb.appendChild(au);
vb.appendChild(ts);
vb.appendChild(fs);
BUTTONS.producerVideo.muteAudioButton && vb.appendChild(au);
BUTTONS.producerVideo.snapShotButton && vb.appendChild(ts);
BUTTONS.producerVideo.fullScreenButton && vb.appendChild(fs);
d.appendChild(elem);
d.appendChild(pm);
d.appendChild(i);