Documentation ¶
Index ¶
- Constants
- func ParseQuery(query map[string][]string) []*streamer.Media
- type Consumer
- func (c *Consumer) AddTrack(media *streamer.Media, track *streamer.Track) *streamer.Track
- func (c *Consumer) GetMedias() []*streamer.Media
- func (c *Consumer) Init() ([]byte, error)
- func (c *Consumer) MarshalJSON() ([]byte, error)
- func (c *Consumer) MimeCodecs() string
- func (c *Consumer) MimeType() string
- func (c *Consumer) Start()
- type Muxer
- type Segment
Constants ¶
View Source
const ( MimeH264 = "avc1.640029" MimeH265 = "hvc1.1.6.L153.B0" MimeAAC = "mp4a.40.2" MimeOpus = "opus" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Consumer ¶
type Consumer struct { streamer.Element Medias []*streamer.Media UserAgent string RemoteAddr string // contains filtered or unexported fields }
func (*Consumer) MarshalJSON ¶
func (*Consumer) MimeCodecs ¶ added in v1.1.0
type Muxer ¶
type Muxer struct {
// contains filtered or unexported fields
}
func (*Muxer) MimeCodecs ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.