Qiu Daomao

Results 14 comments of Qiu Daomao

@songtianyi thanks, 看起来可以 http 'http://www.panda.tv/ajax_chatinfo?roomid=66666&_=1500220999'

@subtank 提个PR吧

@songtianyi 我是做了个objc的实现,第一个心跳包是单独发的不是带上的吧? 难道不是先发个房间认证包,包含rid appid ts sign authType之类的 再发第一个心跳包 接下来进入异步读取弹幕消息的循环 然后开始定时发心跳包

@songtianyi 可以work,我是分开发的,tvOS上正常弹幕。但没试过不知道第一个心跳包有没有时间限制,也许在超时前发就好了

@songtianyi 发送时数据大小不是两个字节而是一个字节吧,也许熊猫觉得进入房间的字符串长度是比较固定的不会超过256一个字节足以。这个python里第一个心跳确实一起发了,我分开发也没问题 data = (b'\x00\x06\x00\x02\x00' + **pack('B', len(data))** + data.encode('utf8') + b'\x00\x06\x00\x00')

@songtianyi 嗯,多谢,你这样理解应该更合理,多出一字节有点怪怪的,可能在实际使用过程中长度没遇到过超过256,于是那个字节固定是0x00,所以作者的实现暂时使用不会出问题。我的是自己开发的oc版,但协议跟作者的实现用的一样的

@songtianyi 除非遇到验证包的长度值一个字节容纳不了才能验证你的想法,估计很难验证了

Same here, we may need keep two Xcode..

@tmm1 My workaround for ATV4k is `pairing before re-sign`, the device already paired before will keep working even after re-sign. Upgrade Xcode will not lose it..

I believe XVim still worth continue developing. Current XVim even works on Xcode 13 beta without issues. XVim is and will be better then the builtin vim mode in feature...