Class SessionDescription

java.lang.Object
com.codename1.webrtc.SessionDescription

public final class SessionDescription extends Object

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.

  • Field Details

  • Constructor Details

    • SessionDescription

      public SessionDescription(String type, String sdp)
      Parameters
      • type: OFFER or ANSWER

      • sdp: the description, exactly as the other side produced it

  • Method Details

    • getType

      public String getType()
    • getSdp

      public String getSdp()