Hi,
I'm trying to play an audio file using JMF. Audio is on the server and I am sending the servlet the path for the same via applet. In servlet audio streaming is done for the given file and the context path of the file is set in the applet. Then I created the player and I am trying to play the audio but I am getting the following exception:
java.io.IOException: Unable to open a URL connection
javax.media.NoPlayerException: Error instantiating class: com.sun.media.protocol.http.DataSource : java.io.IOException: Unable to open a URL connection
URL has the context path of the audio file on the server. Can anyone help me to identify where I am going wrong??
Thanks in advance.....