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:
parent
4ec3e9c988
commit
856eb25183
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user