diff --git a/public/full.js b/public/full.js index df5b694..52317b5 100644 --- a/public/full.js +++ b/public/full.js @@ -37,6 +37,8 @@ const inCallElements = [ unmuteSelfBtn, muteVideoSelfBtn, unmuteVideoSelfBtn, + lockCallBtn, + unlockCallBtn, deafSelfBtn, undeafSelfBtn, controlSliders, @@ -800,6 +802,14 @@ window.unmuteVideoSelf = () => { roomObj.videoUnmute() } +window.lockCall = () => { + roomObj.lock() +} + +window.unlockCall = () => { + roomObj.unlock() +} + window.deafSelf = () => { roomObj.deaf() } diff --git a/views/index.ejs b/views/index.ejs index 1371f5c..696ea7a 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -153,6 +153,16 @@ +
+ + +
+