public static class WebRtcEndpoint.Builder extends AbstractBuilder<WebRtcEndpoint>
genericProperties, props
Constructor and Description |
---|
Builder(MediaPipeline mediaPipeline)
Creates a Builder for WebRtcEndpoint
|
Modifier and Type | Method and Description |
---|---|
WebRtcEndpoint.Builder |
recvonly()
Single direction, receive-only endpoint
|
WebRtcEndpoint.Builder |
sendonly()
Single direction, send-only endpoint
|
WebRtcEndpoint.Builder |
useDataChannels()
Activate data channels support
|
WebRtcEndpoint.Builder |
with(String name,
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 Builder(MediaPipeline mediaPipeline)
public WebRtcEndpoint.Builder withProperties(Properties properties)
withProperties
in class AbstractBuilder<WebRtcEndpoint>
public WebRtcEndpoint.Builder with(String name, Object value)
with
in class AbstractBuilder<WebRtcEndpoint>
public WebRtcEndpoint.Builder recvonly()
public WebRtcEndpoint.Builder sendonly()
public WebRtcEndpoint.Builder useDataChannels()
public WebRtcEndpoint.Builder withCertificateKeyType(CertificateKeyType certificateKeyType)
certificateKeyType
- Define the type of the certificate used in dtlsCopyright © 2019 Kurento. All rights reserved.