|
|
|
|
@ -71,6 +71,18 @@ function getRandomNumber(length) {
|
|
|
|
|
|
|
|
|
|
function initClient() {
|
|
|
|
|
if (!DetectRTC.isMobileDevice) {
|
|
|
|
|
setTippy('shareButton', 'Share the room', 'right');
|
|
|
|
|
setTippy('startAudioButton', 'Start audio', 'right');
|
|
|
|
|
setTippy('stopAudioButton', 'Stop audio', 'right');
|
|
|
|
|
setTippy('startVideoButton', 'Start video', 'right');
|
|
|
|
|
setTippy('stopVideoButton', 'Stop video', 'right');
|
|
|
|
|
setTippy('swapCameraButton', 'Swap camera', 'right');
|
|
|
|
|
setTippy('chatButton', 'Toggle chat', 'right');
|
|
|
|
|
setTippy('startScreenButton', 'Start screen share', 'right');
|
|
|
|
|
setTippy('stopScreenButton', 'Stop screen share', 'right');
|
|
|
|
|
setTippy('whiteboardButton', 'Toggle whiteboard', 'right');
|
|
|
|
|
setTippy('settingsButton', 'Toggle settings', 'right');
|
|
|
|
|
setTippy('exitButton', 'Leave the room', 'right');
|
|
|
|
|
setTippy('tabDevicesBtn', 'Devices', 'top');
|
|
|
|
|
setTippy('tabRecordingBtn', 'Recording', 'top');
|
|
|
|
|
setTippy('tabRoomBtn', 'Room', 'top');
|
|
|
|
|
@ -271,8 +283,8 @@ function whoAreYou() {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (!DetectRTC.isMobileDevice) {
|
|
|
|
|
setTippy('initAudioButton', 'Enable / Disable audio', 'left');
|
|
|
|
|
setTippy('initVideoButton', 'Enable / Disable video', 'right');
|
|
|
|
|
setTippy('initAudioButton', 'Toggle audio', 'left');
|
|
|
|
|
setTippy('initVideoButton', 'Toggle video', 'right');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
initAudioButton = document.getElementById('initAudioButton');
|
|
|
|
|
|