gst

package
v0.0.0-...-953ecce Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMainLoop

func StartMainLoop()

StartMainLoop starts GLib's main loop It needs to be called from the process' main thread Because many gstreamer plugins require access to the main thread See: https://golang.org/pkg/runtime/#LockOSThread

Types

type Pipeline

type Pipeline struct {
	Pipeline *C.GstElement
}

func CreatePipeline

func CreatePipeline() *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

Jump to

Keyboard shortcuts

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