我想设置jitsi会议室,在那里用户自动加入房间,在加载带有iframe的页面时,将为用户生成用户名和房间,并且我希望房间仅为音频。
我正在寻找配置文件,并找到了两个属性,这些属性应该只使jitsi音频,但是当我设置它们时,我仍然会看到视频按钮。这是我的全套装备。我找不到任何可以自动加入房间的房产:
这是我以前只听一段不适合我的代码。
<!doctype html>
<html>
<head>
<script src='https://meet.jit.si/external_api.js'></script>
<script>
function init(){
const domain = 'meet.jit.si';
const options = {
roomName: 'JitsiMeetAPIExample',
width: 700,
height: 700,
userInfo: {
email: 'email@jitsiexamplemail.com',
displayName: 'John Doe'
},
parentNode: document.querySelector('.meet'),
configOverwrite: { startAudioOnly: true, TOOLBAR_BUTTONS: [], TOOLBAR_ALWAYS_VISIBLE: false },
interfaceConfigOverwrite: { startAudioOnly: true, TOOLBAR_BUTTONS: [], TOOLBAR_ALWAYS_VISIBLE: false },
};
const api = new JitsiMeetExternalAPI(domain, options);
}
</script>
</head>
<body class="meet" onload='init()'>
</body>
</html>
发布于 2022-03-03 13:15:37
请先添加jquery
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
Start只在配置中工作,而不是在接口中工作。
configOverwrite: { startAudioOnly: true }
参见关于吉思的详细信息
https://stackoverflow.com/questions/65233405
复制相似问题