public interface PullTransport
AudioSource
and transport it to
OutputStreamModifier and Type | Interface and Description |
---|---|
static class |
PullTransport.AbstractPullTransport |
static class |
PullTransport.Default |
static class |
PullTransport.Noise |
static interface |
PullTransport.OnAudioChunkPulledListener
Interface definition for a callback to be invoked when a chunk of audio is pulled from
AudioSource . |
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() |
void start(java.io.OutputStream outputStream) throws java.io.IOException
AudioSource
and transport it to
OutputStreamoutputStream
- the OutputStream where we want to transport the pulled audio data.java.io.IOException
- if there is any problem arise in pulling and transportingvoid stop()
AudioSource source()