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
FieldsModifier and TypeFieldDescriptionprivate Stringprivate longprivate org.bson.types.ObjectIdprivate Stringprivate longprivate Stringprivate longprivate Stringprivate Stringprivate Stringprivate Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate longprivate longprivate Stringprivate static final longprivate longstatic final StringThe vod files that is generated from live streamsprivate Stringprivate Stringprivate Stringstatic final StringThe vod file user is uploadedstatic final StringThe vod files that is under a folder which is set in Settingsprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglonglonggetType()getVodId()voidsetAltitude(String altitude) voidsetCreationDate(long creationDate) voidsetDescription(String description) voidsetDuration(long duration) voidsetFilePath(String filePath) voidsetFileSize(long fileSize) voidsetLatitude(String latitude) voidsetLongitude(String longitude) voidsetMetadata(String metadata) voidsetPreviewFilePath(String previewFilePath) voidsetProcessEndTime(long processEndTime) voidsetProcessStartTime(long processStartTime) voidsetProcessStatus(String processStatus) voidsetStartTime(long startTime) voidsetStreamId(String streamId) voidsetStreamName(String streamName) voidvoidvoidsetVodName(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
-