golanggohlsrtmpwebrtcmedia-serverobs-studiortcprtmp-proxyrtmp-serverrtprtsprtsp-proxyrtsp-relayrtsp-serversrtstreamingwebrtc-proxy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
608 B
24 lines
608 B
package message |
|
|
|
import ( |
|
"fmt" |
|
|
|
"github.com/bluenviron/mediamtx/internal/rtmp/rawmessage" |
|
) |
|
|
|
// ExtendedMPEG2TSSequenceStart is a MPEG2-TS sequence start extended message. |
|
type ExtendedMPEG2TSSequenceStart struct { |
|
FourCC [4]byte |
|
} |
|
|
|
// Unmarshal implements Message. |
|
func (m *ExtendedMPEG2TSSequenceStart) Unmarshal(raw *rawmessage.Message) error { |
|
copy(m.FourCC[:], raw.Body[1:5]) |
|
|
|
return fmt.Errorf("ExtendedMPEG2TSSequenceStart is not implemented yet") |
|
} |
|
|
|
// Marshal implements Message. |
|
func (m ExtendedMPEG2TSSequenceStart) Marshal() (*rawmessage.Message, error) { |
|
return nil, fmt.Errorf("TODO") |
|
}
|
|
|