import"dart.idl";
|
Promise< void > | createOffer (RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback, optional Dictionary rtcOfferOptions) |
|
Promise< void > | createAnswer (RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback, optional Dictionary mediaConstraints) |
|
void | addIceCandidate (RTCIceCandidate candidate) |
|
Promise< void > | getStats (RTCStatsCallback successCallback, optional MediaStreamTrack? selector) |
|
Promise< void > | setLocalDescription (RTCSessionDescriptionInit description, VoidCallback successCallback, [Default=Undefined] optional RTCPeerConnectionErrorCallback failureCallback) |
|
Promise< void > | setRemoteDescription (RTCSessionDescriptionInit description, VoidCallback successCallback, [Default=Undefined] optional RTCPeerConnectionErrorCallback failureCallback) |
|
Definition at line 134 of file dart.idl.
◆ addIceCandidate()
void RTCPeerConnection::addIceCandidate |
( |
RTCIceCandidate |
candidate | ) |
|
◆ createAnswer()
Promise< void > RTCPeerConnection::createAnswer |
( |
RTCSessionDescriptionCallback |
successCallback, |
|
|
RTCPeerConnectionErrorCallback |
failureCallback, |
|
|
optional Dictionary |
mediaConstraints |
|
) |
| |
◆ createOffer()
Promise< void > RTCPeerConnection::createOffer |
( |
RTCSessionDescriptionCallback |
successCallback, |
|
|
RTCPeerConnectionErrorCallback |
failureCallback, |
|
|
optional Dictionary |
rtcOfferOptions |
|
) |
| |
◆ getStats()
Promise< void > RTCPeerConnection::getStats |
( |
RTCStatsCallback |
successCallback, |
|
|
optional MediaStreamTrack? |
selector |
|
) |
| |
◆ setLocalDescription()
Promise< void > RTCPeerConnection::setLocalDescription |
( |
RTCSessionDescriptionInit |
description, |
|
|
VoidCallback |
successCallback, |
|
|
[Default=Undefined] optional RTCPeerConnectionErrorCallback |
failureCallback |
|
) |
| |
◆ setRemoteDescription()
Promise< void > RTCPeerConnection::setRemoteDescription |
( |
RTCSessionDescriptionInit |
description, |
|
|
VoidCallback |
successCallback, |
|
|
[Default=Undefined] optional RTCPeerConnectionErrorCallback |
failureCallback |
|
) |
| |
◆ connectionState
readonly attribute DOMString RTCPeerConnection::connectionState |
◆ onconnectionstatechange
attribute EventHandler RTCPeerConnection::onconnectionstatechange |
The documentation for this interface was generated from the following file:
- third_party/dart-lang/sdk/tools/dom/idl/dart/dart.idl