final PlayerEndpoint playerEndpoint1 = new PlayerEndpoint.Builder(pipeline,
"https://giant.gfycat.com/ShoddyInconsequentialElephantbeetle.webm").build();
final PlayerEndpoint playerEndpoint2 = new PlayerEndpoint.Builder(pipeline,
"https://giant.gfycat.com/UnlinedScornfulAcornweevil.webm").build();
final PlayerEndpoint playerEndpoint3 = new PlayerEndpoint.Builder(pipeline,
"https://giant.gfycat.com/UnlinedScornfulAcornweevil.webm").build();
final PlayerEndpoint playerEndpoint4 = new PlayerEndpoint.Builder(pipeline,
"https://giant.gfycat.com/UnlinedScornfulAcornweevil.webm").build();
Composite com = new Composite.Builder(pipeline).build();
HubPort hub1 = new HubPort.Builder(com).build();
HubPort hub2 = new HubPort.Builder(com).build();
HubPort hub3 = new HubPort.Builder(com).build();
HubPort hub4 = new HubPort.Builder(com).build();
HubPort hub5 = new HubPort.Builder(com).build();
playerEndpoint1.connect(hub1);
playerEndpoint2.connect(hub2);