RTCPeerConnection class abstract
- Implementers
Constructors
Properties
- connectionState → RTCPeerConnectionState?
-
no setter
-
getConfiguration
→ Map<
String, dynamic> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- iceConnectionState → RTCIceConnectionState?
-
no setter
- iceGatheringState → RTCIceGatheringState?
-
no setter
- onAddStream ↔ dynamic Function(MediaStream stream)?
-
getter/setter pair
- onAddTrack ↔ dynamic Function(MediaStream stream, MediaStreamTrack track)?
-
getter/setter pair
- onConnectionState ↔ dynamic Function(RTCPeerConnectionState state)?
-
getter/setter pair
- onDataChannel ↔ dynamic Function(RTCDataChannel channel)?
-
getter/setter pair
- onIceCandidate ↔ dynamic Function(RTCIceCandidate candidate)?
-
getter/setter pair
- onIceConnectionState ↔ dynamic Function(RTCIceConnectionState state)?
-
getter/setter pair
- onIceGatheringState ↔ dynamic Function(RTCIceGatheringState state)?
-
getter/setter pair
- onRemoveStream ↔ dynamic Function(MediaStream stream)?
-
getter/setter pair
- onRemoveTrack ↔ dynamic Function(MediaStream stream, MediaStreamTrack track)?
-
getter/setter pair
- onRenegotiationNeeded ↔ dynamic Function()?
-
getter/setter pair
- onSignalingState ↔ dynamic Function(RTCSignalingState state)?
-
getter/setter pair
- onTrack ↔ dynamic Function(RTCTrackEvent event)?
-
Unified-Plan
getter/setter pair
-
receivers
→ Future<
List< RTCRtpReceiver> > -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
senders
→ Future<
List< RTCRtpSender> > -
no setter
- signalingState → RTCSignalingState?
-
no setter
-
transceivers
→ Future<
List< RTCRtpTransceiver> > -
no setter
Methods
-
addCandidate(
RTCIceCandidate candidate) → Future< void> -
addStream(
MediaStream stream) → Future< void> -
addTrack(
MediaStreamTrack track, [MediaStream stream]) → Future< RTCRtpSender> -
addTransceiver(
{MediaStreamTrack track, RTCRtpMediaType kind, RTCRtpTransceiverInit init}) → Future< RTCRtpTransceiver> - 'audio|video', { 'direction': 'recvonly|sendonly|sendrecv' }
-
close(
) → Future< void> -
createAnswer(
[Map< String, dynamic> constraints]) → Future<RTCSessionDescription> -
createDataChannel(
String label, RTCDataChannelInit dataChannelDict) → Future< RTCDataChannel> -
createDtmfSender(
MediaStreamTrack track) → RTCDTMFSender -
createOffer(
[Map< String, dynamic> constraints]) → Future<RTCSessionDescription> -
dispose(
) → Future< void> -
getLocalDescription(
) → Future< RTCSessionDescription?> -
getLocalStreams(
) → List< MediaStream?> -
getReceivers(
) → Future< List< RTCRtpReceiver> > -
getRemoteDescription(
) → Future< RTCSessionDescription?> -
getRemoteStreams(
) → List< MediaStream?> -
getSenders(
) → Future< List< RTCRtpSender> > - Unified-Plan.
-
getStats(
[MediaStreamTrack? track]) → Future< List< StatsReport> > -
getTransceivers(
) → Future< List< RTCRtpTransceiver> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeStream(
MediaStream stream) → Future< void> -
removeTrack(
RTCRtpSender sender) → Future< bool> -
restartIce(
) → Future< void> -
setConfiguration(
Map< String, dynamic> configuration) → Future<void> -
setLocalDescription(
RTCSessionDescription description) → Future< void> -
setRemoteDescription(
RTCSessionDescription description) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited