RTCPeerConnection$Typings extension

on

Properties

addEventListener → ({void Function<K$>(RTCPeerConnectionEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
addIceCandidate → ({Future<void> Function([RTCIceCandidateInit? candidate]) $1, Future<void> Function(RTCIceCandidateInit candidate, VoidFunction successCallback, RTCPeerConnectionErrorCallback failureCallback) $2})
Overload accessor: $1, $2
no setter
addTrack RTCRtpSender Function(MediaStreamTrack, [Iterable?])
getter/setter pair
addTransceiver RTCRtpTransceiver Function(Object, [RTCRtpTransceiverInit?])
getter/setter pair
canTrickleIceCandidates bool?
MDN Reference
no setter
close ↔ void Function()
getter/setter pair
connectionState RTCPeerConnectionState
MDN Reference
no setter
createAnswer → ({Future<RTCSessionDescriptionInit> Function([RTCAnswerOptions? options]) $1, Future<void> Function(RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback) $2})
Overload accessor: $1, $2
no setter
createDataChannel RTCDataChannel Function(String, [RTCDataChannelInit?])
getter/setter pair
createOffer → ({Future<RTCSessionDescriptionInit> Function([RTCOfferOptions? options]) $1, Future<void> Function(RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback, [RTCOfferOptions? options]) $2})
Overload accessor: $1, $2
no setter
currentLocalDescription RTCSessionDescription?
MDN Reference
no setter
currentRemoteDescription RTCSessionDescription?
MDN Reference
no setter
getConfiguration RTCConfiguration Function()
getter/setter pair
getReceivers List<RTCRtpReceiver> Function()
getter/setter pair
getSenders List<RTCRtpSender> Function()
getter/setter pair
getStats Future<RTCStatsReport> Function([MediaStreamTrack?])
getter/setter pair
getTransceivers List<RTCRtpTransceiver> Function()
getter/setter pair
iceConnectionState RTCIceConnectionState
MDN Reference
no setter
iceGatheringState RTCIceGatheringState
MDN Reference
no setter
localDescription RTCSessionDescription?
MDN Reference
no setter
onconnectionstatechange ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
ondatachannel ↔ dynamic Function(RTCDataChannelEvent)?
MDN Reference
getter/setter pair
onicecandidate ↔ dynamic Function(RTCPeerConnectionIceEvent)?
MDN Reference
getter/setter pair
onicecandidateerror ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
oniceconnectionstatechange ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
onicegatheringstatechange ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
onnegotiationneeded ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
onsignalingstatechange ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
ontrack ↔ dynamic Function(RTCTrackEvent)?
MDN Reference
getter/setter pair
pendingLocalDescription RTCSessionDescription?
MDN Reference
no setter
pendingRemoteDescription RTCSessionDescription?
MDN Reference
no setter
remoteDescription RTCSessionDescription?
MDN Reference
no setter
removeEventListener → ({void Function<K$>(RTCPeerConnectionEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
removeTrack ↔ void Function(RTCRtpSender)
getter/setter pair
restartIce ↔ void Function()
getter/setter pair
sctp RTCSctpTransport?
MDN Reference
no setter
setConfiguration ↔ void Function([RTCConfiguration?])
getter/setter pair
setLocalDescription → ({Future<void> Function([RTCLocalSessionDescriptionInit? description]) $1, Future<void> Function(RTCLocalSessionDescriptionInit description, VoidFunction successCallback, RTCPeerConnectionErrorCallback failureCallback) $2})
Overload accessor: $1, $2
no setter
setRemoteDescription → ({Future<void> Function(RTCSessionDescriptionInit description) $1, Future<void> Function(RTCSessionDescriptionInit description, VoidFunction successCallback, RTCPeerConnectionErrorCallback failureCallback) $2})
Overload accessor: $1, $2
no setter
signalingState RTCSignalingState
MDN Reference
no setter