Class StreamMetadata

Direct Known Subclasses:
AudioStreamMetadata, SubtitleStreamMetadata, VideoStreamMetadata

public class StreamMetadata extends TemporalMetadata
Common metadata for all kind of embedded media streams.
  • Field Details

    • alignment

      protected String alignment
    • delay

      protected Long delay
    • frames

      protected Long frames
    • compressionRatio

      protected Float compressionRatio
    • captureDevice

      protected String captureDevice
    • captureDeviceVersion

      protected String captureDeviceVersion
    • captureDeviceVendor

      protected String captureDeviceVendor
    • captureDeviceURL

      protected String captureDeviceURL
    • captureDeviceInfo

      protected String captureDeviceInfo
  • Constructor Details

    • StreamMetadata

      public StreamMetadata()
  • Method Details

    • getAlignment

      public String getAlignment()
    • setAlignment

      public void setAlignment(String alignment)
    • getDelay

      public Long getDelay()
    • setDelay

      public void setDelay(Long delay)
    • getFrames

      public Long getFrames()
    • setFrames

      public void setFrames(Long frames)
    • getCompressionRatio

      public Float getCompressionRatio()
    • setCompressionRatio

      public void setCompressionRatio(Float compressionRatio)
    • getCaptureDevice

      public String getCaptureDevice()
    • setCaptureDevice

      public void setCaptureDevice(String captureDevice)
    • getCaptureDeviceVersion

      public String getCaptureDeviceVersion()
    • setCaptureDeviceVersion

      public void setCaptureDeviceVersion(String captureDeviceVersion)
    • getCaptureDeviceVendor

      public String getCaptureDeviceVendor()
    • setCaptureDeviceVendor

      public void setCaptureDeviceVendor(String captureDeviceVendor)
    • getCaptureDeviceURL

      public String getCaptureDeviceURL()
    • setCaptureDeviceURL

      public void setCaptureDeviceURL(String captureDeviceURL)
    • getCaptureDeviceInfo

      public String getCaptureDeviceInfo()
    • setCaptureDeviceInfo

      public void setCaptureDeviceInfo(String captureDeviceInfo)
    • getResolution

      public Integer getResolution()
      Returns the resolution in bits. Usually one of 8, 16, 20 or 24.
    • setResolution

      public void setResolution(Integer resolution)
      Sets the resolution in bits. Usually one of 8, 16, 20 or 24.