public static class WebRtcEndpoint.Builder extends AbstractBuilder<WebRtcEndpoint>
genericProperties, props
Constructor and Description |
---|
WebRtcEndpoint.Builder(MediaPipeline mediaPipeline)
Creates a Builder for WebRtcEndpoint
|
Modifier and Type | Method and Description |
---|---|
WebRtcEndpoint.Builder |
useDataChannels()
Activate data channels support
|
WebRtcEndpoint.Builder |
with(java.lang.String name,
java.lang.Object value) |
WebRtcEndpoint.Builder |
withCertificateKeyType(CertificateKeyType certificateKeyType)
Sets a value for certificateKeyType in Builder for WebRtcEndpoint.
|
WebRtcEndpoint.Builder |
withProperties(Properties properties) |
build, build, buildAsync
public WebRtcEndpoint.Builder(MediaPipeline mediaPipeline)
public WebRtcEndpoint.Builder withProperties(Properties properties)
withProperties
in class AbstractBuilder<WebRtcEndpoint>
public WebRtcEndpoint.Builder with(java.lang.String name, java.lang.Object value)
with
in class AbstractBuilder<WebRtcEndpoint>
public WebRtcEndpoint.Builder useDataChannels()
public WebRtcEndpoint.Builder withCertificateKeyType(CertificateKeyType certificateKeyType)
certificateKeyType
- Define the type of the certificate used in dtls