Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path interface {
OnSPFrame(int, gortsplib.StreamType, []byte)
}
Path is implemented by path.path.
type StreamProc ¶
type StreamProc struct {
// contains filtered or unexported fields
}
StreamProc is a stream processor, an intermediate layer between a source and a path.
func (*StreamProc) OnFrame ¶
func (sp *StreamProc) OnFrame(trackID int, streamType gortsplib.StreamType, payload []byte)
OnFrame processes a frame.
func (*StreamProc) TrackInfos ¶
func (sp *StreamProc) TrackInfos() []TrackInfo
TrackInfos returns infos about the tracks of the stream.
Click to show internal directories.
Click to hide internal directories.