public interface SampleSink extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
acceptSample(StreamingSample streamingSample,
StreamingTrack streamingTrack)
Adds a samples to the SampleSink.
|
void |
close()
Free all resources blocked and interrupts the process of
writing the output.
|
void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOException - if closing failsvoid acceptSample(StreamingSample streamingSample, StreamingTrack streamingTrack) throws IOException
StreamingTrack must be ready and accept calls to any method.IOException - if writing (or reading) fails.Copyright © 2018. All rights reserved.