Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. RtcPeerConnection class
RtcPeerConnection
description

RtcPeerConnection class

Inheritance
Annotations
  • @SupportedBrowser.new(SupportedBrowser.CHROME)
  • @Native.new("RTCPeerConnection,webkitRTCPeerConnection,mozRTCPeerConnection")

Constructors

RtcPeerConnection(MaprtcIceServers, [Map?mediaConstraints])
factory

Properties

connectionStateString?
no setter
hashCodeint
The hash code for this object.
no setterinherited
iceConnectionStateString?
no setter
iceGatheringStateString?
no setter
localDescriptionRtcSessionDescription?
no setter
onEvents
This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.
no setterinherited
onAddStreamStream<MediaStreamEvent>
Stream ofaddstream events handled by thisRtcPeerConnection.
no setter
onConnectionStateChangeStream<Event>
Stream ofconnectionstatechange events handled by thisRtcPeerConnection.
no setter
onDataChannelStream<RtcDataChannelEvent>
Stream ofdatachannel events handled by thisRtcPeerConnection.
no setter
onIceCandidateStream<RtcPeerConnectionIceEvent>
Stream oficecandidate events handled by thisRtcPeerConnection.
no setter
onIceConnectionStateChangeStream<Event>
Stream oficeconnectionstatechange events handled by thisRtcPeerConnection.
no setter
onNegotiationNeededStream<Event>
Stream ofnegotiationneeded events handled by thisRtcPeerConnection.
no setter
onRemoveStreamStream<MediaStreamEvent>
Stream ofremovestream events handled by thisRtcPeerConnection.
no setter
onSignalingStateChangeStream<Event>
Stream ofsignalingstatechange events handled by thisRtcPeerConnection.
no setter
onTrackStream<RtcTrackEvent>
Stream oftrack events handled by thisRtcPeerConnection.
no setter
remoteDescriptionRtcSessionDescription?
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
signalingStateString?
no setter

Methods

addEventListener(Stringtype,EventListener?listener, [bool?useCapture])→ void
inherited
addIceCandidate(Objectcandidate, [VoidCallback?successCallback,RtcPeerConnectionErrorCallback?failureCallback])Future
addStream(MediaStream?stream, [Map?mediaConstraints])→ void
addTrack(MediaStreamTracktrack,MediaStreamstreams)RtcRtpSender
close()→ void
createAnswer([Map?options])Future<RtcSessionDescription>
createDataChannel(Stringlabel, [Map?dataChannelDict])RtcDataChannel
createDtmfSender(MediaStreamTracktrack)RtcDtmfSender
createOffer([Map?options])Future<RtcSessionDescription>
dispatchEvent(Eventevent)bool
inherited
getLegacyStats([MediaStreamTrack?selector])Future<RtcStatsResponse>
Temporarily exposes _getStats and old getStats as getLegacyStats until Chrome fully supportsnew getStats API.
getLocalStreams()List<MediaStream>
getReceivers()List<RtcRtpReceiver>
getRemoteStreams()List<MediaStream>
getSenders()List<RtcRtpSender>
getStats()Future<RtcStatsReport>
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(Stringtype,EventListener?listener, [bool?useCapture])→ void
inherited
removeStream(MediaStream?stream)→ void
removeTrack(RtcRtpSendersender)→ void
setConfiguration(Mapconfiguration)→ void
setLocalDescription(Mapdescription)Future
setRemoteDescription(Mapdescription)Future
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Static Properties

supportedbool
Checks if Real Time Communication (RTC) APIs are supported and enabled onthe current platform.
no setter

Static Methods

generateCertificate(dynamickeygenAlgorithm)Future

Constants

addStreamEvent→ constEventStreamProvider<MediaStreamEvent>
Static factory designed to exposeaddstream events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
connectionStateChangeEvent→ constEventStreamProvider<Event>
Static factory designed to exposeconnectionstatechange events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
dataChannelEvent→ constEventStreamProvider<RtcDataChannelEvent>
Static factory designed to exposedatachannel events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
iceCandidateEvent→ constEventStreamProvider<RtcPeerConnectionIceEvent>
Static factory designed to exposeicecandidate events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
iceConnectionStateChangeEvent→ constEventStreamProvider<Event>
Static factory designed to exposeiceconnectionstatechange events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
negotiationNeededEvent→ constEventStreamProvider<Event>
Static factory designed to exposenegotiationneeded events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
removeStreamEvent→ constEventStreamProvider<MediaStreamEvent>
Static factory designed to exposeremovestream events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
signalingStateChangeEvent→ constEventStreamProvider<Event>
Static factory designed to exposesignalingstatechange events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
trackEvent→ constEventStreamProvider<RtcTrackEvent>
Static factory designed to exposetrack events to eventhandlers that are not necessarily instances ofRtcPeerConnection.
  1. Dart
  2. dart:html
  3. RtcPeerConnection class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp