在webrtc中peerconnection_client例子中含有本地回环测试代码,如果要使用,稍微改动一下
srcexamplespeerconnectionclientconductor.cc代码
改动如下:
void Conductor::StartLogin(const std::string& server, int port)
{
InitializePeerConnection();
ReinitializePeerConnectionForLoopback();
return;
}
在编译之后,启动sever后只需要在VS2017中开启一个peerconnection_client就可以实现本地回环;



