Module webrtc.java

Interface CreateSessionDescriptionObserver

    • Method Detail

      • onSuccess

        void onSuccess​(RTCSessionDescription description)
        Receives the generated SDP answer/offer. The SDP contains descriptions of the local MediaStreamTracks attached to the RTCPeerConnection, the codec/RTP/RTCP options negotiated for the current session, and any candidates that have been gathered by the ICE Agent.
        Parameters:
        description - The generated answer/offer session description.
      • onFailure

        void onFailure​(String error)
        An error has occurred, causing the RTCPeerConnection to abort the SDP generation procedure.
        Parameters:
        error - The error message.