Setting SSRC in vie_loopback_test

BUG=1822
R=pwestin@webrtc.org, wu@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1603004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4159 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@webrtc.org 2013-06-03 22:54:40 +00:00
parent 0a38432ea5
commit 6eb0f6a4d9

View File

@ -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
//