remove unused SetCnameIfEmpty

BUG=None

Change-Id: I3a2012b7d763efbbf79a6c39afc016b81d2d9af2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/265385
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#37175}
This commit is contained in:
Philipp Hancke 2022-06-09 09:06:49 +02:00 committed by WebRTC LUCI CQ
parent 4ec3e9c988
commit 856eb25183

View File

@ -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;