Allow all "token" chars from RFC 4566 when checking for legal mid names.
Previously only alphanumeric characters were allowed. Bug: webrtc:9537 Change-Id: I3fd793ad88520b25ecd884efe3a698f2f0af4639 Reviewed-on: https://webrtc-review.googlesource.com/89388 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24167}
This commit is contained in:
committed by
Commit Bot
parent
78026754a7
commit
d3b7ec2e91
@ -35,7 +35,7 @@ void RtcpDemuxer::AddSink(uint32_t sender_ssrc, RtcpPacketSinkInterface* sink) {
|
||||
|
||||
void RtcpDemuxer::AddSink(const std::string& rsid,
|
||||
RtcpPacketSinkInterface* sink) {
|
||||
RTC_DCHECK(StreamId::IsLegalName(rsid));
|
||||
RTC_DCHECK(StreamId::IsLegalRsidName(rsid));
|
||||
RTC_DCHECK(sink);
|
||||
RTC_DCHECK(!ContainerHasKey(broadcast_sinks_, sink));
|
||||
RTC_DCHECK(!MultimapAssociationExists(rsid_sinks_, rsid, sink));
|
||||
|
||||
Reference in New Issue
Block a user