Package org.kurento.client
Class RtpEndpoint.Builder
- java.lang.Object
-
- org.kurento.client.AbstractBuilder<RtpEndpoint>
-
- org.kurento.client.RtpEndpoint.Builder
-
- Enclosing interface:
- RtpEndpoint
public static class RtpEndpoint.Builder extends AbstractBuilder<RtpEndpoint>
-
-
Field Summary
-
Fields inherited from class org.kurento.client.AbstractBuilder
genericProperties, props
-
-
Constructor Summary
Constructors Constructor Description Builder(MediaPipeline mediaPipeline)
Creates a Builder for RtpEndpoint
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RtpEndpoint.Builder
useIpv6()
This configures the endpoint to use IPv6 instead of IPv4.RtpEndpoint.Builder
with(String name, Object value)
RtpEndpoint.Builder
withCrypto(SDES crypto)
Sets a value for crypto in Builder for RtpEndpoint.RtpEndpoint.Builder
withProperties(Properties properties)
-
Methods inherited from class org.kurento.client.AbstractBuilder
build, build, buildAsync
-
-
-
-
Constructor Detail
-
Builder
public Builder(MediaPipeline mediaPipeline)
Creates a Builder for RtpEndpoint
-
-
Method Detail
-
withProperties
public RtpEndpoint.Builder withProperties(Properties properties)
- Overrides:
withProperties
in classAbstractBuilder<RtpEndpoint>
-
with
public RtpEndpoint.Builder with(String name, Object value)
- Overrides:
with
in classAbstractBuilder<RtpEndpoint>
-
withCrypto
public RtpEndpoint.Builder withCrypto(SDES crypto)
Sets a value for crypto in Builder for RtpEndpoint.- Parameters:
crypto
- SDES-type param. If present, this parameter indicates that the communication will be encrypted. By default no encryption is used.
-
useIpv6
public RtpEndpoint.Builder useIpv6()
This configures the endpoint to use IPv6 instead of IPv4.
-
-