Class VideoMediaInfo


  • public final class VideoMediaInfo
    extends Object
    Contains information about the video and audio content.
    • Constructor Detail

      • VideoMediaInfo

        public VideoMediaInfo()
    • Method Detail

      • segmentLength

        public String segmentLength()
        Get the segmentLength property: Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
        Returns:
        the segmentLength value.
      • withSegmentLength

        public VideoMediaInfo withSegmentLength​(String segmentLength)
        Set the segmentLength property: Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
        Parameters:
        segmentLength - the segmentLength value to set.
        Returns:
        the VideoMediaInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.