Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reconnect mechanism optimization 重连机制优化 #78

Merged
merged 16 commits into from
May 11, 2024
Merged

Conversation

qkang07
Copy link
Collaborator

@qkang07 qkang07 commented Apr 22, 2024

  1. 加入房间时如果房间不存在则强制创建房间
  2. 去掉缓存过期时间
  3. 断连重试时间指数增加,增加4次后稳定为固定值,并持续重试,去掉三次限制。

@qkang07 qkang07 changed the title force create connection when use old connection reconnect mechanism optimization 重连机制优化 Apr 24, 2024
@wqcstrong
Copy link
Collaborator

  1. 实例化新增 useSecret: boolean 参数,默认值 false。设置 true 后 SDK 会为房间生成 6 位数的随机密码,调试端需要获知客户端密码后才可进入调试房间;
  2. 支持动态更新 title / project 参数,通过 window.$pageSpy.updateRoomInfo({ title: 'xxx', project: 'xxx' })

@wqcstrong wqcstrong merged commit c899957 into main May 11, 2024
1 check failed
@wqcstrong wqcstrong deleted the feat/fcon branch May 21, 2024 08:40
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.

None yet

2 participants