@@ -29,21 +29,8 @@ module Device
29
29
# This method requires FFMPEG (https://www.ffmpeg.org/download.html) to be installed and present in PATH.
30
30
# The resulting video uses H264 codec and is ready to be played by media players built-in into web browsers.
31
31
#
32
- # @param [String] remote_path The path to the remote location, where the resulting video should be uploaded.
33
- # The following protocols are supported: http/https, ftp.
34
- # Null or empty string value (the default setting) means the content of resulting
35
- # file should be encoded as Base64 and passed as the endpount response value.
36
- # An exception will be thrown if the generated media file is too big to
37
- # fit into the available process memory.
38
- # This option only has an effect if there is screen recording process in progreess
39
- # and +forceRestart+ parameter is not set to +true+.
40
- # @param [String] user The name of the user for the remote authentication.
41
- # @param [String] pass The password for the remote authentication.
42
- # @param [String] method The http multipart upload method name. The 'PUT' one is used by default.
43
- # @param [Boolean] force_restart Whether to try to catch and upload/return the currently running screen recording
44
- # (+false+, the default setting on server) or ignore the result of it
45
- # and start a new recording immediately (+true+).
46
- # @param [String] time_limit Recording time. 180 seconds is by default.
32
+ # @param [Boolean] force_restart Whether to stop existing recording process forcefully and start a new recording process.
33
+ # @param [String] time_limit Recording time. 600 seconds is by default.
47
34
# @param [Number|String] fps The count of frames per second in the resulting video.
48
35
# Increasing fps value also increases the size of the resulting
49
36
# video file and the CPU usage. Defaults to 15.
@@ -73,6 +60,7 @@ module Device
73
60
# @param [String] audio_input If provided then the given audio input will be used to record the computer audio
74
61
# along with the desktop video. The list of available devices could be retrieved using
75
62
# +ffmpeg -list_devices true -f dshow -i dummy+ command.
63
+ # @return [String] Base64 encoded content of the recorded media file
76
64
#
77
65
# @example
78
66
#
0 commit comments