mediamtx/internal/rtmp/rawmessage/message.go
2022-09-17 21:19:45 +02:00

18 lines
354 B
Go

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