@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 createOffer() method of the RTCPeerConnection interface initiates the creation of an SDP offer for the purpose of starting a new WebRTC connection to a remote peer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
iceRestart()
The iceRestart property of the RTCOfferOptions dictionary is a Boolean value which, when true, tells the RTCPeerConnection to start ICE renegotiation.
|
static RTCOfferOptions.Builder |
of() |
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 of()
of 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)