Interface NegotiatedSDP.Builder
- Enclosing interface:
- NegotiatedSDP
public static interface NegotiatedSDP.Builder
Builder interface for creating immutable
NegotiatedSDP instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theNegotiatedSDPinstance.connection(Connection connection) Sets the connection details for the negotiated SDP media description.mediaDirection(MediaDirection mediaDirection) Sets the media direction of the negotiated SDP media description.Sets the media type of the negotiated SDP media description.negotiatedCodecs(List<Codec> negotiatedCodecs) Sets the list of codecs negotiated by the SDP media description.
-
Method Details
-
mediaType
Sets the media type of the negotiated SDP media description.- Parameters:
mediaType- the media type.- Returns:
- this Builder instance.
-
mediaDirection
Sets the media direction of the negotiated SDP media description.- Parameters:
mediaDirection- the media direction.- Returns:
- this Builder instance.
-
connection
Sets the connection details for the negotiated SDP media description.- Parameters:
connection- the connection details.- Returns:
- this Builder instance.
-
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 theNegotiatedSDPinstance.- Returns:
- an immutable
NegotiatedSDPinstance.
-