From: qydysky Date: Mon, 14 Sep 2020 14:09:51 +0000 (+0800) Subject: 5 X-Git-Tag: v0.0.0~51 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=8ef294d545408e1b0be7710cc5733b06794af634;p=bili_danmu%2F.git 5 --- diff --git a/bili_danmu.go b/bili_danmu.go index 8a22da1..5a0b809 100644 --- a/bili_danmu.go +++ b/bili_danmu.go @@ -37,7 +37,8 @@ func Demo() { l.E("some err") return } - + l.I("连接到房间", room) + //对每个弹幕服务器尝试 for _, v := range api.Url { //ws启动 @@ -49,6 +50,7 @@ func Demo() { ws.SendChan <- hello_send(api.Roomid, api.Token) if hello_ok(<- ws.RecvChan) { l.I(v, "hello!") + l.I("已连接", room) //开始心跳 go func(){