public class RecordingProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RecordingProperties.Builder
Builder for
RecordingProperties |
| Modifier and Type | Method and Description |
|---|---|
String |
customLayout()
If
recordingLayout() is
set to RecordingLayout.CUSTOM, this property
defines the relative path to the specific custom layout you want to use.See Custom recording layouts to learn more |
boolean |
hasAudio()
Defines whether to record audio or not.
|
boolean |
hasVideo()
Defines whether to record video or not.
|
String |
name()
Defines the name you want to give to the video file.
|
Recording.OutputMode |
outputMode()
Defines the mode of recording:
Recording.OutputMode.COMPOSED for a
single archive in a grid layout or Recording.OutputMode.INDIVIDUAL
for one archive for each stream.Default to Recording.OutputMode.COMPOSED |
RecordingLayout |
recordingLayout()
Defines the layout to be used in the recording.
Will only have effect if RecordingProperties.Builder.outputMode(Recording.OutputMode)
has been called with value Recording.OutputMode.COMPOSED.Default to RecordingLayout.BEST_FIT |
String |
resolution()
Defines the resolution of the recorded video.
Will only have effect if RecordingProperties.Builder.outputMode(Recording.OutputMode)
has been called with value
Recording.OutputMode.COMPOSED. |
public String name()
recordingStarted,
recordingStopped)public Recording.OutputMode outputMode()
Recording.OutputMode.COMPOSED for a
single archive in a grid layout or Recording.OutputMode.INDIVIDUAL
for one archive for each stream.Recording.OutputMode.COMPOSEDpublic RecordingLayout recordingLayout()
RecordingProperties.Builder.outputMode(Recording.OutputMode)
has been called with value Recording.OutputMode.COMPOSED.RecordingLayout.BEST_FITpublic String customLayout()
recordingLayout() is
set to RecordingLayout.CUSTOM, this property
defines the relative path to the specific custom layout you want to use.public String resolution()
RecordingProperties.Builder.outputMode(Recording.OutputMode)
has been called with value
Recording.OutputMode.COMPOSED. For
Recording.OutputMode.INDIVIDUAL all
individual video files will have the native resolution of the published
stream.public boolean hasAudio()
hasVideo().public boolean hasVideo()
hasAudio().Copyright © 2019 OpenVidu. All rights reserved.