Session class
Represents a WebRTC session.
Constructors
- Session.new({required String sid, required String pid})
- Creates a new session with the specified session ID and peer ID.
Properties
- dc ↔ RTCDataChannel?
-
The data channel for this session.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- peerConnection ↔ RTCPeerConnection?
-
The peer connection for this session.
getter/setter pair
- pid ↔ String
-
The peer ID for this session.
getter/setter pair
-
remoteCandidates
↔ List<
RTCIceCandidate> -
List of remote ICE candidates.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sid ↔ String
-
The session ID for this session.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited