mirror of
https://github.com/xfgryujk/blivechat.git
synced 2025-03-23 00:00:38 +08:00
前端直连回退到uid=0的版本,避免被限流
This commit is contained in:
parent
6d07110927
commit
3fb1c41845
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user