fix: fix join room bug.
This commit is contained in:
parent
fcf8b920dd
commit
b5c0413ea5
@ -87,6 +87,8 @@ yarn dev
|
|||||||
### Demo 更新
|
### Demo 更新
|
||||||
|
|
||||||
#### [1.6.0]
|
#### [1.6.0]
|
||||||
|
- 2025-06-26
|
||||||
|
- 修复进房有问题的 BUG
|
||||||
- 2025-06-23
|
- 2025-06-23
|
||||||
- 简化 Demo 使用, 配置归一化。
|
- 简化 Demo 使用, 配置归一化。
|
||||||
- 删除无用组件。
|
- 删除无用组件。
|
||||||
|
|||||||
@ -127,9 +127,8 @@ export class RTCClient {
|
|||||||
};
|
};
|
||||||
|
|
||||||
joinRoom = () => {
|
joinRoom = () => {
|
||||||
this.engine.enableAudioPropertiesReport({ interval: 1000 });
|
console.log(' ------ userJoinRoom\n', `roomId: ${this.basicInfo.room_id}\n`, `uid: ${this.basicInfo.user_id}`);
|
||||||
console.log(this.basicInfo);
|
return this.engine.joinRoom(
|
||||||
this.engine.joinRoom(
|
|
||||||
this.basicInfo.token!,
|
this.basicInfo.token!,
|
||||||
`${this.basicInfo.room_id!}`,
|
`${this.basicInfo.room_id!}`,
|
||||||
{
|
{
|
||||||
@ -146,7 +145,6 @@ export class RTCClient {
|
|||||||
roomProfileType: RoomProfileType.chat,
|
roomProfileType: RoomProfileType.chat,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
console.log(' ------ userJoinRoom\n', `roomId: ${this.basicInfo.room_id}\n`, `uid: ${this.basicInfo.user_id}`);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
leaveRoom = () => {
|
leaveRoom = () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user