Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a HLS client.
type ClientParent ¶
ClientParent is the parent of a Client.
type Muxer ¶
type Muxer struct {
// contains filtered or unexported fields
}
Muxer is a HLS muxer.
func NewMuxer ¶
func NewMuxer( hlsSegmentCount int, hlsSegmentDuration time.Duration, hlsSegmentMaxSize uint64, videoTrack *gortsplib.TrackH264, audioTrack *gortsplib.TrackAAC) (*Muxer, error)
NewMuxer allocates a Muxer.
func (*Muxer) PrimaryPlaylist ¶
PrimaryPlaylist returns a reader to read the primary playlist.
func (*Muxer) StreamPlaylist ¶
StreamPlaylist returns a reader to read the stream playlist.
Click to show internal directories.
Click to hide internal directories.