Clone DataSources
|
| |
Problem
To create clones from a DataSource and use them to create different players for playback.
Solution
A sample application is written. It accepts a URL of the input media for playback and a number specifying how many copies of the playback it should generate. It performs the following steps:
- Create a DataSource for the given input URL.
- Create a cloneable DataSource from the original DataSource with the Manager.createCloneableDataSource call.
- Create clones from the cloneable DataSource.
- For the cloneable DataSource and each of the clones created, create a player for playback.
|
| |
| Requirements |
| |
| Platform: |
JDK 1.1.6 or later |
| JMF API: |
2.0 or later |
| Implementation: |
AJ, WPP, SPP * |
* AJ = All Java, WPP = Windows Performance Pack, SPP = Solaris Performance Pack |
|