namespace webrtc { // Serializes the passed in SessionDescriptionInterface. // Serialize SessionDescription including candidates if // SessionDescriptionInterface has candidates. // jdesc - The SessionDescriptionInterface object to be serialized. // return - SDP string serialized from the arguments.
std::string SdpSerialize(const SessionDescriptionInterface& jdesc);
// Deserializes the `sdp` to construct a SessionDescriptionInterface object. // sdp_type - The type of session description object that should be constructed. // sdp - The SDP string to be Deserialized. // error - Optional detail error information when parsing fails. // return - A new session description object if successful, otherwise nullptr.
absl_nullable std::unique_ptr<SessionDescriptionInterface> SdpDeserialize(
SdpType sdp_type,
absl::string_view sdp,
SdpParseError* absl_nullable error = nullptr);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.