• Post Reply Bookmark Topic Watch Topic
  • New Topic

audio conferencing java sound

 
PMP Kannan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have done audio conferencing using java sound and java sockets. but the problem is it's working very well in LAN. but if i use it in internet the voice quality is lost and noise is added. can anyone help me with this.(may be with DSP algorithm and some utilities classes for speeding up the transmission process)
the audio format i am using is
new AudioFormat
(
//Encoding
AudioFormat.Encoding.PCM_SIGNED,

//Sample rate
8000f,

//Sample size in bytes
8,

//Number of channels
1,

//Frame size
1,

//Frame rate
8000f,

//Big endian
true
);
i tried converting the above format to alaw and send it over the n/w. but it didn't work. can anyone tell me whether any other format can be used
thanks in advance
kannan
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmmm, you apparently understand the java code to do this, so I guess that this is a non-java question. I am just not sure WHERE such a question would go. So I will leave it here for a while. If no one answers it I will try moving it to "General Computing" or whereever.

Also kannan,
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.
Thanks,
Cindy
 
PMP Kannan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cindy,
thanks for the reply.
i think we dont have a section for java sound in javaranch. may be u could do something about that.
What i am doing is a collaboration project, which has video conferencing, white board, chat, slide presentation and many other features. we do have audio conferencing too but it works very well in a LAN environment and in internet too it works fine, only thing is that there is some delay and some noise along with sound.
i am sure some one can help me with jitter (to reduce delay) and noise reduction algorithms.
thanks in advance
Cheers
Kannan
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to "Other API's".
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!