Class WebRtcEndpoint.Builder
- Enclosing interface:
WebRtcEndpoint
-
Field Summary
Fields inherited from class org.kurento.client.AbstractBuilder
genericProperties, props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrecvonly()
Single direction, receive-only endpointsendonly()
Single direction, send-only endpointActivate data channels supportwithCertificateKeyType
(CertificateKeyType certificateKeyType) Sets a value for certificateKeyType in Builder for WebRtcEndpoint.withProperties
(Properties properties) withQosDscp
(DSCPValue qosDscp) Sets a value for qosDscp in Builder for WebRtcEndpoint.Methods inherited from class org.kurento.client.AbstractBuilder
build, build, buildAsync
-
Constructor Details
-
Builder
Creates a Builder for WebRtcEndpoint
-
-
Method Details
-
withProperties
- Overrides:
withProperties
in classAbstractBuilder<WebRtcEndpoint>
-
with
- Overrides:
with
in classAbstractBuilder<WebRtcEndpoint>
-
recvonly
Single direction, receive-only endpoint -
sendonly
Single direction, send-only endpoint -
useDataChannels
Activate data channels support -
withCertificateKeyType
Sets a value for certificateKeyType in Builder for WebRtcEndpoint.- Parameters:
certificateKeyType
- Define the type of the certificate used in dtls
-
withQosDscp
Sets a value for qosDscp in Builder for WebRtcEndpoint.- Parameters:
qosDscp
- DSCP value to be used in network traffic sent from this endpointIf this parameter is present with a value different to NO_VALUE, all traffic sent from this WebRTCEndpoint will be marked with the correspondent DSCP value according to the DiffServ architecture. This may provide better handling of network traffic according to its characteristics associated to its DSCP value. This better handling includes priority in forwarding traffic and probability of packet drop in case of network congestion.
It must be taken into account that on Internet not all intermediate routers are guaranteed to enforce those DSCP values, even it is possible that certain routers just block traffic marked with specific DSCP values, as discussed here https://datatracker.ietf.org/doc/html/rfc8835#section-4.2.
So, this feature must be managed with care and is mostly intended for private networks, where the network proprietor can configure and guarantee DSCP management in all routers.
-