problems with "%20" as space.
Status: Beta
Brought to you by:
jsanpedro
MediaLocator ml = new MediaLocator("file:/"+path);
Manager.createDataSource(ml);
this will not work (if the file is on the harddisk) if path contains "%20" instead of spaces... However, the own codecs of JMF handle these correctly. This can cause lots of confusion since "file:/" implicates it's an URL you need to provide, thus, with "%20".
So either handle these correctly, or give a warning when a user thries to use a path with "%20" in it.