sdk接口更新

This commit is contained in:
zhuhailiang 2023-11-01 10:51:12 +08:00
parent a9909a4039
commit 43308baa5f
2 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,9 @@ uniSocket.on('connectioned', function() {
}, true)
```
### 1.2绑定会议房间号
当socket连接成功回调然后绑定用户ID
当socket连接成功回调绑定会议房间号Tag
```javascript
uniSocket.sendBufferTag(tag) // 会议结束删除房间号传null或者空
uniSocket.bindRoomTag(tag) // 会议结束删除房间号传null或者空
```
### 1.3接收消息
```javascript

View File

@ -201,7 +201,7 @@ export default class Socket {
}
//绑定tag
async sendBufferTag(tag) {
async bindRoomTag(tag) {
if (this._connectioned) {
let body = new proto.com.farsunset.cim.sdk.web.model.SentBody();
if (tag) {