public static class MediaSource.Output
extends java.lang.Object
Constructor and Description |
---|
MediaSource.Output() |
Modifier and Type | Method and Description |
---|---|
static void |
writeTo(MediaSource source,
java.io.OutputStream outputStream)
Helper method that writes the contents of a media source to an output
stream.
|
public static void writeTo(MediaSource source, java.io.OutputStream outputStream) throws java.io.IOException
source
- the source media stream containing the media data.outputStream
- the target output stream.java.io.IOException
- on any error writing the data to the stream.