[mirotalksfu] - handle producer video btns
هذا الالتزام موجود في:
@@ -50,6 +50,11 @@ const BUTTONS = {
|
|||||||
aboutButton: true,
|
aboutButton: true,
|
||||||
exitButton: true,
|
exitButton: true,
|
||||||
},
|
},
|
||||||
|
producerVideo: {
|
||||||
|
fullScreenButton: true,
|
||||||
|
snapShotButton: true,
|
||||||
|
muteAudioButton: true,
|
||||||
|
},
|
||||||
consumerVideo: {
|
consumerVideo: {
|
||||||
fullScreenButton: true,
|
fullScreenButton: true,
|
||||||
snapShotButton: true,
|
snapShotButton: true,
|
||||||
|
|||||||
@@ -916,9 +916,9 @@ class RoomClient {
|
|||||||
pb.className = 'bar';
|
pb.className = 'bar';
|
||||||
pb.style.height = '1%';
|
pb.style.height = '1%';
|
||||||
pm.appendChild(pb);
|
pm.appendChild(pb);
|
||||||
vb.appendChild(au);
|
BUTTONS.producerVideo.muteAudioButton && vb.appendChild(au);
|
||||||
vb.appendChild(ts);
|
BUTTONS.producerVideo.snapShotButton && vb.appendChild(ts);
|
||||||
vb.appendChild(fs);
|
BUTTONS.producerVideo.fullScreenButton && vb.appendChild(fs);
|
||||||
d.appendChild(elem);
|
d.appendChild(elem);
|
||||||
d.appendChild(pm);
|
d.appendChild(pm);
|
||||||
d.appendChild(i);
|
d.appendChild(i);
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم