@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCConfiguration
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCConfiguration.Builder
The RTCConfiguration dictionary is used to provide configuration options for an RTCPeerConnection.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
bundlePolicy()
The RTCConfiguration dictionary's bundlePolicy property is a string value indicating which SDP bundling policy, if any, to use for the underlying RTP streams used by an RTCPeerConnection.
|
JsArray<RTCCertificate> |
certificates()
The RTCConfiguration dictionary's optional certificates property is an array of RTCCertificate objects providing the security certificates available for use when authenticating duing the connection process.
|
static RTCConfiguration.Builder |
create() |
short |
iceCandidatePoolSize() |
JsArray<RTCIceServer> |
iceServers() |
java.lang.String |
iceTransportPolicy()
The WebRTC Device API dictionary RTCConfiguration's iceTransportPolicy property is a string indicating the transport selection policy the ICE agent should use during negotiation of connections.
|
java.lang.String |
peerIdentity() |
java.lang.String |
rtcpMuxPolicy() |
void |
setBundlePolicy(java.lang.String bundlePolicy)
The RTCConfiguration dictionary's bundlePolicy property is a string value indicating which SDP bundling policy, if any, to use for the underlying RTP streams used by an RTCPeerConnection.
|
void |
setCertificates(JsArray<RTCCertificate> certificates)
The RTCConfiguration dictionary's optional certificates property is an array of RTCCertificate objects providing the security certificates available for use when authenticating duing the connection process.
|
default void |
setCertificates(RTCCertificate... certificates)
The RTCConfiguration dictionary's optional certificates property is an array of RTCCertificate objects providing the security certificates available for use when authenticating duing the connection process.
|
void |
setIceCandidatePoolSize(short iceCandidatePoolSize) |
void |
setIceServers(JsArray<RTCIceServer> iceServers) |
default void |
setIceServers(RTCIceServer... iceServers) |
void |
setIceTransportPolicy(java.lang.String iceTransportPolicy)
The WebRTC Device API dictionary RTCConfiguration's iceTransportPolicy property is a string indicating the transport selection policy the ICE agent should use during negotiation of connections.
|
void |
setPeerIdentity(java.lang.String peerIdentity) |
void |
setRtcpMuxPolicy(java.lang.String rtcpMuxPolicy) |
@JsOverlay @Nonnull static RTCConfiguration.Builder create()
@JsProperty(name="bundlePolicy") @RTCBundlePolicy java.lang.String bundlePolicy()
@JsProperty void setBundlePolicy(@RTCBundlePolicy @Nonnull java.lang.String bundlePolicy)
@JsProperty(name="certificates") JsArray<RTCCertificate> certificates()
@JsProperty
void setCertificates(@Nonnull
JsArray<RTCCertificate> certificates)
@JsOverlay
default void setCertificates(@Nonnull
RTCCertificate... certificates)
@JsProperty(name="iceCandidatePoolSize") short iceCandidatePoolSize()
@JsProperty void setIceCandidatePoolSize(short iceCandidatePoolSize)
@JsProperty(name="iceServers") JsArray<RTCIceServer> iceServers()
@JsProperty
void setIceServers(@Nonnull
JsArray<RTCIceServer> iceServers)
@JsOverlay
default void setIceServers(@Nonnull
RTCIceServer... iceServers)
@JsProperty(name="iceTransportPolicy") @RTCIceTransportPolicy java.lang.String iceTransportPolicy()
@JsProperty void setIceTransportPolicy(@RTCIceTransportPolicy @Nonnull java.lang.String iceTransportPolicy)
@JsProperty(name="rtcpMuxPolicy") @RTCRtcpMuxPolicy java.lang.String rtcpMuxPolicy()
@JsProperty void setRtcpMuxPolicy(@RTCRtcpMuxPolicy @Nonnull java.lang.String rtcpMuxPolicy)
@JsProperty(name="peerIdentity") java.lang.String peerIdentity()
@JsProperty
void setPeerIdentity(@Nonnull
java.lang.String peerIdentity)