Interface NegotiatedSDP.Builder

Enclosing interface:
NegotiatedSDP

public static interface NegotiatedSDP.Builder
Builder interface for creating immutable NegotiatedSDP instances.
  • Method Details

    • mediaType

      NegotiatedSDP.Builder mediaType(MediaType mediaType)
      Sets the media type of the negotiated SDP media description.
      Parameters:
      mediaType - the media type.
      Returns:
      this Builder instance.
    • mediaDirection

      NegotiatedSDP.Builder mediaDirection(MediaDirection mediaDirection)
      Sets the media direction of the negotiated SDP media description.
      Parameters:
      mediaDirection - the media direction.
      Returns:
      this Builder instance.
    • connection

      NegotiatedSDP.Builder connection(Connection connection)
      Sets the connection details for the negotiated SDP media description.
      Parameters:
      connection - the connection details.
      Returns:
      this Builder instance.
    • negotiatedCodecs

      NegotiatedSDP.Builder negotiatedCodecs(List<Codec> negotiatedCodecs)
      Sets the list of codecs negotiated by the SDP media description.
      Parameters:
      negotiatedCodecs - the list of negotiated codecs.
      Returns:
      this Builder instance.
    • build

      NegotiatedSDP build()
      Builds the NegotiatedSDP instance.
      Returns:
      an immutable NegotiatedSDP instance.