J
Java Guy
I'm trying to hear the streaming audio from an IP web-cam using the Java
web interface provided by the camera.
Here's a Java console log that I think is indicating the problem:
-------------------
Unable to open the line: javax.sound.sampled.LineUnavailableException:
line with format PCM_SIGNED 8000.0 Hz, 16 bit,
mono, 2 bytes/frame, little-endian not supported.
------------------
When I access the camera using IE, and select the ActiveX interface, I
can hear the audio with no problem.
Installed JRE is 1.5.0_16.
This web-thread:
http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html
describes some sort of bi-directional audio application between 2
machines using java. One the respondents seems to
have the same problem:
----------------
bhavin said...
hi
i did run your voice chat program on diffrent pc
but reciver is having folling exception when i run Tx after running
sender
exception is as follow
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not
supported.
--------------
The only suggestion was to test the microphone with AudioTest.java,
which was located here:
http://javaorigin.com/resource/AudioTest.java
Which seems like a dead link, but this might be an active link:
http://www.koders.com/java/fid1E7713C1086BEE7B66606B6F11E10C56C4EE71F1.aspx?s=md5
But I'm not sure if that would help, or even how to "run" it.
Any ideas how I should go about trying to fix this issue?
web interface provided by the camera.
Here's a Java console log that I think is indicating the problem:
-------------------
Unable to open the line: javax.sound.sampled.LineUnavailableException:
line with format PCM_SIGNED 8000.0 Hz, 16 bit,
mono, 2 bytes/frame, little-endian not supported.
------------------
When I access the camera using IE, and select the ActiveX interface, I
can hear the audio with no problem.
Installed JRE is 1.5.0_16.
This web-thread:
http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html
describes some sort of bi-directional audio application between 2
machines using java. One the respondents seems to
have the same problem:
----------------
bhavin said...
hi
i did run your voice chat program on diffrent pc
but reciver is having folling exception when i run Tx after running
sender
exception is as follow
javax.sound.sampled.LineUnavailableException: line with format
PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not
supported.
--------------
The only suggestion was to test the microphone with AudioTest.java,
which was located here:
http://javaorigin.com/resource/AudioTest.java
Which seems like a dead link, but this might be an active link:
http://www.koders.com/java/fid1E7713C1086BEE7B66606B6F11E10C56C4EE71F1.aspx?s=md5
But I'm not sure if that would help, or even how to "run" it.
Any ideas how I should go about trying to fix this issue?