fix: 增加JSON序列化忽略字段

This commit is contained in:
langhuihui
2022-05-03 14:20:00 +08:00
parent 6488086737
commit 8ce24b1a7a

View File

@@ -75,8 +75,8 @@ func newPlayResponseMessageData(streamid uint32, code, level string) (amfobj AMF
} }
type NetConnection struct { type NetConnection struct {
*bufio.Reader *bufio.Reader `json:"-"`
*net.TCPConn *net.TCPConn `json:"-"`
bandwidth uint32 bandwidth uint32
readSeqNum uint32 // 当前读的字节 readSeqNum uint32 // 当前读的字节
writeSeqNum uint32 // 当前写的字节 writeSeqNum uint32 // 当前写的字节