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

Unified Diff: webrtc/pc/mediasession.cc

Issue 1871993002: Only generate one CNAME per PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | webrtc/pc/mediasession_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/mediasession.cc
diff --git a/webrtc/pc/mediasession.cc b/webrtc/pc/mediasession.cc
index a9d1b95c22aee6aae9299315a9ecc05586242336..1b1cb8e186dbb812b27b68b05dc96c62961936bb 100644
--- a/webrtc/pc/mediasession.cc
+++ b/webrtc/pc/mediasession.cc
@@ -232,11 +232,9 @@ static bool GenerateCname(const StreamParamsVec& params_vec,
if (!cname)
return false;
- // Check if a CNAME exist for any of the other synched streams.
+ // Check if a CNAME exist for any of the other streams.
pthatcher1 2016/04/12 22:43:14 exist => exists
for (MediaSessionOptions::Streams::const_iterator stream_it = streams.begin();
stream_it != streams.end() ; ++stream_it) {
pthatcher1 2016/04/12 22:43:14 While you're in here, can you update this to a c++
- if (synch_label != stream_it->sync_label)
- continue;
// groupid is empty for StreamParams generated using
// MediaSessionDescriptionFactory.
« no previous file with comments | « no previous file | webrtc/pc/mediasession_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698