gst

package
v0.0.0-...-34547cc Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package gst provides an easy API to create an appsink pipeline

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
	// contains filtered or unexported fields
}

Pipeline is a wrapper for a GStreamer Pipeline

func CreatePipeline

func CreatePipeline(codecName string, tracks []*webrtc.TrackLocalStaticSample, pipelineSrc string) *Pipeline

CreatePipeline creates a GStreamer Pipeline pipelineSink videoSrc := " autovideosrc ! video/x-raw, width=640, height=480 ! videoconvert ! queue"

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