gst

package
v0.0.0-...-26ed1f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 7 Imported by: 0

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 InitT0

func InitT0()

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()

func (*SinkPipeline) Write

func (p *SinkPipeline) Write(buffer []byte) (n int, err error)

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL