- Inheritance
- Object
- DartHtmlDomObject
- EventTarget
- RtcPeerConnection
- Annotations
- DomName('RTCPeerConnection')
- SupportedBrowser(SupportedBrowser.CHROME)
- Experimental()
Constants
- addStreamEvent → EventStreamProvider<MediaStreamEvent>
-
Static factory designed to expose
addstreamevents to event handlers that are not necessarily instances of RtcPeerConnection.…constconst EventStreamProvider<MediaStreamEvent>('addstream') - dataChannelEvent → EventStreamProvider<RtcDataChannelEvent>
-
Static factory designed to expose
datachannelevents to event handlers that are not necessarily instances of RtcPeerConnection.…constconst EventStreamProvider<RtcDataChannelEvent>('datachannel') - iceCandidateEvent → EventStreamProvider<RtcIceCandidateEvent>
-
Static factory designed to expose
icecandidateevents to event handlers that are not necessarily instances of RtcPeerConnection.…constconst EventStreamProvider<RtcIceCandidateEvent>('icecandidate') - iceConnectionStateChangeEvent → EventStreamProvider<Event>
-
Static factory designed to expose
iceconnectionstatechangeevents to event handlers that are not necessarily instances of RtcPeerConnection.…constconst EventStreamProvider<Event>('iceconnectionstatechange') - negotiationNeededEvent → EventStreamProvider<Event>
-
Static factory designed to expose
negotiationneededevents to event handlers that are not necessarily instances of RtcPeerConnection.…constconst EventStreamProvider<Event>('negotiationneeded') - removeStreamEvent → EventStreamProvider<MediaStreamEvent>
-
Static factory designed to expose
removestreamevents to event handlers that are not necessarily instances of RtcPeerConnection.…constconst EventStreamProvider<MediaStreamEvent>('removestream') - signalingStateChangeEvent → EventStreamProvider<Event>
-
Static factory designed to expose
signalingstatechangeevents to event handlers that are not necessarily instances of RtcPeerConnection.…constconst EventStreamProvider<Event>('signalingstatechange')
Static Properties
Static Methods
Constructors
- RtcPeerConnection(Map rtcConfiguration, [Map mediaConstraints])
-
factory
- RtcPeerConnection.internal_()
Properties
- blink_jsObject → JsObject
-
The underlying JS DOM object.
read / write, inherited - hashCode → int
-
read-only, inherited
- iceConnectionState → String
-
read-only
- iceGatheringState → String
-
read-only
- localDescription → RtcSessionDescription
-
read-only
- on → Events
-
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
read-only, inherited - onAddStream → Stream<MediaStreamEvent>
-
Stream of
addstreamevents handled by thisRtcPeerConnection.read-only - onDataChannel → Stream<RtcDataChannelEvent>
-
Stream of
datachannelevents handled by thisRtcPeerConnection.read-only - onIceCandidate → Stream<RtcIceCandidateEvent>
-
Stream of
icecandidateevents handled by thisRtcPeerConnection.read-only - onIceConnectionStateChange → Stream<Event>
-
Stream of
iceconnectionstatechangeevents handled by thisRtcPeerConnection.read-only - onNegotiationNeeded → Stream<Event>
-
Stream of
negotiationneededevents handled by thisRtcPeerConnection.read-only - onRemoveStream → Stream<MediaStreamEvent>
-
Stream of
removestreamevents handled by thisRtcPeerConnection.read-only - onSignalingStateChange → Stream<Event>
-
Stream of
signalingstatechangeevents handled by thisRtcPeerConnection.read-only - remoteDescription → RtcSessionDescription
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - signalingState → String
-
read-only
Operators
-
operator ==(
other) → bool -
The equality operator.…
inherited
Methods
-
addEventListener(
String type, EventListener listener(Event event), [bool useCapture]) → void -
inherited
-
addIceCandidate(
RtcIceCandidate candidate, VoidCallback successCallback(), _RtcErrorCallback failureCallback(String errorInformation)) → void -
addStream(
MediaStream stream, [Map mediaConstraints]) → void -
close(
) → void -
createAnswer(
[Map mediaConstraints]) → Future<RtcSessionDescription> -
createDataChannel(
String label, [Map options]) → RtcDataChannel -
createDtmfSender(
MediaStreamTrack track) → RtcDtmfSender -
createOffer(
[Map mediaConstraints]) → Future<RtcSessionDescription> -
dispatchEvent(
Event event) → bool -
inherited
-
getLocalStreams(
) → List<MediaStream> -
getRemoteStreams(
) → List<MediaStream> -
getStats(
MediaStreamTrack selector) → Future<RtcStatsResponse> -
getStreamById(
String streamId) → MediaStream -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.…
inherited -
removeEventListener(
String type, EventListener listener(Event event), [bool useCapture]) → void -
inherited
-
removeStream(
MediaStream stream) → void -
setLocalDescription(
RtcSessionDescription description) → Future -
setRemoteDescription(
RtcSessionDescription description) → Future -
toString(
) → String -
Returns a string representation of this object.
inherited -
updateIce(
[Map configuration, Map mediaConstraints]) → void