Interface AddMediaStreamRequest.Builder

    • Method Detail

      • attributes

        AddMediaStreamRequest.Builder attributes​(MediaStreamAttributesRequest attributes)
        The attributes that you want to assign to the new media stream.
        Parameters:
        attributes - The attributes that you want to assign to the new media stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clockRate

        AddMediaStreamRequest.Builder clockRate​(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.
        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • description

        AddMediaStreamRequest.Builder description​(String description)
        A description that can help you quickly identify what your media stream is used for.
        Parameters:
        description - A description that can help you quickly identify what your media stream is used for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mediaStreamId

        AddMediaStreamRequest.Builder mediaStreamId​(Integer mediaStreamId)
        A unique identifier for the media stream.
        Parameters:
        mediaStreamId - A unique identifier for the media stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mediaStreamName

        AddMediaStreamRequest.Builder mediaStreamName​(String mediaStreamName)
        A name that helps you distinguish one media stream from another.
        Parameters:
        mediaStreamName - A name that helps you distinguish one media stream from another.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • videoFormat

        AddMediaStreamRequest.Builder videoFormat​(String videoFormat)
        The resolution of the video.
        Parameters:
        videoFormat - The resolution of the video.
        Returns:
        Returns a reference to this object so that method calls can be chained together.