Documentation ¶
Overview ¶
Package rawmessage contains a RTMP raw message reader/writer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { ChunkStreamID byte Timestamp time.Duration Type uint8 MessageStreamID uint32 Body []byte }
Message is a raw message.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is a raw message reader.
func (*Reader) SetChunkSize ¶
SetChunkSize sets the maximum chunk size.
func (*Reader) SetWindowAckSize ¶
SetWindowAckSize sets the window acknowledgement size.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is a raw message writer.
func (*Writer) SetAcknowledgeValue ¶
SetAcknowledgeValue sets the acknowledge sequence number.
func (*Writer) SetChunkSize ¶
SetChunkSize sets the maximum chunk size.
func (*Writer) SetWindowAckSize ¶
SetWindowAckSize sets the window acknowledgement size.
Click to show internal directories.
Click to hide internal directories.