Class TransportStream

    • Method Detail

      • channels

        public final Integer channels()
        The number of channels in the audio stream.
        Returns:
        The number of channels in the audio stream.
      • codec

        public final String codec()
        The codec used by the stream.
        Returns:
        The codec used by the stream.
      • frameRate

        public final String frameRate()
        The frame rate used by the video stream.
        Returns:
        The frame rate used by the video stream.
      • frameResolution

        public final FrameResolution frameResolution()
        Returns the value of the FrameResolution property for this object.
        Returns:
        The value of the FrameResolution property for this object.
      • pid

        public final Integer pid()
        The Packet ID (PID) as it is reported in the Program Map Table.
        Returns:
        The Packet ID (PID) as it is reported in the Program Map Table.
      • sampleRate

        public final Integer sampleRate()
        The sample rate used by the audio stream.
        Returns:
        The sample rate used by the audio stream.
      • sampleSize

        public final Integer sampleSize()
        The sample bit size used by the audio stream.
        Returns:
        The sample bit size used by the audio stream.
      • streamType

        public final String streamType()
        The Stream Type as it is reported in the Program Map Table.
        Returns:
        The Stream Type as it is reported in the Program Map Table.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)