Interface RTCSessionDescription
interface RTCSessionDescription {
sdp: string;
type: RTCSdpType;
toJSON(): RTCSessionDescriptionInit;
}
sdp: string;
type: RTCSdpType;
toJSON(): RTCSessionDescriptionInit;
}
Methods
toJSON
- toJSON(): RTCSessionDescriptionInit
Returns RTCSessionDescriptionInit
One end of a connection—or potential connection—and how it's configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session.
MDN Reference