Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
RTCPeerConnection Interface Reference

import"dart.idl";

Public Member Functions

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)
 

Public Attributes

readonly attribute DOMString connectionState
 
attribute EventHandler onconnectionstatechange
 

Detailed Description

Definition at line 134 of file dart.idl.

Member Function Documentation

◆ 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 
)

Member Data Documentation

◆ connectionState

readonly attribute DOMString RTCPeerConnection::connectionState

Definition at line 141 of file dart.idl.

◆ onconnectionstatechange

attribute EventHandler RTCPeerConnection::onconnectionstatechange

Definition at line 142 of file dart.idl.


The documentation for this interface was generated from the following file: