Fix bug in videoengine sanity check

Bug: webrtc:9302
Change-Id: I43d0fdf296232c5d1c2f556e50591faf5117e107
Reviewed-on: https://webrtc-review.googlesource.com/52941
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23389}
This commit is contained in:
Jonas Olsson 2018-02-14 10:51:15 +01:00 committed by Commit Bot
parent f517f11fcb
commit a564afe149

View File

@ -2279,7 +2279,7 @@ void WebRtcVideoChannel::WebRtcVideoReceiveStream::SetLocalSsrc(
// should not be able to create a sender with the same SSRC as a receiver, but
// right now this can't be done due to unittests depending on receiving what
// they are sending from the same MediaChannel.
if (local_ssrc == config_.rtp.remote_ssrc) {
if (local_ssrc == config_.rtp.local_ssrc) {
RTC_LOG(LS_INFO) << "Ignoring call to SetLocalSsrc because parameters are "
"unchanged; local_ssrc="
<< local_ssrc;