Interface OfferedSDP.Builder
- Enclosing interface:
- OfferedSDP
public static interface OfferedSDP.Builder
Builder interface for creating immutable
OfferedSDP instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theOfferedSDPinstance.connection(Connection connection) Sets the connection details for the offered SDP media description.mediaDirection(MediaDirection mediaDirection) Sets the media direction of the offered SDP media description.Sets the media type of the offered SDP media description.offeredCodecs(List<Codec> offeredCodecs) Sets the list of codecs offered by the SDP media description.
-
Method Details
-
mediaType
Sets the media type of the offered SDP media description.- Parameters:
mediaType- the media type.- Returns:
- this Builder instance.
-
mediaDirection
Sets the media direction of the offered SDP media description.- Parameters:
mediaDirection- the media direction.- Returns:
- this Builder instance.
-
connection
Sets the connection details for the offered SDP media description.- Parameters:
connection- the connection details.- Returns:
- this Builder instance.
-
offeredCodecs
Sets the list of codecs offered by the SDP media description.- Parameters:
offeredCodecs- the list of offered codecs.- Returns:
- this Builder instance.
-
build
OfferedSDP build()Builds theOfferedSDPinstance.- Returns:
- an immutable
OfferedSDPinstance.
-