wf_recorder

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_WF_RECORDER_RESTARTS = 10
View Source
const PACKET_SIZE = 1200

Variables

This section is empty.

Functions

This section is empty.

Types

type WaylandScreenCapture

type WaylandScreenCapture struct {
	// The quality of the stream. This can be anything between 0 and 51
	// 0 is lossless, 51 is barely a single pixel
	// Default is 23 in FFMPEG
	// Sane Range is 17-28
	// 17-18 is visually lossless
	Quality              int
	HardwareAcceleration bool
	Profile              string
	// contains filtered or unexported fields
}

func NewScreenCapture

func NewScreenCapture(quality int, hwAccel bool, profile string) *WaylandScreenCapture

func (*WaylandScreenCapture) GetAudioCodecParameters

func (c *WaylandScreenCapture) GetAudioCodecParameters() *webrtc.RTPCodecParameters

func (*WaylandScreenCapture) GetName

func (c *WaylandScreenCapture) GetName() string

func (*WaylandScreenCapture) GetProgramRunnerH264

func (c *WaylandScreenCapture) GetProgramRunnerH264(file *os.File) (*util.ProgramRunner, error)

func (*WaylandScreenCapture) GetProgramRunnerUDP

func (c *WaylandScreenCapture) GetProgramRunnerUDP(addr net.UDPAddr) (*util.ProgramRunner, error)

func (*WaylandScreenCapture) GetVideoCodecParameters

func (c *WaylandScreenCapture) GetVideoCodecParameters() *webrtc.RTPCodecParameters

Jump to

Keyboard shortcuts

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