Package io.antmedia.datastore.db.types
Class VoD
java.lang.Object
io.antmedia.datastore.db.types.VoD
- All Implemented Interfaces:
Serializable
@Entity("vod")
@Index(fields=@Field("vodId")) @Index(fields=@Field("vodName")) @Index(fields=@Field("streamId")) @Index(fields=@Field("streamName"))
public class VoD
extends Object
implements Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private long
private org.bson.types.ObjectId
private String
private long
private String
private long
private String
private String
private String
private String
static final String
static final String
static final String
static final String
private long
private long
private String
private static final long
private long
static final String
The vod files that is generated from live streamsprivate String
private String
private String
static final String
The vod file user is uploadedstatic final String
The vod files that is under a folder which is set in Settingsprivate String
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
long
getType()
getVodId()
void
setAltitude
(String altitude) void
setCreationDate
(long creationDate) void
setDescription
(String description) void
setDuration
(long duration) void
setFilePath
(String filePath) void
setFileSize
(long fileSize) void
setLatitude
(String latitude) void
setLongitude
(String longitude) void
setMetadata
(String metadata) void
setPreviewFilePath
(String previewFilePath) void
setProcessEndTime
(long processEndTime) void
setProcessStartTime
(long processStartTime) void
setProcessStatus
(String processStatus) void
setStartTime
(long startTime) void
setStreamId
(String streamId) void
setStreamName
(String streamName) void
void
void
setVodName
(String vodName)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
USER_VOD
The vod files that is under a folder which is set in Settings- See Also:
-
STREAM_VOD
The vod files that is generated from live streams- See Also:
-
UPLOADED_VOD
The vod file user is uploaded- See Also:
-
PROCESS_STATUS_INQUEUE
- See Also:
-
PROCESS_STATUS_PROCESSING
- See Also:
-
PROCESS_STATUS_FINISHED
- See Also:
-
PROCESS_STATUS_FAILED
- See Also:
-
dbId
@Id private org.bson.types.ObjectId dbId -
streamName
-
vodName
-
streamId
-
creationDate
private long creationDate -
startTime
private long startTime -
duration
private long duration -
fileSize
private long fileSize -
filePath
-
vodId
-
type
-
previewFilePath
-
processStatus
-
processStartTime
private long processStartTime -
processEndTime
private long processEndTime -
description
-
metadata
-
latitude
-
longitude
-
altitude
-
-
Constructor Details
-
VoD
public VoD() -
VoD
-
-
Method Details
-
getType
-
setType
-
getFilePath
-
setFilePath
-
getFileSize
public long getFileSize() -
setFileSize
public void setFileSize(long fileSize) -
getStreamName
-
setStreamName
-
getVodName
-
setVodName
-
getStreamId
-
setStreamId
-
getCreationDate
public long getCreationDate() -
setCreationDate
public void setCreationDate(long creationDate) -
getStartTime
public long getStartTime() -
setStartTime
public void setStartTime(long startTime) -
getDuration
public long getDuration() -
setDuration
public void setDuration(long duration) -
getVodId
-
setVodId
-
getPreviewFilePath
-
setPreviewFilePath
-
getProcessStatus
- Returns:
- the processStatus
-
setProcessStatus
- Parameters:
processStatus
- the processStatus to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description
- the description to set
-
getMetadata
- Returns:
- the metadata
-
setMetadata
- Parameters:
metadata
- the metadata to set
-
getAltitude
- Returns:
- the altitude
-
setAltitude
- Parameters:
altitude
- the altitude to set
-
setLatitude
- Parameters:
latitude
- the latitude to set
-
getLatitude
- Returns:
- the latitude
-
getLongitude
- Returns:
- the longitude
-
setLongitude
- Parameters:
longitude
- the longitude to set
-
getProcessStartTime
public long getProcessStartTime()- Returns:
- the processStartTime
-
setProcessStartTime
public void setProcessStartTime(long processStartTime) - Parameters:
processStartTime
- the processStartTime to set
-
getProcessEndTime
public long getProcessEndTime()- Returns:
- the processEndTime
-
setProcessEndTime
public void setProcessEndTime(long processEndTime) - Parameters:
processEndTime
- the processEndTime to set
-