rtccap

package
v0.0.0-...-d49e38c Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultScreenRecordStartTimeout = 10 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	OnErr func(error)
	OnLog func(string)

	// If zero/unset, will be DefaultScreenRecordStartTimeout
	ScreenRecordStartTimeout time.Duration
	Trace                    bool
}

type RTCCap

type RTCCap struct {
	Track *webrtc.RTCTrack
	// contains filtered or unexported fields
}

func Start

func Start(config Config) (*RTCCap, error)

func (*RTCCap) Close

func (r *RTCCap) Close() error

func (*RTCCap) Done

func (r *RTCCap) Done() <-chan struct{}

Jump to

Keyboard shortcuts

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