RTCSessionDescription class
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface describes one end of a connection—or potential connection—and how it's configured. Each consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session. The process of negotiating a connection between two peers involves exchanging objects back and forth, with each description suggesting one combination of connection configuration options that the sender of the description supports. Once the two peers agree upon a configuration for the connection, negotiation is complete.
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- RTCSessionDescription(RTCSessionDescriptionInit descriptionInitDict)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdp → String
-
Available on RTCSessionDescription, provided by the PropsRTCSessionDescription extension
no setter - type → RTCSdpType
-
Available on RTCSessionDescription, provided by the PropsRTCSessionDescription extension
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → dynamic -
Available on RTCSessionDescription, provided by the PropsRTCSessionDescription extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited