Created go RTMPChunk struct

This commit is contained in:
saxon 2018-07-19 01:11:55 +09:30
parent c071981cfb
commit 5c8274786c
1 changed files with 7 additions and 0 deletions

View File

@ -212,6 +212,13 @@ type RTMPSockBuf struct {
sb_ssl uintptr sb_ssl uintptr
} }
type RTMPChunk struct {
c_headerSize int
c_chunkSize int
c_chunk *byte
c_header [RTMP_MAX_HEADER_SIZE]byte
}
var _ Session = (*session)(nil) var _ Session = (*session)(nil)
// NewSession returns a new session. // NewSession returns a new session.