}
public void doTest(Browser browserType) throws Exception {
// Media Pipeline
MediaPipeline mp = pipelineFactory.create();
WebRtcEndpoint webRtcEP1 = mp.newWebRtcEndpoint().build();
WebRtcEndpoint webRtcEP2 = mp.newWebRtcEndpoint().build();
WebRtcEndpoint webRtcEP3 = mp.newWebRtcEndpoint().build();
WebRtcEndpoint webRtcEP4 = mp.newWebRtcEndpoint().build();
HttpGetEndpoint httpEP = mp.newHttpGetEndpoint().terminateOnEOS()
.build();
Composite composite = mp.newComposite().build();
HubPort hubPort1 = composite.newHubPort().build();
HubPort hubPort2 = composite.newHubPort().build();
HubPort hubPort3 = composite.newHubPort().build();
HubPort hubPort4 = composite.newHubPort().build();
HubPort hubPort5 = composite.newHubPort().build();
webRtcEP1.connect(hubPort1);
webRtcEP2.connect(hubPort2);
webRtcEP3.connect(hubPort3);
webRtcEP4.connect(hubPort4);
hubPort5.connect(httpEP);
// Test execution
try (BrowserClient browserPlayer = new BrowserClient.Builder()
.browser(browserType).client(Client.PLAYER).build();