From a564afe14969b167ce64f341b978b91d47bb7102 Mon Sep 17 00:00:00 2001 From: Jonas Olsson Date: Wed, 14 Feb 2018 10:51:15 +0100 Subject: [PATCH] Fix bug in videoengine sanity check Bug: webrtc:9302 Change-Id: I43d0fdf296232c5d1c2f556e50591faf5117e107 Reviewed-on: https://webrtc-review.googlesource.com/52941 Commit-Queue: Jonas Olsson Reviewed-by: Stefan Holmer Cr-Commit-Position: refs/heads/master@{#23389} --- media/engine/webrtcvideoengine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/engine/webrtcvideoengine.cc b/media/engine/webrtcvideoengine.cc index 2b20be059b..532f57efc2 100644 --- a/media/engine/webrtcvideoengine.cc +++ b/media/engine/webrtcvideoengine.cc @@ -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;