mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-29 22:42:00 -08:00
rtmp server: change value of MessageStreamID of outgoing messages
This commit is contained in:
parent
820ba067f2
commit
e255d004e3
7 changed files with 36 additions and 26 deletions
|
|
@ -10,6 +10,11 @@ import (
|
|||
"github.com/aler9/rtsp-simple-server/internal/rtmp/rawmessage"
|
||||
)
|
||||
|
||||
const (
|
||||
// this is the chunk stream ID that is usually used to send MsgAudio{}
|
||||
MsgAudioChunkStreamID = 6
|
||||
)
|
||||
|
||||
// MsgAudio is an audio message.
|
||||
type MsgAudio struct {
|
||||
ChunkStreamID byte
|
||||
|
|
|
|||
|
|
@ -10,6 +10,11 @@ import (
|
|||
"github.com/aler9/rtsp-simple-server/internal/rtmp/rawmessage"
|
||||
)
|
||||
|
||||
const (
|
||||
// this is the chunk stream ID that is usually used to send MsgVideo{}
|
||||
MsgVideoChunkStreamID = 6
|
||||
)
|
||||
|
||||
// MsgVideo is a video message.
|
||||
type MsgVideo struct {
|
||||
ChunkStreamID byte
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue