Discover Packages
github.com/bluenviron/mediamtx
internal
unit
package
Version:
v1.10.0
Opens a new window with list of versions in this module.
Published: Dec 3, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package unit contains the Unit definition.
type AC3 struct {
Base
Frames [][]byte
}
AC3 is a AC-3 data unit.
Base contains fields shared across all units.
GetRTPPackets implements Unit.
type G711 struct {
Base
Samples []byte
}
G711 is a G711 data unit.
type Generic struct {
Base
}
Generic is a generic data unit.
H264 is a H264 data unit.
H265 is a H265 data unit.
type LPCM struct {
Base
Samples []byte
}
LPCM is a LPCM data unit.
MJPEG is a M-JPEG data unit.
type MPEG1Audio struct {
Base
Frames [][]byte
}
MPEG1Audio is a MPEG-1/2 Audio data unit.
type MPEG1Video struct {
Base
Frame []byte
}
MPEG1Video is a MPEG-1/2 Video data unit.
type MPEG4Audio struct {
Base
AUs [][]byte
}
MPEG4Audio is a MPEG-4 Audio data unit.
type MPEG4Video struct {
Base
Frame []byte
}
MPEG4Video is a MPEG-4 Video data unit.
type Opus struct {
Base
Packets [][]byte
}
Opus is a Opus data unit.
Unit is the elementary data unit routed across the server.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.