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. |
RecordingProperties.Builder |
name(String name)
Call this method to set the name of the video file.
|
RecordingProperties.Builder |
recordingLayout(RecordingLayout layout)
Call this method to set the layout to be used in the recording
|
public RecordingProperties build()
RecordingPropertiespublic RecordingProperties.Builder name(String name)
recordingStarted,
recordingStopped). WARNING: this parameter follows an
overwriting policy. If you name two recordings the same, the newest
MP4 file will overwrite the oldest onepublic RecordingProperties.Builder recordingLayout(RecordingLayout layout)
public 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. See Custom recording layouts to learn moreCopyright © 2018 OpenVidu. All rights reserved.