MediaPipelineFactory mpf = session.getMediaPipelineFactory();
MediaPipeline mp = mpf.create();
session.releaseOnTerminate(mp);
JackVaderFilter filter = mp.newJackVaderFilter().build();
RtpEndpoint rtpEndpoint = mp.newRtpEndpoint().build();
rtpEndpoint.connect(filter);
rtpEndpoint.connect(rtpEndpoint);
session.start(rtpEndpoint);
sharedFilterReference = filter;
}