我正在建立一个安卓聊天应用程序,并使用Jitsi SDK进行视频通话,用户在加入房间之前会看到一个加入会议。
如何禁用此步骤并自动加入聊天室?我尝试在/etc/jitsi/meet/... -config. js中设置一些服务器配置
prejoinPageEnabled: false,
prejoinConfig: {
// When 'true', it shows an intermediate page before joining, where the user can configure their devices.
// // This replaces `prejoinPageEnabled`.
enabled: false,
// // Hides the participant name editing field in the prejoin screen.
// // If requireDisplayName is also set as true, a name should still be provided through
// // either the jwt or the userInfo from the iframe api init object in order for this to have an effect.
// hideDisplayName: true,
// // List of buttons to hide from the extra join options dropdown.
// hideExtraJoinButtons: ['no-audio', 'by-phone'],
},
并在Android客户端中以不同方式设置prejoinConfig配置
.setConfigOverride("prejoinPageEnabled", false)
.setConfigOverride("prejoinConfig.enabled", false)
.setConfigOverride("prejoinconfig.enabled", false)
.setConfigOverride("prejoinPageEnabled", false)
.setConfigOverride("prejoinConfig.enabled", false)
但这些方法都不起作用,用户看到会议室页面,应该按加入会议按钮加入会议室。
1条答案
按热度按时间ie3xauqp1#