mediamtx/internal/rtmp/rawmessage/message.go
2023-04-01 19:52:06 +02:00

18 lines
344 B
Go

// Package rawmessage contains a RTMP raw message reader/writer.
package rawmessage
import (
"time"
"github.com/aler9/mediamtx/internal/rtmp/chunk"
)
// Message is a raw message.
type Message struct {
ChunkStreamID byte
Timestamp time.Duration
Type chunk.MessageType
MessageStreamID uint32
Body []byte
}