mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-14 10:45:08 +00:00
17 lines
329 B
Go
17 lines
329 B
Go
package message
|
|
|
|
import (
|
|
"github.com/aler9/rtsp-simple-server/internal/rtmp/rawmessage"
|
|
)
|
|
|
|
const (
|
|
// ControlChunkStreamID is the stream ID used for control messages.
|
|
ControlChunkStreamID = 2
|
|
)
|
|
|
|
// Message is a message.
|
|
type Message interface {
|
|
Unmarshal(*rawmessage.Message) error
|
|
Marshal() (*rawmessage.Message, error)
|
|
}
|