@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface RTCOfferOptions
extends RTCOfferAnswerOptions
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RTCOfferOptions.Builder
The RTCOfferOptions dictionary is used to provide optional settings when creating an RTCPeerConnection offer with the createOffer() method.
|
| Modifier and Type | Method and Description |
|---|---|
static RTCOfferOptions.Builder |
create() |
boolean |
iceRestart()
The iceRestart property of the RTCOfferOptions dictionary is a Boolean value which, when true, tells the RTCPeerConnection to start ICE renegotiation.
|
boolean |
offerToReceiveAudio() |
boolean |
offerToReceiveVideo() |
void |
setIceRestart(boolean iceRestart)
The iceRestart property of the RTCOfferOptions dictionary is a Boolean value which, when true, tells the RTCPeerConnection to start ICE renegotiation.
|
void |
setOfferToReceiveAudio(boolean offerToReceiveAudio) |
void |
setOfferToReceiveVideo(boolean offerToReceiveVideo) |
@JsOverlay @Nonnull static RTCOfferOptions.Builder create()
create in interface RTCOfferAnswerOptions@JsProperty(name="iceRestart") boolean iceRestart()
@JsProperty void setIceRestart(boolean iceRestart)
@JsProperty(name="offerToReceiveAudio") boolean offerToReceiveAudio()
@JsProperty void setOfferToReceiveAudio(boolean offerToReceiveAudio)
@JsProperty(name="offerToReceiveVideo") boolean offerToReceiveVideo()
@JsProperty void setOfferToReceiveVideo(boolean offerToReceiveVideo)