Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadMetadata ¶
ReadMetadata extracts track informations from a RTMP connection that is publishing.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn contains a RTMP connection and a net connection.
func (*Conn) IsPublishing ¶
IsPublishing returns whether the connection is publishing.
type RTCPSenderSet ¶
type RTCPSenderSet struct {
// contains filtered or unexported fields
}
RTCPSenderSet is a set of RTCP senders.
func NewRTCPSenderSet ¶
func NewRTCPSenderSet( tracks gortsplib.Tracks, onFrame func(int, gortsplib.StreamType, []byte), ) *RTCPSenderSet
NewRTCPSenderSet allocates a RTCPSenderSet.
func (*RTCPSenderSet) ProcessFrame ¶
func (s *RTCPSenderSet) ProcessFrame(trackID int, t time.Time, streamType gortsplib.StreamType, f []byte)
ProcessFrame sends a frame to the senders.
Click to show internal directories.
Click to hide internal directories.