发起群组通话 | 收到群组通话邀请 | 接受群组通话邀请 |
| | |
const TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit');const options = {groupID: 'myGroup',userIDList: ['mike', 'tom'],callMediaType: 1, // voice call(callMediaType = 1)、video call(callMediaType = 2)};TUICallKit.groupCall(options, (res) => {if (res.code === 0) {console.log('groupCall success');} else {console.log(`groupCall failed, error message = ${res.msg}`);}});
const TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit');const options = {roomID: 9898,groupID: 'myGroup',callMediaType: 1, // voice call(callMediaType = 1)、video call(callMediaType = 2)};TUICallKit.joinInGroupCall(options, (res) => {if (res.code === 0) {console.log('joinInGroupCall success');} else {console.log(`joinInGroupCall failed, error message = ${res.msg}`);}});
本页内容是否解决了您的问题?