Enum datachannel_facade::SdpType
source · pub enum SdpType {
Offer,
Answer,
Pranswer,
Rollback,
}
Expand description
The property RTCSessionDescription.type is a read-only string value which describes the description’s type.
Variants§
Offer
The session description object describes the initial proposal in an offer/answer exchange. The session negotiation process begins with an offer being sent from the caller to the callee.
Answer
The SDP contained in the sdp property is the definitive choice in the exchange. In other words, this session description describes the agreed-upon configuration, and is being sent to finalize negotiation.
Pranswer
The session description object describes a provisional answer; that is, a response to a previous offer that is not the final answer. It is usually employed by legacy hardware.
Rollback
This special type with an empty session description is used to roll back to the previous stable state.