ffmpeg

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteIVFRemoteToStdin

func WriteIVFRemoteToStdin(remote *webrtc.TrackRemote, stdin io.WriteCloser, ffmpeg *exec.Cmd, OnBroken func(error)) error

Types

type SimpleFFmpegIVFProcessor

type SimpleFFmpegIVFProcessor struct {
	Filter    string
	Bandwidth string
	// contains filtered or unexported fields
}

func (*SimpleFFmpegIVFProcessor) AddInTrack

func (t *SimpleFFmpegIVFProcessor) AddInTrack(_ string, remote *webrtc.TrackRemote, _ *webrtc.RTPReceiver) error

func (*SimpleFFmpegIVFProcessor) Init

func (t *SimpleFFmpegIVFProcessor) Init(AddTrack func(webrtc.TrackLocal) (*webrtc.RTPSender, error), RemoveTrack func(*webrtc.RTPSender) error, OnBroken func(badGay error)) error

func (*SimpleFFmpegIVFProcessor) UpdateProcedure

func (t *SimpleFFmpegIVFProcessor) UpdateProcedure(procedure *pb.ProceedTrack) error

type SimpleFFmpegIVFProcessorFactory

type SimpleFFmpegIVFProcessorFactory struct {
	Filter    string
	Bandwidth string
	// contains filtered or unexported fields
}

func NewSimpleFFmpegIVFProcessorFactory

func NewSimpleFFmpegIVFProcessorFactory(ffmpegPath string) *SimpleFFmpegIVFProcessorFactory

func (SimpleFFmpegIVFProcessorFactory) NewProcessor

Jump to

Keyboard shortcuts

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