public static class RecordingProperties.Builder extends Object
RecordingProperties| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RecordingProperties |
build()
Builder for
RecordingProperties |
RecordingProperties.Builder |
customLayout(String path)
If setting
recordingLayout(RecordingLayout)
to RecordingLayout.CUSTOM you can call this
method to set the relative path to the specific custom layout you want to
use.Will only have effect if outputMode(Recording.OutputMode)
has been called with value
Recording.OutputMode.COMPOSED.See Custom recording layouts to learn more |
RecordingProperties.Builder |
hasAudio(boolean hasAudio)
Call this method to specify whether to record audio or not.
|
RecordingProperties.Builder |
hasVideo(boolean hasVideo)
Call this method to specify whether to record video or not.
|
RecordingProperties.Builder |
name(String name)
Call this method to set the name of the video file.
|
RecordingProperties.Builder |
outputMode(Recording.OutputMode outputMode)
Call this method to set the mode of recording: COMPOSED for a single archive
in a grid layout or INDIVIDUAL for one archive for each stream
|
RecordingProperties.Builder |
recordingLayout(RecordingLayout layout)
Call this method to set the layout to be used in the recording.
|
RecordingProperties.Builder |
resolution(String resolution)
Call this method to specify the recording resolution.
|
public RecordingProperties build()
RecordingPropertiespublic RecordingProperties.Builder name(String name)
recordingStarted,
recordingStopped)public RecordingProperties.Builder outputMode(Recording.OutputMode outputMode)
public RecordingProperties.Builder recordingLayout(RecordingLayout layout)
outputMode(Recording.OutputMode)
has been called with value
Recording.OutputMode.COMPOSEDpublic RecordingProperties.Builder customLayout(String path)
recordingLayout(RecordingLayout)
to RecordingLayout.CUSTOM you can call this
method to set the relative path to the specific custom layout you want to
use.outputMode(Recording.OutputMode)
has been called with value
Recording.OutputMode.COMPOSED.public RecordingProperties.Builder resolution(String resolution)
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
streampublic RecordingProperties.Builder hasAudio(boolean hasAudio)
hasVideo(boolean)public RecordingProperties.Builder hasVideo(boolean hasVideo)
hasAudio(boolean)Copyright © 2019 OpenVidu. All rights reserved.