Interface MediaStream.Builder

    • Method Detail

      • attributes

        MediaStream.Builder attributes​(MediaStreamAttributes attributes)
        Attributes that are related to the media stream.
        Parameters:
        attributes - Attributes that are related to the media stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clockRate

        MediaStream.Builder clockRate​(Integer clockRate)
        The sample rate for the stream. This value is measured in Hz.
        Parameters:
        clockRate - The sample rate for the stream. This value is measured in Hz.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        MediaStream.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.
      • fmt

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

        MediaStream.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

        MediaStream.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.
      • mediaStreamType

        MediaStream.Builder mediaStreamType​(String mediaStreamType)
        The type of media stream.
        Parameters:
        mediaStreamType - The type of media stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MediaStreamType, MediaStreamType
      • videoFormat

        MediaStream.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.