Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimeInNTP ¶
func GetTimeInNTP() uint32
func HandleSinkEOS ¶
func HandleSinkEOS(handler func())
func StartMainLoop ¶
func StartMainLoop()
Types ¶
type SinkPipeline ¶
type SinkPipeline struct {
// contains filtered or unexported fields
}
func CreateSinkPipeline ¶
func CreateSinkPipeline(videoSink string) *SinkPipeline
func (*SinkPipeline) Destroy ¶
func (p *SinkPipeline) Destroy()
func (*SinkPipeline) Start ¶
func (p *SinkPipeline) Start()
func (*SinkPipeline) Stop ¶
func (p *SinkPipeline) Stop()
type SrcPipeline ¶
type SrcPipeline struct {
// contains filtered or unexported fields
}
func NewSrcPipeline ¶
func NewSrcPipeline(w io.WriteCloser, src string, bitrate int) *SrcPipeline
func (*SrcPipeline) Destroy ¶
func (p *SrcPipeline) Destroy()
func (*SrcPipeline) ForceKeyFrame ¶
func (p *SrcPipeline) ForceKeyFrame()
func (*SrcPipeline) SSRC ¶
func (p *SrcPipeline) SSRC() uint
func (*SrcPipeline) SetBitRate ¶
func (p *SrcPipeline) SetBitRate(bitrate uint)
func (*SrcPipeline) SetSSRC ¶
func (p *SrcPipeline) SetSSRC(ssrc uint)
func (*SrcPipeline) Start ¶
func (p *SrcPipeline) Start()
func (*SrcPipeline) Stop ¶
func (p *SrcPipeline) Stop()
Click to show internal directories.
Click to hide internal directories.