Class: ScreenRecorder::Desktop

Inherits:
Common
  • Object
show all
Includes:
Screenshot
Defined in:
lib/screen-recorder/desktop.rb

Overview

Since:

  • 1.0.0-beta11

Constant Summary collapse

DEFAULT_INPUT_WIN =

Since:

  • 1.0.0-beta11

'desktop'.freeze
DEFAULT_INPUT_LINUX =

Since:

  • 1.0.0-beta11

':0'.freeze
DEFAULT_INPUT_MAC =

Since:

  • 1.0.0-beta11

'1'.freeze

Constants inherited from Common

Common::PROCESS_TIMEOUT

Instance Attribute Summary

Attributes inherited from Common

#options, #video

Instance Method Summary collapse

Methods included from Screenshot

#screenshot, #screenshot_cmd

Methods inherited from Common

#discard, #start, #stop

Constructor Details

#initialize(output:, input: input_by_os, advanced: {}) ⇒ Desktop

Desktop recording mode.

Since:

  • 1.0.0-beta11



14
15
16
# File 'lib/screen-recorder/desktop.rb', line 14

def initialize(output:, input: input_by_os, advanced: {})
  super(input: determine_input(input), output: output, advanced: advanced)
end