mediamtx/internal/rtmp/rawmessage/message.go

16 lines
282 B
Go
Raw Normal View History

2022-09-17 19:19:45 +00:00
// Package rawmessage contains a RTMP raw message reader/writer.
2022-06-04 23:06:40 +00:00
package rawmessage
import (
"time"
2022-06-04 23:06:40 +00:00
)
// Message is a raw message.
type Message struct {
ChunkStreamID byte
Timestamp time.Duration
Type uint8
2022-06-04 23:06:40 +00:00
MessageStreamID uint32
Body []byte
}