public abstract static class PullTransport.AbstractPullTransport extends java.lang.Object implements PullTransport
PullTransport.AbstractPullTransport, PullTransport.Default, PullTransport.Noise, PullTransport.OnAudioChunkPulledListener| Modifier and Type | Method and Description |
|---|---|
AudioSource |
source() |
void |
start(java.io.OutputStream outputStream)
It starts to pull the
AudioSource and transport it to
OutputStream |
void |
stop() |
public void start(java.io.OutputStream outputStream)
throws java.io.IOException
PullTransportAudioSource and transport it to
OutputStreamstart in interface PullTransportoutputStream - the OutputStream where we want to transport the pulled audio data.java.io.IOException - if there is any problem arise in pulling and transportingpublic void stop()
stop in interface PullTransportpublic AudioSource source()
source in interface PullTransport