@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(@JsNonNull 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(@JsNonNull 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(@JsNonNull JsArray<RTCIceServer> iceServers) |
default void |
setIceServers(RTCIceServer... iceServers) |
void |
setIceTransportPolicy(@JsNonNull 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(@JsNonNull java.lang.String peerIdentity) |
void |
setRtcpMuxPolicy(@JsNonNull java.lang.String rtcpMuxPolicy) |
@JsOverlay @Nonnull static RTCConfiguration.Builder create()
@JsProperty(name="bundlePolicy") @RTCBundlePolicy java.lang.String bundlePolicy()
@JsProperty void setBundlePolicy(@RTCBundlePolicy @JsNonNull java.lang.String bundlePolicy)
@JsProperty(name="certificates") JsArray<RTCCertificate> certificates()
@JsProperty void setCertificates(@JsNonNull 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(@JsNonNull JsArray<RTCIceServer> iceServers)
@JsOverlay
default void setIceServers(@Nonnull
RTCIceServer... iceServers)
@JsProperty(name="iceTransportPolicy") @RTCIceTransportPolicy java.lang.String iceTransportPolicy()
@JsProperty void setIceTransportPolicy(@RTCIceTransportPolicy @JsNonNull java.lang.String iceTransportPolicy)
@JsProperty(name="rtcpMuxPolicy") @RTCRtcpMuxPolicy java.lang.String rtcpMuxPolicy()
@JsProperty void setRtcpMuxPolicy(@RTCRtcpMuxPolicy @JsNonNull java.lang.String rtcpMuxPolicy)
@JsProperty(name="peerIdentity") java.lang.String peerIdentity()
@JsProperty void setPeerIdentity(@JsNonNull java.lang.String peerIdentity)