• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java lang IllegalArgumentException: No line matching interface TargetDataLine support

 
Khushwinder Chahal
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying to execute voice chat applet application on my system (let us say A).
Its working fine when i am trying to connect to some other system(let us say b) through my system(A) in my LAN network. Its working fine.

But i am getting the following err when i connect to my system by mstsc command through some other system (let us say c) and then try to connect to system B in this case it through the following err :

audio: org.jsresources.apps.chat.AudioCapture@fa3ac1
java.lang.IllegalArgumentException: No line matching interface TargetDataLine supporting format PCM_SIGNED 8000.0 Hz
, 16 bit, mono, 2 bytes/frame, little-endian is supported.
at javax.sound.sampled.AudioSystem.getLine(Unknown Source)
at javax.sound.sampled.AudioSystem.getTargetDataLine(Unknown Source)
at org.jsresources.apps.chat.AudioCapture.createLineImpl(AudioCapture.java:60)
at org.jsresources.apps.chat.AudioBase.createLine(AudioBase.java:94)
at org.jsresources.apps.chat.AudioBase.open(AudioBase.java:85)
at org.jsresources.apps.chat.ChatModel.startAudio(ChatModel.java:438)
at org.jsresources.apps.chat.ChatModel.initNetworkAudio(ChatModel.java:393)
at org.jsresources.apps.chat.ChatModel.initConnection(ChatModel.java:239)
at org.jsresources.apps.chat.ChatModel.access$1(ChatModel.java:202)
at org.jsresources.apps.chat.ChatModel$ListenThread.run(ChatModel.java:551)
Property change. AudioActive:falseConnected:false
Property change. AudioActive:falseConnected:false


Please give me any idea if anybody has.
I will be very thankful to you.
 
S koley
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this link , you may get some help in your topic .
http://javaunlimitted.blogspot.com/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic