RTCPeerConnectionWeb class

Inheritance

Constructors

RTCPeerConnectionWeb(String _peerConnectionId, RtcPeerConnection _jsPc)

Properties

connectionState RTCPeerConnectionState?
no setteroverride
getConfiguration Map<String, dynamic>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
iceConnectionState RTCIceConnectionState?
no setteroverride
iceGatheringState RTCIceGatheringState?
no setteroverride
onAddStream ↔ dynamic Function(MediaStream stream)?
getter/setter pairinherited
onAddTrack ↔ dynamic Function(MediaStream stream, MediaStreamTrack track)?
getter/setter pairinherited
onConnectionState ↔ dynamic Function(RTCPeerConnectionState state)?
getter/setter pairinherited
onDataChannel ↔ dynamic Function(RTCDataChannel channel)?
getter/setter pairinherited
onIceCandidate ↔ dynamic Function(RTCIceCandidate candidate)?
getter/setter pairinherited
onIceConnectionState ↔ dynamic Function(RTCIceConnectionState state)?
getter/setter pairinherited
onIceGatheringState ↔ dynamic Function(RTCIceGatheringState state)?
getter/setter pairinherited
onRemoveStream ↔ dynamic Function(MediaStream stream)?
getter/setter pairinherited
onRemoveTrack ↔ dynamic Function(MediaStream stream, MediaStreamTrack track)?
getter/setter pairinherited
onRenegotiationNeeded ↔ dynamic Function()?
getter/setter pairinherited
onSignalingState ↔ dynamic Function(RTCSignalingState state)?
getter/setter pairinherited
onTrack ↔ dynamic Function(RTCTrackEvent event)?
Unified-Plan
getter/setter pairinherited
receivers Future<List<RTCRtpReceiver>>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senders Future<List<RTCRtpSender>>
no setterinherited
signalingState RTCSignalingState?
no setteroverride
transceivers Future<List<RTCRtpTransceiver>>
no setterinherited

Methods

addCandidate(RTCIceCandidate candidate) Future<void>
override
addStream(MediaStream stream) Future<void>
override
addTrack(MediaStreamTrack track, [MediaStream? stream]) Future<RTCRtpSender>
override
addTransceiver({MediaStreamTrack? track, RTCRtpMediaType? kind, RTCRtpTransceiverInit? init}) Future<RTCRtpTransceiver>
'audio|video', { 'direction': 'recvonly|sendonly|sendrecv' }
override
close() Future<void>
override
createAnswer([Map<String, dynamic>? constraints]) Future<RTCSessionDescription>
override
createDataChannel(String label, RTCDataChannelInit dataChannelDict) Future<RTCDataChannel>
override
createDtmfSender(MediaStreamTrack track) RTCDTMFSender
override
createOffer([Map<String, dynamic>? constraints]) Future<RTCSessionDescription>
override
dispose() Future<void>
override
getLocalDescription() Future<RTCSessionDescription?>
override
getLocalStreams() List<MediaStream>
override
getReceivers() Future<List<RTCRtpReceiver>>
override
getRemoteDescription() Future<RTCSessionDescription?>
override
getRemoteStreams() List<MediaStream>
override
getSenders() Future<List<RTCRtpSender>>
Unified-Plan.
override
getStats([MediaStreamTrack? track]) Future<List<StatsReport>>
override
getTransceivers() Future<List<RTCRtpTransceiver>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeStream(MediaStream stream) Future<void>
override
removeTrack(RTCRtpSender sender) Future<bool>
override
restartIce() Future<void>
override
setConfiguration(Map<String, dynamic> configuration) Future<void>
override
setLocalDescription(RTCSessionDescription description) Future<void>
override
setRemoteDescription(RTCSessionDescription description) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited