Documentation ¶
Overview ¶
Package demux provides interface to Linux DVB demux device
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DVR ¶
func (DVR) SetBufferSize ¶
type Device ¶
type Device string
Dev represents Linux DVB demux device
func (Device) NewSectionFilter ¶
func (d Device) NewSectionFilter(p *SectionFilterParam) (SectionFilter, error)
Returns a handler to section filter.
func (Device) NewStreamFilter ¶
func (d Device) NewStreamFilter(p *StreamFilterParam) (StreamFilter, error)
Returns a handler to elementary stream filter.
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter implements common functionality for all demux filters.
func (*Filter) SetBufferSize ¶
type SectionFilter ¶
type SectionFilter struct {
*Filter
}
SectionFilter represents filter configured in Linux kernel
type SectionFilterParam ¶
type StreamFilter ¶
type StreamFilter struct {
*Filter
}
StreamFilter represents PES filter configured in Linux kernel
func (StreamFilter) AddPid ¶
func (f StreamFilter) AddPid(pid int16) error
func (StreamFilter) DelPid ¶
func (f StreamFilter) DelPid(pid int16) error
type StreamFilterParam ¶
type StreamFilterParam struct { Pid int16 In Input Out Output Type StreamType Flags Flags }
type StreamType ¶
type StreamType uint32
const ( Audi StreamType = iota Video Teletext Subtitle PCR )
const ( Audio0 StreamType = iota Video0 Teletext0 Subtitle0 PCR0 Audio1 Video1 Teletext1 Subtitle1 PCR1 Audio2 Video2 Teletext2 Subtitle2 PCR2 Audio3 Video3 Teletext3 Subtitle3 PCR3 Other )
Click to show internal directories.
Click to hide internal directories.