Two Laptop Bag*
The moose likes Applets and the fly likes Playing Audio on Web Server via Applet using JMF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Playing Audio on Web Server via Applet using JMF" Watch "Playing Audio on Web Server via Applet using JMF" New topic
Author

Playing Audio on Web Server via Applet using JMF

Jean Dobbs
Greenhorn

Joined: Sep 16, 2011
Posts: 1

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.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Playing Audio on Web Server via Applet using JMF
 
Similar Threads
SDP (session description protocol) file
problem with JMF on Linux
working with JMF
Playing Audio file using JMF
Play audio using JMF