public class Recording extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Recording.Status |
| Constructor and Description |
|---|
Recording(org.json.simple.JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreatedAt()
Time when the recording started in UTC milliseconds
|
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.
|
RecordingLayout |
getRecordingLayout()
The layout used in this recording
|
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 RecordingLayout getRecordingLayout()
public String getSessionId()
public long getCreatedAt()
public long getSize()
public double getDuration()
public String getUrl()
null until recording is stopped or if
OpenVidu Server configuration property
openvidu.recording.public-access is falsepublic 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 © 2018 OpenVidu. All rights reserved.