public void testWebRtcSwitch() throws InterruptedException {
// Media pipeline
MediaPipeline mp = pipelineFactory.create();
WebRtcEndpoint webRtcEndpoint1 = mp.newWebRtcEndpoint().build();
WebRtcEndpoint webRtcEndpoint2 = mp.newWebRtcEndpoint().build();
WebRtcEndpoint webRtcEndpoint3 = mp.newWebRtcEndpoint().build();
webRtcEndpoint1.connect(webRtcEndpoint1);
webRtcEndpoint2.connect(webRtcEndpoint2);
webRtcEndpoint3.connect(webRtcEndpoint3);
BrowserClient.Builder builderWebrtc = new BrowserClient.Builder()