Documentation ¶ Index ¶ Constants type Config type RTCCap func Start(config Config) (*RTCCap, error) func (r *RTCCap) Close() error func (r *RTCCap) Done() <-chan struct{} 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{} Source Files ¶ View all Source files rtccap.go Click to show internal directories. Click to hide internal directories.