aboutsummaryrefslogtreecommitdiff
path: root/pc/webrtc_sdp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pc/webrtc_sdp.cc')
-rw-r--r--pc/webrtc_sdp.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/pc/webrtc_sdp.cc b/pc/webrtc_sdp.cc
index d49684e209..29a9030483 100644
--- a/pc/webrtc_sdp.cc
+++ b/pc/webrtc_sdp.cc
@@ -686,10 +686,12 @@ void CreateTracksFromSsrcInfos(const SsrcInfoVec& ssrc_infos,
int msid_signaling) {
RTC_DCHECK(tracks != NULL);
for (const SsrcInfo& ssrc_info : ssrc_infos) {
+ // According to https://tools.ietf.org/html/rfc5576#section-6.1, the CNAME
+ // attribute is mandatory, but we relax that restriction.
if (ssrc_info.cname.empty()) {
- continue;
+ RTC_LOG(LS_WARNING) << "CNAME attribute missing for SSRC "
+ << ssrc_info.ssrc_id;
}
-
std::vector<std::string> stream_ids;
std::string track_id;
if (msid_signaling & cricket::kMsidSignalingMediaSection) {