Class MediaStream

    • Method Detail

      • attributes

        public final MediaStreamAttributes attributes()
        Attributes that are related to the media stream.
        Returns:
        Attributes that are related to the media stream.
      • clockRate

        public final Integer clockRate()
        The sample rate for the stream. This value is measured in Hz.
        Returns:
        The sample rate for the stream. This value is measured in Hz.
      • description

        public final String description()
        A description that can help you quickly identify what your media stream is used for.
        Returns:
        A description that can help you quickly identify what your media stream is used for.
      • fmt

        public final Integer fmt()
        The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.
        Returns:
        The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.
      • mediaStreamId

        public final Integer mediaStreamId()
        A unique identifier for the media stream.
        Returns:
        A unique identifier for the media stream.
      • mediaStreamName

        public final String mediaStreamName()
        A name that helps you distinguish one media stream from another.
        Returns:
        A name that helps you distinguish one media stream from another.
      • videoFormat

        public final String videoFormat()
        The resolution of the video.
        Returns:
        The resolution of the video.
      • 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)