Skip to content

Fix build and doc issues#1

Open
yamasite wants to merge 3 commits into
volcengine:mainfrom
yamasite:main
Open

Fix build and doc issues#1
yamasite wants to merge 3 commits into
volcengine:mainfrom
yamasite:main

Conversation

@yamasite
Copy link
Copy Markdown

@yamasite yamasite commented Jul 1, 2022

With this change, this project can at least build. But a problem remains.

I used the room id and user id that generate the temp token:

function checkRoomIdAndUserId(name) {
  $(`#${name}`).keyup(() => {
    let ret = checkReg(name)
    console.log(ret)
  });
}

ret is false.

But the login window pops out again and again. Weird behavior.

casww added 3 commits July 1, 2022 11:54
With this change, this project can at least build. But a problem remains.

I used the room id and user id that generate the temp token:

```js
function checkRoomIdAndUserId(name) {
  $(`#${name}`).keyup(() => {
    let ret = checkReg(name)
    console.log(ret)
  });
}
```

ret is false.

But the login window pops out again and again
Comment thread Web/BasicDemo/js/index.js
* before join a room, you should create a room,then you can join it with `engine.join(token,roomId,uid, onSuccessFunc, onFailFunc)`
*/
await rtc.join((config.token || {})[config.uid], config.roomId, config.uid);
await rtc.join((config.token || {}), config.roomId, config.uid);
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change fixed the remaining bug

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

企业微信截图_11f3b8d5-f793-469d-a519-df5ac8beab62
Now it is up and running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants