public class Recording extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Recording.OutputMode
See
getOutputMode() |
static class |
Recording.Status
See
getStatus() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreatedAt()
Time when the recording started in UTC milliseconds
|
String |
getCustomLayout()
The custom layout used in this recording.
|
double |
getDuration()
Duration of the recording in seconds (0 until the recording is stopped)
|
String |
getId()
Recording unique identifier
|
String |
getName()
Name of the recording.
|
Recording.OutputMode |
getOutputMode()
Mode of recording: COMPOSED for a single archive in a grid layout or
INDIVIDUAL for one archive for each stream
|
RecordingLayout |
getRecordingLayout()
The layout used in this recording.
|
String |
getResolution()
Resolution of the video file.
|
String |
getSessionId()
Session associated to the recording
|
long |
getSize()
Size of the recording in bytes (0 until the recording is stopped)
|
Recording.Status |
getStatus()
Status of the recording
|
String |
getUrl()
URL of the recording.
|
boolean |
hasAudio()
true if the recording has an audio track, false
otherwise (currently fixed to true) |
boolean |
hasVideo()
true if the recording has a video track, false
otherwise (currently fixed to true) |
public Recording.Status getStatus()
public String getId()
public String getName()
recordingStarted, recordingStopped)public Recording.OutputMode getOutputMode()
public RecordingLayout getRecordingLayout()
public String getCustomLayout()
RecordingProperties.Builder.customLayout(String)
has been calledpublic String getSessionId()
public long getCreatedAt()
public long getSize()
public double getDuration()
public String getUrl()
null until recording reaches "ready" or "failed" status. If
OpenVidu Server configuration property
openvidu.recording.public-access is false, this path will be
secured with OpenVidu credentialspublic String getResolution()
Recording.OutputMode.COMPOSEDpublic boolean hasAudio()
true if the recording has an audio track, false
otherwise (currently fixed to true)public boolean hasVideo()
true if the recording has a video track, false
otherwise (currently fixed to true)Copyright © 2020 OpenVidu. All rights reserved.