WebPeerConnection class
- Implemented types
Constructors
- WebPeerConnection(RTCPeerConnection rtcConnection)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onConnectionState
→ Stream<
PeerConnectionState> -
Connection state stream
no setteroverride
-
onDataChannel
→ Stream<
DataChannel> -
Data channel stream (incoming)
no setteroverride
-
onIceCandidate
→ Stream<
IceCandidate> -
ICE candidate stream
no setteroverride
-
onTrack
→ Stream<
MediaStream> -
Remote media stream stream
no setteroverride
- rtcConnection → RTCPeerConnection
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addIceCandidate(
IceCandidate candidate) → Future< void> -
Add ICE candidate
override
-
addStream(
MediaStream stream) → Future< void> -
Add local media stream
override
-
close(
) → Future< void> -
Close connection
override
-
createAnswer(
) → Future< SessionDescription> -
Create an SDP answer
override
-
createOffer(
) → Future< SessionDescription> -
Create an SDP offer
override
-
getSignalingState(
) → Future< SignalingState> -
Get current signaling state
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLocalDescription(
SessionDescription description) → Future< void> -
Set local SDP
override
-
setRemoteDescription(
SessionDescription description) → Future< void> -
Set remote SDP
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited