gst

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	Pipeline *C.GstElement
}

Pipeline is a wrapper for a GStreamer Pipeline

func CreatePipeline

func CreatePipeline(codecName string) *Pipeline

CreatePipeline creates a GStreamer Pipeline

func (*Pipeline) Push

func (p *Pipeline) Push(buffer []byte)

Push pushes a buffer on the appsrc of the GStreamer Pipeline

func (*Pipeline) Start

func (p *Pipeline) Start()

Start starts the GStreamer Pipeline

func (*Pipeline) Stop

func (p *Pipeline) Stop()

Stop stops the GStreamer Pipeline

Jump to

Keyboard shortcuts

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