diff --git a/pc/session_description.h b/pc/session_description.h index 9aa8e3556a..a7259e1f1d 100644 --- a/pc/session_description.h +++ b/pc/session_description.h @@ -183,14 +183,6 @@ class MediaContentDescription { AddStream(sp); } - // Sets the CNAME of all StreamParams if it have not been set. - virtual void SetCnameIfEmpty(const std::string& cname) { - for (cricket::StreamParamsVec::iterator it = send_streams_.begin(); - it != send_streams_.end(); ++it) { - if (it->cname.empty()) - it->cname = cname; - } - } virtual uint32_t first_ssrc() const { if (send_streams_.empty()) { return 0;