前端直连回退到uid=0的版本,避免被限流

This commit is contained in:
John Smith 2023-09-08 23:49:35 +08:00
parent 6d07110927
commit 3fb1c41845

View File

@ -107,11 +107,12 @@ export default class ChatClientDirect {
sendAuth() { sendAuth() {
let authParams = { let authParams = {
uid: this.roomOwnerUid, uid: 0,
roomid: this.roomId, roomid: this.roomId,
protover: 3, protover: 3,
platform: 'web', platform: 'web',
type: 2 type: 2,
buvid: '',
} }
this.websocket.send(this.makePacket(authParams, OP_AUTH)) this.websocket.send(this.makePacket(authParams, OP_AUTH))
} }