PlayerEndpoint player = pipeline.newPlayerEndpoint(URL_SMALL).build();
HttpEndpoint http = pipeline.newHttpGetEndpoint().build();
AsyncResultManager<Void> asyncAudio = new AsyncResultManager<>(
"player.connect(AUDIO) invocation");
player.connect(http, AUDIO, asyncAudio.getContinuation());
asyncAudio.waitForResult();
AsyncResultManager<Void> asyncVideo = new AsyncResultManager<>(
"player.connect() invocation");
player.connect(http, VIDEO, asyncVideo.getContinuation());