0

I'm trying to create an UDP voice chat by following an on-line tutorial that requires that I import javax.sound to my code. So I downloaded the javax lib from Java2S, but I can't find javax.sound in the jar file, since it goes from javax.servlet to javax.xml.

What am I doing wrong?

brunocatao
  • 11
  • 1
  • Welcome to stackoverflow. I don't think anybody is willing to watch a video and then guess what you did or did not do... please [edit] your question and provide the details here, as text, as a [mcve]. There is also probably no `.sound` class anyway, as dots are not allowed in class names, and Java classes ususally start with an uppercase letter. – Robert Oct 27 '22 at 20:43
  • Although being quite old, package javax.sound.sampled seem to be still present in Java SE 17. However, note that you will certainly need additional libraries handling MP4, vorbis, opus or other compressed formats to make a voice chat, as the standard package only handles uncompressed formats like .wav, far too big for network uses. – QuentinC Oct 27 '22 at 21:13

0 Answers0