Recording mode:
web
to enable web page recording mode. The format of recorded files is MP4. When the length of the recorded file exceeds two hours, or when the size of the file exceeds 2 GB, the recording service automatically creates another MP4 file.The time (seconds) that the Flexible Classroom cloud service waits between attempts to begin recording. The Flexible Classroom cloud service retries twice at most. If you set this parameter, refer to Record a class for more information.
Recording configuration.
Recording configuration. For more information, see the Classroom RESTful API reference.
The sample rate, encoding mode, number of audio channels, and bitrate or the output audio.
0
: (Default) Sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 48 Kbps.
1
: Sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 128 Kbps.
2
: Sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 192 Kbps.
Maximum recording length (hours). The value range is [1,720].
maxRecordingHour
is 1
.maxRecordingHour
is 2
.
When the recording length exceeds the value of maxRecordingHour
, the recording stops automatically.Whether to pause before recording:
true
: Pauses recording immediately after the web page recording task is enabled. The recording service opens and renders the web page to be recorded, but does not generate a slice file.
false
: (Default) Enables the web page recording task and starts recording.
Root address of the web page to be recorded.
Address of the web page to be recorded.
Bitrate of the video (Kbps).
The value range is [50, 8000].
The default value of videoBitrate
varies according to the resolution of the output video:
videoBitrate
is 2000
.videoBitrate
is 1500
.Frame rate of the video (fps).
The value range is [5, 60].
The default value is 15
.
Height of the video (pixels). The value range is [480, 1280].
The default value is 720
. The product of videoWidth
and videoHeight
must not exceed 921,600 (1280 × 720).
Width of the video (pixels). The value range is [480, 1280].
The default value is 1280
. The product of videoWidth
and videoHeight
must not exceed 921,600 (1280 × 720).
Recording arguments.