November 2002
Intermediate to advanced
848 pages
19h 59m
English
It is often desirable to keep a permanent copy of media by saving it to a file. The media is then available for subsequent playback, processing, or broadcast. The original media to be saved might be captured from a microphone or camera, the result of some processing (such as transcoding), or a broadcast streaming across the network. In JMF, all these instances are represented as DataSources, and the class used to save media is known as a DataSink. Figure 8.20 shows these possible applications of a DataSink.

The DataSink interface specifies an object that accepts ...