builder

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAudioBin added in v1.7.8

func BuildAudioBin(pipeline *gstreamer.Pipeline, p *config.PipelineConfig) error

func BuildFileBin added in v1.7.8

func BuildFileBin(pipeline *gstreamer.Pipeline, p *config.PipelineConfig) (*gstreamer.Bin, error)

func BuildImageBin added in v1.7.13

func BuildImageBin(c *config.ImageConfig, pipeline *gstreamer.Pipeline, p *config.PipelineConfig) (*gstreamer.Bin, error)

func BuildSegmentBin added in v1.7.8

func BuildSegmentBin(pipeline *gstreamer.Pipeline, p *config.PipelineConfig) (*gstreamer.Bin, error)

func BuildVideoBin added in v1.7.8

func BuildVideoBin(pipeline *gstreamer.Pipeline, p *config.PipelineConfig) error

func BuildWebsocketBin added in v1.7.8

func BuildWebsocketBin(pipeline *gstreamer.Pipeline, appSinkCallbacks *app.SinkCallbacks) (*gstreamer.Bin, error)

Types

type AudioBin added in v1.7.8

type AudioBin struct {
	// contains filtered or unexported fields
}

type FirstSampleMetadata added in v1.7.8

type FirstSampleMetadata struct {
	StartDate int64 // Real time date of the first media sample
}

type Stream added in v1.9.1

type Stream struct {
	Conf *config.Stream
	Bin  *gstreamer.Bin
	// contains filtered or unexported fields
}

func (*Stream) Reset added in v1.9.1

func (s *Stream) Reset(streamErr error) (bool, error)

func (*Stream) Stats added in v1.9.1

func (s *Stream) Stats() (*logging.StreamStats, bool)

type StreamBin added in v1.7.8

type StreamBin struct {
	Bin        *gstreamer.Bin
	OutputType types.OutputType
	// contains filtered or unexported fields
}

func BuildStreamBin added in v1.7.8

func BuildStreamBin(pipeline *gstreamer.Pipeline, p *config.PipelineConfig, o *config.StreamConfig) (*StreamBin, error)

func (*StreamBin) BuildStream added in v1.9.1

func (sb *StreamBin) BuildStream(stream *config.Stream, framerate int32) (*Stream, error)

type VideoBin added in v1.7.8

type VideoBin struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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