RTCSessionDescription extension type
The RTCSessionDescription
interface describes one end of a
connection—or potential connection—and how it's configured. Each
RTCSessionDescription
consists of a description
RTCSessionDescription.type indicating which part of the offer/answer
negotiation process it describes and of the descriptor of the session.
The process of negotiating a connection between two peers involves
exchanging RTCSessionDescription
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.
- on
- Implemented types
- Available extensions
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
-
no setter
- type → RTCSdpType
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → JSObject -
The
RTCSessionDescription.toJSON()
method generates a description of the object. Both properties, RTCSessionDescription.type and RTCSessionDescription.sdp, are contained in the generated JSON. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited