Steps involved in media storage
Realize the processor
Get the output DataSource of the Processor.
 Construct  MediaLocator for the media
destination.
construct a DataSink using the Manager
Open and start the DataSink,
Connect and start to the output- DataSource of
the Processor
Start the Processor.
When you want to stop the file storage
Ø Stop and close the Processor
Ø Disconnect and stop the DataSink.
You may contain the size of the strorage file
using the StreamWriterControl