mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-07 15:30:06 +00:00
16 lines
282 B
Go
16 lines
282 B
Go
// Package rawmessage contains a RTMP raw message reader/writer.
|
|
package rawmessage
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// Message is a raw message.
|
|
type Message struct {
|
|
ChunkStreamID byte
|
|
Timestamp time.Duration
|
|
Type uint8
|
|
MessageStreamID uint32
|
|
Body []byte
|
|
}
|