- java.lang.Object
-
- dev.onvoid.webrtc.RTCSessionDescription
-
public class RTCSessionDescription extends Object
The RTCSessionDescription class is used by an RTCPeerConnection to expose local and remote session descriptions.- Author:
- Alex Andres
-
-
Field Summary
Fields Modifier and Type Field Description StringsdpThe string representation of the SDP, if type is "ROLLBACK", this member is unused.RTCSdpTypesdpTypeThe type of this RTCSessionDescription.
-
Constructor Summary
Constructors Constructor Description RTCSessionDescription(RTCSdpType sdpType, String sdp)Creates an instance of RTCSessionDescription with the specified SDP and the SDP type.
-
-
-
Field Detail
-
sdpType
public final RTCSdpType sdpType
The type of this RTCSessionDescription.
-
sdp
public final String sdp
The string representation of the SDP, if type is "ROLLBACK", this member is unused.
-
-
Constructor Detail
-
RTCSessionDescription
public RTCSessionDescription(RTCSdpType sdpType, String sdp)
Creates an instance of RTCSessionDescription with the specified SDP and the SDP type.- Parameters:
sdpType- The type of this RTCSessionDescription.sdp- The string representation of the SDP; unused if type isRTCSdpType.ROLLBACK.
-
-