Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: webrtc/api/jsepsessiondescription.cc

Issue 1688383002: Implementing unified plan encoding of msid. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merging with master. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/jsepsessiondescription.cc
diff --git a/webrtc/api/jsepsessiondescription.cc b/webrtc/api/jsepsessiondescription.cc
index b76b167193a6e8c93b55b5771250774ab23c1a4b..b47114b9bcd052979f13a19bdea35d3faae6efc5 100644
--- a/webrtc/api/jsepsessiondescription.cc
+++ b/webrtc/api/jsepsessiondescription.cc
@@ -151,9 +151,10 @@ const IceCandidateCollection* JsepSessionDescription::candidates(
}
bool JsepSessionDescription::ToString(std::string* out) const {
- if (!description_ || !out)
+ if (!description_ || !out) {
return false;
- *out = SdpSerialize(*this);
+ }
+ *out = SdpSerialize(*this, false);
return !out->empty();
}
« no previous file with comments | « webrtc/api/jsepicecandidate.h ('k') | webrtc/api/webrtcsdp.h » ('j') | webrtc/api/webrtcsdp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698