gst

package
v0.0.0-...-fe571b8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerConnection

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

type Pipeline

type Pipeline struct {
	Pipeline *C.GstElement
	PCs      []PeerConnection
}

Pipeline is a wrapper for a GStreamer Pipeline

func CreatePipeline

func CreatePipeline(containerPath string, pcs []PeerConnection) *Pipeline

CreatePipeline creates a GStreamer Pipeline func CreatePipeline(containerPath string, audioTrack, videoTrack *webrtc.Track) *Pipeline {

func (*Pipeline) Pause

func (p *Pipeline) Pause()

Pause sets the pipeline to PAUSED

func (*Pipeline) Play

func (p *Pipeline) Play()

Play sets the pipeline to PLAYING

func (*Pipeline) SeekToTime

func (p *Pipeline) SeekToTime(seekPos int64)

SeekToTime seeks on the 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