diff --git a/webrtc/video_engine/test/auto_test/source/vie_autotest_loopback.cc b/webrtc/video_engine/test/auto_test/source/vie_autotest_loopback.cc index 1ebfc3ba1..00b50d1cb 100644 --- a/webrtc/video_engine/test/auto_test/source/vie_autotest_loopback.cc +++ b/webrtc/video_engine/test/auto_test/source/vie_autotest_loopback.cc @@ -217,6 +217,15 @@ int VideoEngineSampleCode(void* window1, void* window2) return -1; } + // Setting SSRC manually (arbitrary value), as otherwise we will get a clash + // (loopback), and a new SSRC will be set, which will reset the receiver. + error = ptrViERtpRtcp->SetLocalSSRC(videoChannel, 0x01234567); + if (error == -1) + { + printf("ERROR in ViERTP_RTCP::SetLocalSSRC\n"); + return -1; + } + // // Set up rendering //