Class AddMediaStreamRequest

    • Method Detail

      • attributes

        public final MediaStreamAttributesRequest attributes()
        The attributes that you want to assign to the new media stream.
        Returns:
        The attributes that you want to assign to the new media stream.
      • clockRate

        public final Integer clockRate()
        The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.
        Returns:
        The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.
      • 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.
      • 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)