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 Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • USER_VOD

      public static final String USER_VOD
      The vod files that is under a folder which is set in Settings
      See Also:
    • STREAM_VOD

      public static final String STREAM_VOD
      The vod files that is generated from live streams
      See Also:
    • UPLOADED_VOD

      public static final String UPLOADED_VOD
      The vod file user is uploaded
      See Also:
    • PROCESS_STATUS_INQUEUE

      public static final String PROCESS_STATUS_INQUEUE
      See Also:
    • PROCESS_STATUS_PROCESSING

      public static final String PROCESS_STATUS_PROCESSING
      See Also:
    • PROCESS_STATUS_FINISHED

      public static final String PROCESS_STATUS_FINISHED
      See Also:
    • PROCESS_STATUS_FAILED

      public static final String PROCESS_STATUS_FAILED
      See Also:
    • dbId

      @Id private org.bson.types.ObjectId dbId
    • streamName

      private String streamName
    • vodName

      private String vodName
    • streamId

      private String streamId
    • creationDate

      private long creationDate
    • startTime

      private long startTime
    • duration

      private long duration
    • fileSize

      private long fileSize
    • filePath

      private String filePath
    • vodId

      private String vodId
    • type

      private String type
    • previewFilePath

      private String previewFilePath
    • processStatus

      private String processStatus
    • processStartTime

      private long processStartTime
    • processEndTime

      private long processEndTime
    • description

      private String description
    • metadata

      private String metadata
    • latitude

      private String latitude
    • longitude

      private String longitude
    • altitude

      private String altitude
  • Constructor Details

    • VoD

      public VoD()
    • VoD

      public VoD(String streamName, String streamId, String filePath, String vodName, long creationDate, long startTime, long duration, long fileSize, String type, String vodId, String previewFilePath)
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getFilePath

      public String getFilePath()
    • setFilePath

      public void setFilePath(String filePath)
    • getFileSize

      public long getFileSize()
    • setFileSize

      public void setFileSize(long fileSize)
    • getStreamName

      public String getStreamName()
    • setStreamName

      public void setStreamName(String streamName)
    • getVodName

      public String getVodName()
    • setVodName

      public void setVodName(String vodName)
    • getStreamId

      public String getStreamId()
    • setStreamId

      public void setStreamId(String streamId)
    • 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

      public String getVodId()
    • setVodId

      public void setVodId(String vodId)
    • getPreviewFilePath

      public String getPreviewFilePath()
    • setPreviewFilePath

      public void setPreviewFilePath(String previewFilePath)
    • getProcessStatus

      public String getProcessStatus()
      Returns:
      the processStatus
    • setProcessStatus

      public void setProcessStatus(String processStatus)
      Parameters:
      processStatus - the processStatus to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getMetadata

      public String getMetadata()
      Returns:
      the metadata
    • setMetadata

      public void setMetadata(String metadata)
      Parameters:
      metadata - the metadata to set
    • getAltitude

      public String getAltitude()
      Returns:
      the altitude
    • setAltitude

      public void setAltitude(String altitude)
      Parameters:
      altitude - the altitude to set
    • setLatitude

      public void setLatitude(String latitude)
      Parameters:
      latitude - the latitude to set
    • getLatitude

      public String getLatitude()
      Returns:
      the latitude
    • getLongitude

      public String getLongitude()
      Returns:
      the longitude
    • setLongitude

      public void setLongitude(String longitude)
      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