修复onStatus消息回复格式错误

This commit is contained in:
dexter
2022-03-10 00:05:31 +08:00
parent 8256f86b04
commit f524e94cb9
3 changed files with 16 additions and 17 deletions

1
msg.go
View File

@@ -760,7 +760,6 @@ func (msg *ResponsePublishMessage) Encode() []byte {
var amf AMF
amf.writeString(msg.CommandName)
amf.writeNumber(float64(msg.TransactionId))
amf.writeNull()
amf.writeObject(msg.Properties)
amf.writeObject(msg.Infomation)
return amf.Buffer