Hi. I have written a small client/server application which streams audio
across an already open network socket. I have my own DataSource and
SourceStream class that does this.
The windows version works OK (it plays MPEG audio and .AU audio, which is
broadly what I want). I can have the JMF.JAR file in the classpath, and
my DataSource classes in a subdirectory of ./ (ie.
./javax/media/protocol/steve). This works OK with the Windows JMF1.1
However, when I try to use the All-Platform version, I keep getting
NoDataSource exception just before the player should start. I've checked
the paths, and if it works for one JMF version, I don't see why it
shouldn't work for the other one. According to the official
documentation, the .AU format is supported by the JAVA/Solaris/Windows
versions of JMF.
I was wondering whether anyone else has had similar trouble.
I have also tried putting the DataSource and SourceStream files in the
JMF.JAR file. Again, this works fine with the Windows release, but the
All-Platforms release still returns with NoDataStreamException.
I am using Windows NT 4.0, with the paths and classpaths setup as far as
I can gather (as the directories and JAR files are in the same places, I
just rename directories to switch between the two releases.
I didn't do the installation routing for the Windows version, so it's not
that interfering. It's just looking for the JAR files.
HELP!!!!
Thanks in advance for anyone who attempts to or CAN help me!
Steve.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]