Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public final class SessionDescription
- Object
- SessionDescription
One side’s description of a session – the codecs, the media and the transport keys – in SDP. An offer from the side that calls, an answer from the side that picks up.
The app carries it to the other side by whatever signalling it has; the API never sends it anywhere. Its content is opaque to the app.
Fields
public static final String OFFER = "offer" | The type of the caller’s description. |
public static final String ANSWER = "answer" | The type of the callee’s description. |
Constructors
public SessionDescription(String type, String sdp) |
Methods
public String getType() | |
public String getSdp() |
Inherited methods
Field details
OFFER
public static final String OFFER = "offer"The type of the caller’s description.
ANSWER
public static final String ANSWER = "answer"The type of the callee’s description.
Constructor details
SessionDescription
public SessionDescription(String type, String sdp)Method details
getType
public String getType()getSdp
public String getSdp()